Home
last modified time | relevance | path

Searched refs:height (Results 1 – 17 of 17) sorted by relevance

/fs/gfs2/
Dbmap.c234 struct metapath *mp, unsigned int height) in find_metapath() argument
238 for (i = height; i--;) in find_metapath()
255 static inline __be64 *metaptr1(unsigned int height, const struct metapath *mp) in metaptr1() argument
257 struct buffer_head *bh = mp->mp_bh[height]; in metaptr1()
258 if (height == 0) in metaptr1()
273 static inline __be64 *metapointer(unsigned int height, const struct metapath *mp) in metapointer() argument
275 __be64 *p = metaptr1(height, mp); in metapointer()
276 return p + mp->mp_list[height]; in metapointer()
505 const unsigned int height, in gfs2_bmap_alloc() argument
516 const unsigned end_of_metadata = height - 1; in gfs2_bmap_alloc()
[all …]
Dglops.c336 u16 height, depth; in gfs2_dinode_in() local
372 height = be16_to_cpu(str->di_height); in gfs2_dinode_in()
373 if (unlikely(height > GFS2_MAX_META_HEIGHT)) in gfs2_dinode_in()
375 ip->i_height = (u8)height; in gfs2_dinode_in()
Dmeta_io.h67 extern int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num,
Dmeta_io.c405 int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num, in gfs2_meta_indirect_buffer() argument
412 u32 mtype = height ? GFS2_METATYPE_IN : GFS2_METATYPE_DI; in gfs2_meta_indirect_buffer()
/fs/hfs/
Dbfind.c101 int height, res; in hfs_brec_find() local
110 height = tree->depth; in hfs_brec_find()
120 if (bnode->height != height) in hfs_brec_find()
122 if (bnode->type != (--height ? HFS_NODE_INDEX : HFS_NODE_LEAF)) in hfs_brec_find()
127 if (!height) in hfs_brec_find()
142 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
Dbnode.c146 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump()
347 node->height = desc->height; in hfs_bnode_find()
353 if (node->height != 0) in hfs_bnode_find()
357 if (node->height != 1) in hfs_bnode_find()
361 if (node->height <= 1 || node->height > tree->depth) in hfs_bnode_find()
Dbrec.c251 new_node->height = node->height; in hfs_bnode_split()
320 node_desc.height = new_node->height; in hfs_bnode_split()
489 new_node->height = ++tree->depth; in hfs_btree_inc_height()
494 node_desc.height = new_node->height; in hfs_btree_inc_height()
Dbtree.h56 u8 height; member
130 u8 height; /* (F) The level of this node (leaves=1) */ member
Dbtree.c212 desc.height = 0; in hfs_bmap_new_bmap()
/fs/hfsplus/
Dbfind.c170 int height, res; in hfs_brec_find() local
179 height = tree->depth; in hfs_brec_find()
189 if (bnode->height != height) in hfs_brec_find()
191 if (bnode->type != (--height ? HFS_NODE_INDEX : HFS_NODE_LEAF)) in hfs_brec_find()
196 if (!height) in hfs_brec_find()
211 height, bnode->height, bnode->type, nidx, parent); in hfs_brec_find()
Dbrec.c254 new_node->height = node->height; in hfs_bnode_split()
323 node_desc.height = new_node->height; in hfs_bnode_split()
492 new_node->height = ++tree->depth; in hfs_btree_inc_height()
497 node_desc.height = new_node->height; in hfs_btree_inc_height()
Dbnode.c310 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump()
515 node->height = desc->height; in hfs_bnode_find()
521 if (node->height != 0) in hfs_bnode_find()
525 if (node->height != 1) in hfs_bnode_find()
529 if (node->height <= 1 || node->height > tree->depth) in hfs_bnode_find()
Dhfsplus_raw.h155 u8 height; member
Dbtree.c334 desc.height = 0; in hfs_bmap_new_bmap()
Dhfsplus_fs.h114 u8 height; member
/fs/jfs/
Djfs_dmap.h151 __le32 height; /* 4: height of the tree */ member
179 __le32 height; /* 4: height of tree */ member
197 #define dmt_height t1.height
Djfs_dmap.c3860 tp->height = cpu_to_le32(4); in dbInitDmapTree()
3977 dcp->height = cpu_to_le32(5); in dbInitDmapCtl()