Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/libxfs/ !
Dxfs_dir2_leaf.c181 be32_to_cpu(ltp->bestcount)) in xfs_dir3_leaf_check_int()
340 ltp->bestcount = 0; in xfs_dir3_leaf_init()
475 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
679 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
690 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
813 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
816 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
817 be32_add_cpu(&ltp->bestcount, 1); in xfs_dir2_leaf_addname()
820 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1455 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
[all …]
Dxfs_da_format.h437 __be32 bestcount; member
461 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()
/linux-6.1.9/fs/xfs/scrub/ !
Ddir.c513 __u32 bestcount; in xchk_directory_leaf1_bestfree() local
527 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()
545 if (bestcount != last_data_db + 1) { in xchk_directory_leaf1_bestfree()
578 for (i = 0; i < bestcount; i++, bestp++) { in xchk_directory_leaf1_bestfree()