Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_rtrefcount_btree.c86 unsigned int blocklen, in xfs_rtrefcountbt_droot_maxrecs() argument
89 blocklen -= sizeof(struct xfs_rtrefcount_root); in xfs_rtrefcountbt_droot_maxrecs()
92 return blocklen / sizeof(struct xfs_refcount_rec); in xfs_rtrefcountbt_droot_maxrecs()
93 return blocklen / (2 * sizeof(struct xfs_refcount_key) + in xfs_rtrefcountbt_droot_maxrecs()
457 unsigned int blocklen, in xfs_rtrefcountbt_block_maxrecs() argument
462 return blocklen / sizeof(struct xfs_refcount_rec); in xfs_rtrefcountbt_block_maxrecs()
463 return blocklen / (sizeof(struct xfs_refcount_key) + in xfs_rtrefcountbt_block_maxrecs()
473 unsigned int blocklen, in xfs_rtrefcountbt_maxrecs() argument
476 blocklen -= XFS_RTREFCOUNT_BLOCK_LEN; in xfs_rtrefcountbt_maxrecs()
477 return xfs_rtrefcountbt_block_maxrecs(blocklen, leaf); in xfs_rtrefcountbt_maxrecs()
[all …]
H A Dxfs_rtrmap_btree.c86 unsigned int blocklen, in xfs_rtrmapbt_droot_maxrecs() argument
89 blocklen -= sizeof(struct xfs_rtrmap_root); in xfs_rtrmapbt_droot_maxrecs()
92 return blocklen / sizeof(struct xfs_rmap_rec); in xfs_rtrmapbt_droot_maxrecs()
93 return blocklen / (2 * sizeof(struct xfs_rmap_key) + in xfs_rtrmapbt_droot_maxrecs()
674 unsigned int blocklen, in xfs_rtrmapbt_block_maxrecs() argument
678 return blocklen / sizeof(struct xfs_rmap_rec); in xfs_rtrmapbt_block_maxrecs()
679 return blocklen / in xfs_rtrmapbt_block_maxrecs()
689 unsigned int blocklen, in xfs_rtrmapbt_maxrecs() argument
692 blocklen -= XFS_RTRMAP_BLOCK_LEN; in xfs_rtrmapbt_maxrecs()
693 return xfs_rtrmapbt_block_maxrecs(blocklen, leaf); in xfs_rtrmapbt_maxrecs()
[all …]
H A Dxfs_btree_mem.c121 unsigned int blocklen = xfbtree_rec_bytes(mp, ops); in xfbtree_init() local
141 xfbt->maxrecs[0] = blocklen / ops->rec_len; in xfbtree_init()
142 xfbt->maxrecs[1] = blocklen / keyptr_len; in xfbtree_init()
H A Dxfs_rtrefcount_btree.h26 unsigned int blocklen, bool leaf);
28 unsigned int xfs_rtrefcountbt_droot_maxrecs(unsigned int blocklen, bool leaf);
H A Dxfs_rtrmap_btree.h26 unsigned int xfs_rtrmapbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
29 unsigned int xfs_rtrmapbt_droot_maxrecs(unsigned int blocklen, bool leaf);
H A Dxfs_refcount_btree.h51 unsigned int xfs_refcountbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
H A Dxfs_alloc_btree.h56 unsigned int xfs_allocbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
H A Dxfs_ialloc_btree.h53 unsigned int xfs_inobt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
H A Dxfs_rmap_btree.h50 unsigned int xfs_rmapbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
/linux/fs/xfs/scrub/
H A Drcbag_btree.h54 unsigned int rcbagbt_maxrecs(struct xfs_mount *mp, unsigned int blocklen,
/linux/drivers/usb/storage/
H A Dsddr09.c964 unsigned int pagelen, blocklen; in sddr09_write_data() local
989 blocklen = (pagelen << info->blockshift); in sddr09_write_data()
990 blockbuffer = kmalloc(blocklen, GFP_NOIO); in sddr09_write_data()