Home
last modified time | relevance | path

Searched refs:ents (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c48 to->ents = from3->__ents; in xfs_dir2_leaf_hdr_from_disk()
58 to->ents = from->__ents; in xfs_dir2_leaf_hdr_from_disk()
164 (char *)&hdr->ents[hdr->count] > (char *)xfs_dir2_leaf_bests_p(ltp)) in xfs_dir3_leaf_check_int()
173 if (be32_to_cpu(hdr->ents[i].hashval) > in xfs_dir3_leaf_check_int()
174 be32_to_cpu(hdr->ents[i + 1].hashval)) in xfs_dir3_leaf_check_int()
177 if (hdr->ents[i].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) in xfs_dir3_leaf_check_int()
180 be32_to_cpu(hdr->ents[i].address)) >= in xfs_dir3_leaf_check_int()
445 memcpy(leafhdr.ents, blp, in xfs_dir2_block_to_leaf()
492 struct xfs_dir2_leaf_entry *ents, in xfs_dir3_leaf_find_stale() argument
501 if (ents[*lowstale].address == in xfs_dir3_leaf_find_stale()
[all …]
Dxfs_dir2_node.c502 struct xfs_dir2_leaf_entry *ents; in xfs_dir2_leafn_add() local
512 ents = leafhdr.ents; in xfs_dir2_leafn_add()
536 ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()
538 be32_to_cpu(ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()
548 xfs_dir3_leaf_compact_x1(&leafhdr, ents, &index, &lowstale, in xfs_dir2_leafn_add()
561 lep = xfs_dir3_leaf_find_entry(&leafhdr, ents, index, compact, lowstale, in xfs_dir2_leafn_add()
617 return be32_to_cpu(leafhdr.ents[leafhdr.count - 1].hashval); in xfs_dir2_leaf_lasthash()
676 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_addname()
824 for (lep = &leafhdr.ents[index]; in xfs_dir2_leafn_lookup_for_entry()
1042 ents1 = hdr1.ents; in xfs_dir2_leafn_order()
[all …]
Dxfs_dir2_priv.h26 struct xfs_dir2_leaf_entry *ents; member
107 struct xfs_dir2_leaf_entry *ents, int *indexp,
125 struct xfs_dir2_leaf_entry *ents, int index, int compact,
Dxfs_da_btree.c707 size = (int)((char *)&leafhdr.ents[leafhdr.count] - in xfs_da3_root_split()
2329 struct xfs_dir2_leaf_entry *ents; in xfs_da3_swap_lastblock() local
2334 ents = leafhdr.ents; in xfs_da3_swap_lastblock()
2336 dead_hash = be32_to_cpu(ents[leafhdr.count - 1].hashval); in xfs_da3_swap_lastblock()
Dxfs_dir2_block.c1033 if (leafhdr.ents[from].address == in xfs_dir2_leaf_to_block()
1036 lep[to++] = leafhdr.ents[from]; in xfs_dir2_leaf_to_block()
/fs/xfs/scrub/
Ddir.c228 ent = hdr.ents + blk->index; in xchk_dir_rec()
557 if ((char *)&leafhdr.ents[leafhdr.count] > (char *)bestp) { in xchk_directory_leaf1_bestfree()
564 hash = be32_to_cpu(leafhdr.ents[i].hashval); in xchk_directory_leaf1_bestfree()
568 if (leafhdr.ents[i].address == in xchk_directory_leaf1_bestfree()
/fs/proc/
Dbase.c2700 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument
2714 for (p = ents + (ctx->pos - 2); p < ents + nents; p++) { in proc_pident_readdir()