Searched refs:ltp (Results 1 – 5 of 5) sorted by relevance
146 xfs_dir2_leaf_tail_t *ltp; in xfs_dir3_leaf_check_int() local152 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() local339 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() local474 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 …]
459 xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) in xfs_dir2_leaf_bests_p() argument461 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
936 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local954 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()
416 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local442 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()
456 struct xfs_dir2_leaf_tail *ltp; in xchk_directory_leaf1_bestfree() local478 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()