• Home
  • Raw
  • Download

Lines Matching refs:lep

525 		xfs_dir2_leaf_entry_t	*lep;	/* leaf entry table pointer */  in xfs_dir3_leaf_find_entry()  local
532 lep = &ents[index]; in xfs_dir3_leaf_find_entry()
534 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry()
535 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry()
542 return lep; in xfs_dir3_leaf_find_entry()
625 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local
669 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
670 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname()
671 index++, lep++) { in xfs_dir2_leaf_addname()
672 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname()
674 i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_addname()
887 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leaf_addname()
893 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leaf_addname()
894 lep->address = cpu_to_be32( in xfs_dir2_leaf_addname()
1164 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup() local
1184 lep = &ents[index]; in xfs_dir2_leaf_lookup()
1191 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup()
1223 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_lookup_int() local
1255 for (lep = &ents[index]; in xfs_dir2_leaf_lookup_int()
1256 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_lookup_int()
1257 lep++, index++) { in xfs_dir2_leaf_lookup_int()
1261 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_lookup_int()
1267 be32_to_cpu(lep->address)); in xfs_dir2_leaf_lookup_int()
1289 be32_to_cpu(lep->address))); in xfs_dir2_leaf_lookup_int()
1356 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_removename() local
1383 lep = &ents[index]; in xfs_dir2_leaf_removename()
1384 db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); in xfs_dir2_leaf_removename()
1386 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_removename()
1405 lep->address = cpu_to_be32(XFS_DIR2_NULL_DATAPTR); in xfs_dir2_leaf_removename()
1496 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_replace() local
1514 lep = &ents[index]; in xfs_dir2_leaf_replace()
1520 xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); in xfs_dir2_leaf_replace()
1549 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_search_hash() local
1562 for (lep = ents, low = 0, high = leafhdr.count - 1, in xfs_dir2_leaf_search_hash()
1566 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_search_hash()
1577 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) { in xfs_dir2_leaf_search_hash()