Home
last modified time | relevance | path

Searched refs:lep (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_leaf.c201 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
244 for (use_block = -1, lep = &leaf->ents[index]; in xfs_dir2_leaf_addname()
245 …index < INT_GET(leaf->hdr.count, ARCH_CONVERT) && INT_GET(lep->hashval, ARCH_CONVERT) == args->has… in xfs_dir2_leaf_addname()
246 index++, lep++) { in xfs_dir2_leaf_addname()
247 if (INT_GET(lep->address, ARCH_CONVERT) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
249 i = XFS_DIR2_DATAPTR_TO_DB(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leaf_addname()
464 memmove(lep + 1, lep, in xfs_dir2_leaf_addname()
465 (INT_GET(leaf->hdr.count, ARCH_CONVERT) - index) * sizeof(*lep)); in xfs_dir2_leaf_addname()
525 (index - lowstale - 1) * sizeof(*lep)); in xfs_dir2_leaf_addname()
526 lep = &leaf->ents[index - 1]; in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c215 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_add() local
274 lep = &leaf->ents[index]; in xfs_dir2_leafn_add()
276 memmove(lep + 1, lep, in xfs_dir2_leafn_add()
277 (INT_GET(leaf->hdr.count, ARCH_CONVERT) - index) * sizeof(*lep)); in xfs_dir2_leafn_add()
327 (index - lowstale - 1) * sizeof(*lep)); in xfs_dir2_leafn_add()
328 lep = &leaf->ents[index - 1]; in xfs_dir2_leafn_add()
343 (highstale - index) * sizeof(*lep)); in xfs_dir2_leafn_add()
344 lep = &leaf->ents[index]; in xfs_dir2_leafn_add()
353 INT_SET(lep->hashval, ARCH_CONVERT, args->hashval); in xfs_dir2_leafn_add()
354 INT_SET(lep->address, ARCH_CONVERT, XFS_DIR2_DB_OFF_TO_DATAPTR(mp, args->blkno, args->index)); in xfs_dir2_leafn_add()
[all …]
Dxfs_dir2_data.c88 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in xfs_dir2_data_check() local
101 lep = XFS_DIR2_BLOCK_LEAF_P_ARCH(btp, ARCH_CONVERT); in xfs_dir2_data_check()
102 endp = (char *)lep; in xfs_dir2_data_check()
167 if (INT_GET(lep[i].address, ARCH_CONVERT) == addr && in xfs_dir2_data_check()
168 INT_GET(lep[i].hashval, ARCH_CONVERT) == hash) in xfs_dir2_data_check()
181 if (INT_GET(lep[i].address, ARCH_CONVERT) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_data_check()
184 ASSERT(INT_GET(lep[i].hashval, ARCH_CONVERT) >= INT_GET(lep[i - 1].hashval, ARCH_CONVERT)); in xfs_dir2_data_check()
Dxfs_dir2_block.c914 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
965 …(uint)sizeof(*lep) * (INT_GET(leaf->hdr.count, ARCH_CONVERT) - INT_GET(leaf->hdr.stale, ARCH_CONVE… in xfs_dir2_leaf_to_block()
999 lep = XFS_DIR2_BLOCK_LEAF_P_ARCH(btp, ARCH_CONVERT); in xfs_dir2_leaf_to_block()
1003 lep[to++] = leaf->ents[from]; in xfs_dir2_leaf_to_block()