Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c85 xfs_dir2_leaf_tail_t *ltp; in xfs_dir3_leaf_check_int() local
104 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xfs_dir3_leaf_check_int()
117 (char *)&ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
284 struct xfs_dir2_leaf_tail *ltp; in xfs_dir3_leaf_init() local
286 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf); in xfs_dir3_leaf_init()
287 ltp->bestcount = 0; in xfs_dir3_leaf_init()
344 xfs_dir2_leaf_tail_t *ltp; /* leaf's tail */ in xfs_dir2_block_to_leaf() local
422 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_block_to_leaf()
423 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
424 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()
[all …]
Dxfs_da_format.h479 xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) in xfs_dir2_leaf_bests_p() argument
481 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c908 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local
928 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_leaf_to_block()
942 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()
943 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()
947 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
Dxfs_dir2_node.c346 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local
374 ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); in xfs_dir2_leaf_to_node()
375 if (be32_to_cpu(ltp->bestcount) > in xfs_dir2_leaf_to_node()
383 from = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_node()
385 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
395 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
/fs/xfs/scrub/
Ddir.c479 struct xfs_dir2_leaf_tail *ltp; in xchk_directory_leaf1_bestfree() local
503 ltp = xfs_dir2_leaf_tail_p(geo, leaf); in xchk_directory_leaf1_bestfree()
504 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()
505 bestp = xfs_dir2_leaf_bests_p(ltp); in xchk_directory_leaf1_bestfree()