Lines Matching refs:lep

532 		xfs_dir2_leaf_entry_t	*lep;	/* leaf entry table pointer */  in xfs_dir3_leaf_find_entry()  local
539 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
541 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
542 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
549 return lep; in xfs_dir3_leaf_find_entry()
627 struct xfs_dir2_leaf_entry *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
673 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
674 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
675 index++, lep++) { in xfs_dir2_leaf_addname()
676 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
678 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname()
894 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
900 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leaf_addname()
901 lep->address = cpu_to_be32( in xfs_dir2_leaf_addname()
1168 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup() local
1188 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_lookup()
1195 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup()
1228 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup_int() local
1257 for (lep = &leafhdr->ents[index]; in xfs_dir2_leaf_lookup_int()
1259 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1260 lep++, index++) { in xfs_dir2_leaf_lookup_int()
1264 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_lookup_int()
1270 be32_to_cpu(lep->address)); in xfs_dir2_leaf_lookup_int()
1292 be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup_int()
1360 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_removename() local
1386 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_removename()
1387 db = xfs_dir2_dataptr_to_db(geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_removename()
1389 xfs_dir2_dataptr_to_off(geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_removename()
1412 lep->address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); in xfs_dir2_leaf_removename()
1502 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_replace() local
1519 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_replace()
1525 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_replace()
1553 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_search_hash() local
1563 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1567 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1578 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()