Lines Matching refs:leaf

67 	struct xfs_dir2_leaf	*leaf = bp->b_addr;  in xfs_dir3_leafn_check()  local
70 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leafn_check()
79 return xfs_dir3_leaf_check_int(dp->i_mount, dp, &leafhdr, leaf); in xfs_dir3_leafn_check()
300 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leaf_to_node() local
328 leaf = lbp->b_addr; in xfs_dir2_leaf_to_node()
329 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_leaf_to_node()
361 if (leaf->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAF1_MAGIC)) in xfs_dir2_leaf_to_node()
362 leaf->hdr.info.magic = cpu_to_be16(XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_leaf_to_node()
364 leaf->hdr.info.magic = cpu_to_be16(XFS_DIR3_LEAFN_MAGIC); in xfs_dir2_leaf_to_node()
385 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leafn_add() local
396 leaf = bp->b_addr; in xfs_dir2_leafn_add()
397 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_add()
398 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_add()
452 dp->d_ops->leaf_hdr_to_disk(leaf, &leafhdr); in xfs_dir2_leafn_add()
489 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir2_leafn_lasthash() local
493 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_lasthash()
503 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lasthash()
526 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leafn_lookup_for_addname() local
539 leaf = bp->b_addr; in xfs_dir2_leafn_lookup_for_addname()
540 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_lookup_for_addname()
541 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lookup_for_addname()
679 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leafn_lookup_for_entry() local
691 leaf = bp->b_addr; in xfs_dir2_leafn_lookup_for_entry()
692 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_lookup_for_entry()
693 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_lookup_for_entry()
1165 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leafn_remove() local
1180 leaf = bp->b_addr; in xfs_dir2_leafn_remove()
1181 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_remove()
1182 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_remove()
1202 dp->d_ops->leaf_hdr_to_disk(leaf, &leafhdr); in xfs_dir2_leafn_remove()
1390 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_leafn_toosmall() local
1402 leaf = blk->bp->b_addr; in xfs_dir2_leafn_toosmall()
1403 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir2_leafn_toosmall()
1404 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_toosmall()
1465 leaf = bp->b_addr; in xfs_dir2_leafn_toosmall()
1466 dp->d_ops->leaf_hdr_from_disk(&hdr2, leaf); in xfs_dir2_leafn_toosmall()
1467 ents = dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_leafn_toosmall()
2139 xfs_dir2_leaf_t *leaf; /* leaf structure */ in xfs_dir2_node_replace() local
2178 leaf = blk->bp->b_addr; in xfs_dir2_node_replace()
2179 ents = args->dp->d_ops->leaf_ents_p(leaf); in xfs_dir2_node_replace()