Home
last modified time | relevance | path

Searched refs:blocklen (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/libxfs/
Dxfs_bmap_btree.c584 int blocklen, in xfs_bmbt_maxrecs() argument
587 blocklen -= XFS_BMBT_BLOCK_LEN(mp); in xfs_bmbt_maxrecs()
590 return blocklen / sizeof(xfs_bmbt_rec_t); in xfs_bmbt_maxrecs()
591 return blocklen / (sizeof(xfs_bmbt_key_t) + sizeof(xfs_bmbt_ptr_t)); in xfs_bmbt_maxrecs()
599 int blocklen, in xfs_bmdr_maxrecs() argument
602 blocklen -= sizeof(xfs_bmdr_block_t); in xfs_bmdr_maxrecs()
605 return blocklen / sizeof(xfs_bmdr_rec_t); in xfs_bmdr_maxrecs()
606 return blocklen / (sizeof(xfs_bmdr_key_t) + sizeof(xfs_bmdr_ptr_t)); in xfs_bmdr_maxrecs()
Dxfs_bmap_btree.h100 extern int xfs_bmdr_maxrecs(int blocklen, int leaf);
101 extern int xfs_bmbt_maxrecs(struct xfs_mount *, int blocklen, int leaf);
Dxfs_refcount_btree.c404 int blocklen, in xfs_refcountbt_maxrecs() argument
407 blocklen -= XFS_REFCOUNT_BLOCK_LEN; in xfs_refcountbt_maxrecs()
410 return blocklen / sizeof(struct xfs_refcount_rec); in xfs_refcountbt_maxrecs()
411 return blocklen / (sizeof(struct xfs_refcount_key) + in xfs_refcountbt_maxrecs()
Dxfs_alloc_btree.c580 int blocklen, in xfs_allocbt_maxrecs() argument
583 blocklen -= XFS_ALLOC_BLOCK_LEN(mp); in xfs_allocbt_maxrecs()
586 return blocklen / sizeof(xfs_alloc_rec_t); in xfs_allocbt_maxrecs()
587 return blocklen / (sizeof(xfs_alloc_key_t) + sizeof(xfs_alloc_ptr_t)); in xfs_allocbt_maxrecs()
Dxfs_rmap_btree.c530 int blocklen, in xfs_rmapbt_maxrecs() argument
533 blocklen -= XFS_RMAP_BLOCK_LEN; in xfs_rmapbt_maxrecs()
536 return blocklen / sizeof(struct xfs_rmap_rec); in xfs_rmapbt_maxrecs()
537 return blocklen / in xfs_rmapbt_maxrecs()
Dxfs_ialloc_btree.c539 int blocklen, in xfs_inobt_maxrecs() argument
542 blocklen -= XFS_INOBT_BLOCK_LEN(mp); in xfs_inobt_maxrecs()
545 return blocklen / sizeof(xfs_inobt_rec_t); in xfs_inobt_maxrecs()
546 return blocklen / (sizeof(xfs_inobt_key_t) + sizeof(xfs_inobt_ptr_t)); in xfs_inobt_maxrecs()
Dxfs_refcount_btree.h53 extern int xfs_refcountbt_maxrecs(int blocklen, bool leaf);
Dxfs_rmap_btree.h51 int xfs_rmapbt_maxrecs(int blocklen, int leaf);