Home
last modified time | relevance | path

Searched refs:bestcount (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c331 ltp->bestcount = 0; in xfs_dir3_leaf_init()
466 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
670 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
681 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
804 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
807 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
808 be32_add_cpu(&ltp->bestcount, 1); in xfs_dir2_leaf_addname()
811 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1446 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
1459 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
[all …]
Dxfs_da_format.h436 __be32 bestcount; member
460 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c969 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()
973 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
Dxfs_dir2_node.c443 if (be32_to_cpu(ltp->bestcount) > in xfs_dir2_leaf_to_node()
454 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++) { in xfs_dir2_leaf_to_node()
465 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Ddir.c498 __u32 bestcount; in xchk_directory_leaf1_bestfree() local
512 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()
526 if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_d.di_size)) { in xchk_directory_leaf1_bestfree()
559 for (i = 0; i < bestcount; i++, bestp++) { in xchk_directory_leaf1_bestfree()