Searched refs:ltp (Results 1 – 5 of 5) sorted by relevance
85 xfs_dir2_leaf_tail_t *ltp; in xfs_dir3_leaf_check_int() local104 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() local286 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() local422 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 …]
479 xfs_dir2_leaf_bests_p(struct xfs_dir2_leaf_tail *ltp) in xfs_dir2_leaf_bests_p() argument481 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
908 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local928 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()
346 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local374 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()
479 struct xfs_dir2_leaf_tail *ltp; in xchk_directory_leaf1_bestfree() local503 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()