Lines Matching refs:lep

523 		xfs_dir2_leaf_entry_t	*lep;	/* leaf entry table pointer */  in xfs_dir3_leaf_find_entry()  local
530 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
532 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
533 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
540 return lep; in xfs_dir3_leaf_find_entry()
618 struct xfs_dir2_leaf_entry *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
664 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
665 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
666 index++, lep++) { in xfs_dir2_leaf_addname()
667 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
669 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname()
885 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
891 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leaf_addname()
892 lep->address = cpu_to_be32( in xfs_dir2_leaf_addname()
1159 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup() local
1179 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_lookup()
1186 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup()
1219 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup_int() local
1248 for (lep = &leafhdr->ents[index]; in xfs_dir2_leaf_lookup_int()
1250 be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1251 lep++, index++) { in xfs_dir2_leaf_lookup_int()
1255 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_lookup_int()
1261 be32_to_cpu(lep->address)); in xfs_dir2_leaf_lookup_int()
1283 be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup_int()
1351 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_removename() local
1377 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_removename()
1378 db = xfs_dir2_dataptr_to_db(geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_removename()
1380 xfs_dir2_dataptr_to_off(geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_removename()
1403 lep->address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); in xfs_dir2_leaf_removename()
1493 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_replace() local
1510 lep = &leafhdr.ents[index]; in xfs_dir2_leaf_replace()
1516 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_replace()
1544 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_search_hash() local
1554 for (lep = leafhdr.ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1558 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1569 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()