Home
last modified time | relevance | path

Searched refs:ltp (Results 1 – 5 of 5) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c146 xfs_dir2_leaf_tail_t *ltp; in xfs_dir3_leaf_check_int() local
152 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int()
164 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
181 be32_to_cpu(ltp->bestcount)) in xfs_dir3_leaf_check_int()
337 struct xfs_dir2_leaf_tail *ltp; in xfs_dir3_leaf_init() local
339 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf); in xfs_dir3_leaf_init()
340 ltp->bestcount = 0; in xfs_dir3_leaf_init()
397 xfs_dir2_leaf_tail_t *ltp; /* leaf's tail */ in xfs_dir2_block_to_leaf() local
474 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_block_to_leaf()
475 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
[all …]
Dxfs_da_format.h459 xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) in xfs_dir2_leaf_bests_p() argument
461 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c936 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local
954 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_leaf_to_block()
968 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
969 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()
973 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
Dxfs_dir2_node.c416 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local
442 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_leaf_to_node()
443 if (be32_to_cpu(ltp->bestcount) > in xfs_dir2_leaf_to_node()
453 from = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_node()
454 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++) { in xfs_dir2_leaf_to_node()
465 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
/fs/xfs/scrub/
Ddir.c456 struct xfs_dir2_leaf_tail *ltp; in xchk_directory_leaf1_bestfree() local
478 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xchk_directory_leaf1_bestfree()
479 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()
480 bestp = xfs_dir2_leaf_bests_p(ltp); in xchk_directory_leaf1_bestfree()