Searched refs:ents (Results 1 – 6 of 6) sorted by relevance
118 memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()221 for (use_block = -1, lep = &leaf->ents[index]; in xfs_dir2_leaf_addname()254 (leaf->hdr.stale ? 0 : (uint)sizeof(leaf->ents[0])) + in xfs_dir2_leaf_addname()266 if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] < in xfs_dir2_leaf_addname()274 else if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu( in xfs_dir2_leaf_addname()469 be32_to_cpu(leaf->ents[lowstale].address) != in xfs_dir2_leaf_addname()480 be32_to_cpu(leaf->ents[highstale].address) != in xfs_dir2_leaf_addname()494 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) == in xfs_dir2_leaf_addname()501 memmove(&leaf->ents[lowstale], in xfs_dir2_leaf_addname()502 &leaf->ents[lowstale + 1], in xfs_dir2_leaf_addname()[all …]
225 ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval); in xfs_dir2_leafn_add()227 be32_to_cpu(leaf->ents[index].hashval) >= args->hashval); in xfs_dir2_leafn_add()251 lep = &leaf->ents[index]; in xfs_dir2_leafn_add()273 be32_to_cpu(leaf->ents[lowstale].address) != in xfs_dir2_leafn_add()284 be32_to_cpu(leaf->ents[highstale].address) != in xfs_dir2_leafn_add()298 ASSERT(be32_to_cpu(leaf->ents[lowstale].address) == in xfs_dir2_leafn_add()302 memmove(&leaf->ents[lowstale], in xfs_dir2_leafn_add()303 &leaf->ents[lowstale + 1], in xfs_dir2_leafn_add()305 lep = &leaf->ents[index - 1]; in xfs_dir2_leafn_add()314 ASSERT(be32_to_cpu(leaf->ents[highstale].address) == in xfs_dir2_leafn_add()[all …]
75 xfs_dir2_leaf_entry_t ents[1]; /* entries */ member
982 if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_to_block()984 lep[to++] = leaf->ents[from]; in xfs_dir2_leaf_to_block()
334 size = (int)((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] - in xfs_da_root_split()1717 dead_hash = be32_to_cpu(dead_leaf2->ents[be16_to_cpu(dead_leaf2->hdr.count) - 1].hashval); in xfs_da_swap_lastblock()
2033 const struct pid_entry *ents, in proc_pident_lookup() argument2049 last = &ents[nents - 1]; in proc_pident_lookup()2050 for (p = ents; p <= last; p++) { in proc_pident_lookup()2075 const struct pid_entry *ents, unsigned int nents) in proc_pident_readdir() argument2112 p = ents + i; in proc_pident_readdir()2113 last = &ents[nents - 1]; in proc_pident_readdir()