Searched refs:ltp (Results 1 – 5 of 5) sorted by relevance
77 xfs_dir2_leaf_tail_t *ltp; /* leaf's tail */ in xfs_dir2_block_to_leaf() local140 ltp = xfs_dir2_leaf_tail_p(mp, leaf); in xfs_dir2_block_to_leaf()141 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()142 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_block_to_leaf()182 xfs_dir2_leaf_tail_t *ltp; /* leaf tail pointer */ in xfs_dir2_leaf_addname() local212 ltp = xfs_dir2_leaf_tail_p(mp, leaf); in xfs_dir2_leaf_addname()213 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_addname()227 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()238 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()359 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()[all …]
106 xfs_dir2_leaf_bests_p(xfs_dir2_leaf_tail_t *ltp) in xfs_dir2_leaf_bests_p() argument108 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
895 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local911 ltp = xfs_dir2_leaf_tail_p(mp, leaf); in xfs_dir2_leaf_to_block()919 bestsp = xfs_dir2_leaf_bests_p(ltp); in xfs_dir2_leaf_to_block()920 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()924 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
119 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local147 ltp = xfs_dir2_leaf_tail_p(mp, leaf); in xfs_dir2_leaf_to_node()153 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize); in xfs_dir2_leaf_to_node()154 free->hdr.nvalid = ltp->bestcount; in xfs_dir2_leaf_to_node()159 for (i = n = 0, from = xfs_dir2_leaf_bests_p(ltp), to = free->bests; in xfs_dir2_leaf_to_node()160 i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
119 2) Modify file portion of ltp so it can run against a mounted network