Searched refs:nrblocks (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/xfs/ |
| H A D | xfs_rtalloc.c | 803 xfs_rfsblock_t nrblocks, in xfs_growfs_rt_nrblocks() argument 817 return min(nrblocks, step); in xfs_growfs_rt_nrblocks() 894 xfs_rfsblock_t nrblocks) in xfs_growfs_rt_zoned() argument 906 nmp = xfs_growfs_rt_alloc_fake_mount(mp, nrblocks, in xfs_growfs_rt_zoned() 945 xfs_rfsblock_t nrblocks, in xfs_growfs_rt_bmblock() argument 968 xfs_growfs_rt_nrblocks(rtg, nrblocks, rextsize, bmbno), in xfs_growfs_rt_bmblock() 1143 xfs_rfsblock_t nrblocks, in xfs_growfs_rt_alloc_blocks() argument 1155 nmp = xfs_growfs_rt_alloc_fake_mount(mp, nrblocks, rextsize); in xfs_growfs_rt_alloc_blocks() 1200 xfs_rfsblock_t nrblocks, in xfs_growfs_rtg() argument 1221 error = xfs_growfs_rt_zoned(rtg, nrblocks); in xfs_growfs_rtg() [all …]
|
| /linux/fs/gfs2/ |
| H A D | aops.c | 197 unsigned nrblocks; in gfs2_write_jdata_batch() local 205 nrblocks = size >> inode->i_blkbits; in gfs2_write_jdata_batch() 207 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); in gfs2_write_jdata_batch()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_bbt.c | 1133 int i, j, chips, block, nrblocks, update; in mark_bbt_region() local 1139 nrblocks = (int)(targetsize >> this->bbt_erase_shift); in mark_bbt_region() 1142 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region() 1161 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region() 1163 block = i * nrblocks; in mark_bbt_region()
|
| /linux/fs/ext4/ |
| H A D | indirect.c | 679 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) in ext4_ind_trans_blocks() argument 686 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
|
| H A D | inode.c | 6215 int ext4_chunk_trans_extent(struct inode *inode, int nrblocks) in ext4_chunk_trans_extent() argument 6219 ret = ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_extent() 6222 ret += nrblocks; in ext4_chunk_trans_extent() 6235 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument 6237 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
|
| H A D | ext4.h | 3099 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); 3100 extern int ext4_chunk_trans_extent(struct inode *inode, int nrblocks); 3128 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
|
| H A D | extents.c | 2379 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument 2404 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()
|