Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c525 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()
[all …]
Dxfs_dir2_node.c386 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_add() local
445 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
448 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add()
449 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, in xfs_dir2_leafn_add()
528 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local
565 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname()
566 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname()
567 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname()
571 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname()
577 be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname()
[all …]
Dxfs_dir2_data.c59 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local
83 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check()
84 endp = (char *)lep; in __xfs_dir3_data_check()
183 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check()
184 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check()
199 if (lep[i].address == in __xfs_dir3_data_check()
204 be32_to_cpu(lep[i].hashval) >= in __xfs_dir3_data_check()
205 be32_to_cpu(lep[i - 1].hashval)); in __xfs_dir3_data_check()
Dxfs_dir2_block.c915 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local
976 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block()
1011 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block()
1015 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()