Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/libxfs/
Dxfs_dir2_leaf.c287 ltp->bestcount = 0; in xfs_dir3_leaf_init()
423 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf()
627 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname()
638 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname()
761 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
764 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname()
765 be32_add_cpu(&ltp->bestcount, 1); in xfs_dir2_leaf_addname()
768 be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname()
1404 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename()
1417 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename()
[all …]
Dxfs_da_format.h457 __be32 bestcount; member
481 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
Dxfs_dir2_block.c943 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block()
947 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
Dxfs_dir2_node.c375 if (be32_to_cpu(ltp->bestcount) > in xfs_dir2_leaf_to_node()
385 for (i = n = 0; i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
395 freehdr.nvalid = be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_to_node()
/Linux-v5.4/fs/xfs/scrub/
Ddir.c489 __u32 bestcount; in xchk_directory_leaf1_bestfree() local
504 bestcount = be32_to_cpu(ltp->bestcount); in xchk_directory_leaf1_bestfree()
518 if (bestcount != xfs_dir2_byte_to_db(geo, sc->ip->i_d.di_size)) { in xchk_directory_leaf1_bestfree()
550 for (i = 0; i < bestcount; i++, bestp++) { in xchk_directory_leaf1_bestfree()