Home
last modified time | relevance | path

Searched refs:lep (Results 1 – 4 of 4) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c523 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()
[all …]
Dxfs_dir2_node.c501 struct xfs_dir2_leaf_entry *lep; in xfs_dir2_leafn_add() local
561 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
564 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
565 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, in xfs_dir2_leafn_add()
641 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local
676 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname()
677 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
678 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname()
682 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
688 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
[all …]
Dxfs_dir2_data.c112 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local
133 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
240 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check()
241 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
257 if (lep[i].address == in __xfs_dir3_data_check()
260 if (i > 0 && be32_to_cpu(lep[i].hashval) < in __xfs_dir3_data_check()
261 be32_to_cpu(lep[i - 1].hashval)) in __xfs_dir3_data_check()
Dxfs_dir2_block.c935 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
994 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1031 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()