Lines Matching refs:lep
215 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()
434 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_int() local
480 for (lep = &leaf->ents[index]; in xfs_dir2_leafn_lookup_int()
481 …index < INT_GET(leaf->hdr.count, ARCH_CONVERT) && INT_GET(lep->hashval, ARCH_CONVERT) == args->has… in xfs_dir2_leafn_lookup_int()
482 lep++, index++) { in xfs_dir2_leafn_lookup_int()
486 if (INT_GET(lep->address, ARCH_CONVERT) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_int()
491 newdb = XFS_DIR2_DATAPTR_TO_DB(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leafn_lookup_int()
597 XFS_DIR2_DATAPTR_TO_OFF(mp, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_leafn_lookup_int()
879 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_remove() local
896 lep = &leaf->ents[index]; in xfs_dir2_leafn_remove()
900 db = XFS_DIR2_DATAPTR_TO_DB(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leafn_remove()
902 off = XFS_DIR2_DATAPTR_TO_OFF(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leafn_remove()
910 INT_SET(lep->address, ARCH_CONVERT, XFS_DIR2_NULL_DATAPTR); in xfs_dir2_leafn_remove()
1887 xfs_dir2_leaf_entry_t *lep; /* leaf entry being changed */ in xfs_dir2_node_replace() local
1919 lep = &leaf->ents[blk->index]; in xfs_dir2_node_replace()
1928 XFS_DIR2_DATAPTR_TO_OFF(state->mp, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_node_replace()