Lines Matching refs:lep
201 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()
544 (highstale - index) * sizeof(*lep)); in xfs_dir2_leaf_addname()
545 lep = &leaf->ents[index]; in xfs_dir2_leaf_addname()
554 INT_SET(lep->hashval, ARCH_CONVERT, args->hashval); in xfs_dir2_leaf_addname()
555 …INT_SET(lep->address, ARCH_CONVERT, XFS_DIR2_DB_OFF_TO_DATAPTR(mp, use_block, INT_GET(*tagp, ARCH_… in xfs_dir2_leaf_addname()
1314 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup() local
1331 lep = &leaf->ents[index]; in xfs_dir2_leaf_lookup()
1337 XFS_DIR2_DATAPTR_TO_OFF(dp->i_mount, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_leaf_lookup()
1367 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup_int() local
1395 for (lep = &leaf->ents[index], dbp = NULL, curdb = -1; in xfs_dir2_leaf_lookup_int()
1396 …index < INT_GET(leaf->hdr.count, ARCH_CONVERT) && INT_GET(lep->hashval, ARCH_CONVERT) == args->has… in xfs_dir2_leaf_lookup_int()
1397 lep++, index++) { in xfs_dir2_leaf_lookup_int()
1401 if (INT_GET(lep->address, ARCH_CONVERT) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_lookup_int()
1406 newdb = XFS_DIR2_DATAPTR_TO_DB(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leaf_lookup_int()
1429 XFS_DIR2_DATAPTR_TO_OFF(mp, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_leaf_lookup_int()
1469 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_removename() local
1493 lep = &leaf->ents[index]; in xfs_dir2_leaf_removename()
1494 db = XFS_DIR2_DATAPTR_TO_DB(mp, INT_GET(lep->address, ARCH_CONVERT)); in xfs_dir2_leaf_removename()
1496 ((char *)data + XFS_DIR2_DATAPTR_TO_OFF(mp, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_leaf_removename()
1513 INT_SET(lep->address, ARCH_CONVERT, XFS_DIR2_NULL_DATAPTR); in xfs_dir2_leaf_removename()
1606 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_replace() local
1621 lep = &leaf->ents[index]; in xfs_dir2_leaf_replace()
1627 XFS_DIR2_DATAPTR_TO_OFF(dp->i_mount, INT_GET(lep->address, ARCH_CONVERT))); in xfs_dir2_leaf_replace()
1656 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_search_hash() local
1668 for (lep = leaf->ents, low = 0, high = INT_GET(leaf->hdr.count, ARCH_CONVERT) - 1, in xfs_dir2_leaf_search_hash()
1672 if ((hash = INT_GET(lep[mid].hashval, ARCH_CONVERT)) == hashwant) in xfs_dir2_leaf_search_hash()
1683 while (mid > 0 && INT_GET(lep[mid - 1].hashval, ARCH_CONVERT) == hashwant) { in xfs_dir2_leaf_search_hash()