Searched refs:blocklen (Results 1 – 8 of 8) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_bmap_btree.c | 584 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()
|
D | xfs_bmap_btree.h | 100 extern int xfs_bmdr_maxrecs(int blocklen, int leaf); 101 extern int xfs_bmbt_maxrecs(struct xfs_mount *, int blocklen, int leaf);
|
D | xfs_refcount_btree.c | 404 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()
|
D | xfs_alloc_btree.c | 580 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()
|
D | xfs_rmap_btree.c | 530 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()
|
D | xfs_ialloc_btree.c | 539 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()
|
D | xfs_refcount_btree.h | 53 extern int xfs_refcountbt_maxrecs(int blocklen, bool leaf);
|
D | xfs_rmap_btree.h | 51 int xfs_rmapbt_maxrecs(int blocklen, int leaf);
|