#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/log2.h>
#include "hfsplus_fs.h"
#include "hfsplus_raw.h"
#define CLUMP_ENTRIES …
static short clumptbl[CLUMP_ENTRIES * 3] = …;
u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size,
u64 sectors, int file_id)
{ … }
struct hfs_btree *hfs_btree_open(struct super_block *sb, u32 id)
{ … }
void hfs_btree_close(struct hfs_btree *tree)
{ … }
int hfs_btree_write(struct hfs_btree *tree)
{ … }
static struct hfs_bnode *hfs_bmap_new_bmap(struct hfs_bnode *prev, u32 idx)
{ … }
int hfs_bmap_reserve(struct hfs_btree *tree, int rsvd_nodes)
{ … }
struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree)
{ … }
void hfs_bmap_free(struct hfs_bnode *node)
{ … }