Searched refs:lep (Results 1 – 4 of 4) sorted by relevance
/fs/xfs/ |
D | xfs_dir2_leaf.c | 560 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir3_leaf_find_entry() local 567 lep = &ents[index]; in xfs_dir3_leaf_find_entry() 569 memmove(lep + 1, lep, in xfs_dir3_leaf_find_entry() 570 (leafhdr->count - index) * sizeof(*lep)); in xfs_dir3_leaf_find_entry() 577 return lep; in xfs_dir3_leaf_find_entry() 660 xfs_dir2_leaf_entry_t *lep; /* leaf entry table pointer */ in xfs_dir2_leaf_addname() local 706 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname() 707 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leaf_addname() 708 index++, lep++) { in xfs_dir2_leaf_addname() 709 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_addname() [all …]
|
D | xfs_dir2_node.c | 428 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_add() local 491 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add() 494 lep->hashval = cpu_to_be32(args->hashval); in xfs_dir2_leafn_add() 495 lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(mp, in xfs_dir2_leafn_add() 572 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leafn_lookup_for_addname() local 609 for (lep = &ents[index]; in xfs_dir2_leafn_lookup_for_addname() 610 index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; in xfs_dir2_leafn_lookup_for_addname() 611 lep++, index++) { in xfs_dir2_leafn_lookup_for_addname() 615 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leafn_lookup_for_addname() 620 newdb = xfs_dir2_dataptr_to_db(mp, be32_to_cpu(lep->address)); in xfs_dir2_leafn_lookup_for_addname() [all …]
|
D | xfs_dir2_data.c | 63 xfs_dir2_leaf_entry_t *lep=NULL; /* block leaf entries */ in __xfs_dir3_data_check() local 78 lep = xfs_dir2_block_leaf_p(btp); in __xfs_dir3_data_check() 79 endp = (char *)lep; in __xfs_dir3_data_check() 165 if (be32_to_cpu(lep[i].address) == addr && in __xfs_dir3_data_check() 166 be32_to_cpu(lep[i].hashval) == hash) in __xfs_dir3_data_check() 180 if (lep[i].address == in __xfs_dir3_data_check() 185 be32_to_cpu(lep[i].hashval) >= in __xfs_dir3_data_check() 186 be32_to_cpu(lep[i - 1].hashval)); in __xfs_dir3_data_check()
|
D | xfs_dir2_block.c | 1012 xfs_dir2_leaf_entry_t *lep; /* leaf entry */ in xfs_dir2_leaf_to_block() local 1073 (uint)sizeof(*lep) * (leafhdr.count - leafhdr.stale); in xfs_dir2_leaf_to_block() 1108 lep = xfs_dir2_block_leaf_p(btp); in xfs_dir2_leaf_to_block() 1112 lep[to++] = ents[from]; in xfs_dir2_leaf_to_block()
|