Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_dir2_leaf.c77 xfs_dir2_leaf_tail_t *ltp; /* leaf's tail */ in xfs_dir2_block_to_leaf() local
140 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() local
212 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 …]
Dxfs_dir2_leaf.h106 xfs_dir2_leaf_bests_p(xfs_dir2_leaf_tail_t *ltp) in xfs_dir2_leaf_bests_p() argument
108 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c895 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_block() local
911 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()
Dxfs_dir2_node.c119 xfs_dir2_leaf_tail_t *ltp; /* leaf tail structure */ in xfs_dir2_leaf_to_node() local
147 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()
/fs/cifs/
DTODO119 2) Modify file portion of ltp so it can run against a mounted network