Searched refs:minrecs (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/fs/xfs/scrub/ |
D | rcbag_btree.c | 268 unsigned int minrecs[2]; in rcbagbt_maxlevels_possible() local 273 minrecs[0] = rcbagbt_block_maxrecs(blocklen, true) / 2; in rcbagbt_maxlevels_possible() 274 minrecs[1] = rcbagbt_block_maxrecs(blocklen, false) / 2; in rcbagbt_maxlevels_possible() 276 return xfs_btree_space_to_height(minrecs, ULLONG_MAX); in rcbagbt_maxlevels_possible() 284 unsigned int minrecs[2]; in rcbagbt_calc_size() local 289 minrecs[0] = rcbagbt_block_maxrecs(blocklen, true) / 2; in rcbagbt_calc_size() 290 minrecs[1] = rcbagbt_block_maxrecs(blocklen, false) / 2; in rcbagbt_calc_size() 292 return xfs_btree_calc_size(minrecs, nr_records); in rcbagbt_calc_size()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_ialloc_btree.c | 597 unsigned int minrecs[2]; in xfs_inobt_maxlevels_ondisk() local 603 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_inobt_maxlevels_ondisk() 604 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_inobt_maxlevels_ondisk() 606 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_inobt_maxlevels_ondisk() 613 unsigned int minrecs[2]; in xfs_finobt_maxlevels_ondisk() local 618 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_finobt_maxlevels_ondisk() 619 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_finobt_maxlevels_ondisk() 621 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_finobt_maxlevels_ondisk()
|
D | xfs_rmap_btree.c | 677 unsigned int minrecs[2]; in xfs_rmapbt_mem_maxlevels() local 682 minrecs[0] = xfs_rmapbt_mem_block_maxrecs(blocklen, true) / 2; in xfs_rmapbt_mem_maxlevels() 683 minrecs[1] = xfs_rmapbt_mem_block_maxrecs(blocklen, false) / 2; in xfs_rmapbt_mem_maxlevels() 689 return xfs_btree_compute_maxlevels(minrecs, in xfs_rmapbt_mem_maxlevels() 748 unsigned int minrecs[2]; in xfs_rmapbt_maxlevels_ondisk() local 753 minrecs[0] = xfs_rmapbt_block_maxrecs(blocklen, true) / 2; in xfs_rmapbt_maxlevels_ondisk() 754 minrecs[1] = xfs_rmapbt_block_maxrecs(blocklen, false) / 2; in xfs_rmapbt_maxlevels_ondisk() 767 return max(xfs_btree_space_to_height(minrecs, XFS_MAX_CRC_AG_BLOCKS), in xfs_rmapbt_maxlevels_ondisk()
|
D | xfs_btree_mem.c | 142 xfbt->minrecs[0] = xfbt->maxrecs[0] / 2; in xfbtree_init() 143 xfbt->minrecs[1] = xfbt->maxrecs[1] / 2; in xfbtree_init() 216 return xfbt->minrecs[level != 0]; in xfbtree_get_minrecs()
|
D | xfs_refcount_btree.c | 434 unsigned int minrecs[2]; in xfs_refcountbt_maxlevels_ondisk() local 439 minrecs[0] = xfs_refcountbt_block_maxrecs(blocklen, true) / 2; in xfs_refcountbt_maxlevels_ondisk() 440 minrecs[1] = xfs_refcountbt_block_maxrecs(blocklen, false) / 2; in xfs_refcountbt_maxlevels_ondisk() 442 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_CRC_AG_BLOCKS); in xfs_refcountbt_maxlevels_ondisk()
|
D | xfs_alloc_btree.c | 589 unsigned int minrecs[2]; in xfs_allocbt_maxlevels_ondisk() local 595 minrecs[0] = xfs_allocbt_block_maxrecs(blocklen, true) / 2; in xfs_allocbt_maxlevels_ondisk() 596 minrecs[1] = xfs_allocbt_block_maxrecs(blocklen, false) / 2; in xfs_allocbt_maxlevels_ondisk() 598 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_FREESP_RECORDS); in xfs_allocbt_maxlevels_ondisk()
|
D | xfs_bmap_btree.c | 666 unsigned int minrecs[2]; in xfs_bmbt_maxlevels_ondisk() local 672 minrecs[0] = xfs_bmbt_block_maxrecs(blocklen, true) / 2; in xfs_bmbt_maxlevels_ondisk() 673 minrecs[1] = xfs_bmbt_block_maxrecs(blocklen, false) / 2; in xfs_bmbt_maxlevels_ondisk() 676 return xfs_btree_compute_maxlevels(minrecs, in xfs_bmbt_maxlevels_ondisk()
|
D | xfs_btree_mem.h | 41 unsigned int minrecs[2]; member
|
/linux-6.12.1/fs/xfs/ |
D | xfs_trace.h | 4777 __entry->leaf_mnr = xfbt->minrecs[0]; 4778 __entry->node_mnr = xfbt->minrecs[1];
|
/linux-6.12.1/Documentation/filesystems/xfs/ |
D | xfs-online-fsck-design.rst | 2373 minrecs = maxrecs / 2 2376 This must be at least minrecs and no more than maxrecs. 2377 Choosing minrecs is undesirable because it wastes half the block. 2384 default_load_factor = (maxrecs + minrecs) / 2 2395 minrecs = maxrecs / 2
|