Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_ialloc_btree.c583 unsigned int minrecs[2]; in xfs_inobt_maxlevels_ondisk() local
589 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_inobt_maxlevels_ondisk()
590 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_inobt_maxlevels_ondisk()
592 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_inobt_maxlevels_ondisk()
599 unsigned int minrecs[2]; in xfs_finobt_maxlevels_ondisk() local
604 minrecs[0] = xfs_inobt_block_maxrecs(blocklen, true) / 2; in xfs_finobt_maxlevels_ondisk()
605 minrecs[1] = xfs_inobt_block_maxrecs(blocklen, false) / 2; in xfs_finobt_maxlevels_ondisk()
607 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_INODE_RECORDS); in xfs_finobt_maxlevels_ondisk()
Dxfs_refcount_btree.c444 unsigned int minrecs[2]; in xfs_refcountbt_maxlevels_ondisk() local
449 minrecs[0] = xfs_refcountbt_block_maxrecs(blocklen, true) / 2; in xfs_refcountbt_maxlevels_ondisk()
450 minrecs[1] = xfs_refcountbt_block_maxrecs(blocklen, false) / 2; in xfs_refcountbt_maxlevels_ondisk()
452 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_CRC_AG_BLOCKS); in xfs_refcountbt_maxlevels_ondisk()
Dxfs_bmap_btree.c611 unsigned int minrecs[2]; in xfs_bmbt_maxlevels_ondisk() local
617 minrecs[0] = xfs_bmbt_block_maxrecs(blocklen, true) / 2; in xfs_bmbt_maxlevels_ondisk()
618 minrecs[1] = xfs_bmbt_block_maxrecs(blocklen, false) / 2; in xfs_bmbt_maxlevels_ondisk()
621 return xfs_btree_compute_maxlevels(minrecs, in xfs_bmbt_maxlevels_ondisk()
Dxfs_rmap_btree.c602 unsigned int minrecs[2]; in xfs_rmapbt_maxlevels_ondisk() local
607 minrecs[0] = xfs_rmapbt_block_maxrecs(blocklen, true) / 2; in xfs_rmapbt_maxlevels_ondisk()
608 minrecs[1] = xfs_rmapbt_block_maxrecs(blocklen, false) / 2; in xfs_rmapbt_maxlevels_ondisk()
621 return xfs_btree_space_to_height(minrecs, XFS_MAX_CRC_AG_BLOCKS); in xfs_rmapbt_maxlevels_ondisk()
Dxfs_alloc_btree.c623 unsigned int minrecs[2]; in xfs_allocbt_maxlevels_ondisk() local
629 minrecs[0] = xfs_allocbt_block_maxrecs(blocklen, true) / 2; in xfs_allocbt_maxlevels_ondisk()
630 minrecs[1] = xfs_allocbt_block_maxrecs(blocklen, false) / 2; in xfs_allocbt_maxlevels_ondisk()
632 return xfs_btree_compute_maxlevels(minrecs, XFS_MAX_FREESP_RECORDS); in xfs_allocbt_maxlevels_ondisk()