Home
last modified time | relevance | path

Searched refs:nrblocks (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/fs/xfs/
Dxfs_rtalloc.c872 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ in xfs_growfs_rt() local
892 (nrblocks = in->newblocks) <= sbp->sb_rblocks || in xfs_growfs_rt()
895 if ((error = xfs_sb_validate_fsb_count(sbp, nrblocks))) in xfs_growfs_rt()
901 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt()
910 nrextents = nrblocks; in xfs_growfs_rt()
964 XFS_RTMIN(nrblocks, in xfs_growfs_rt()
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_bbt.c1042 int i, j, chips, block, nrblocks, update; in mark_bbt_region() local
1048 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region()
1051 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region()
1070 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region()
1072 block = i * nrblocks; in mark_bbt_region()
/Linux-v4.19/fs/gfs2/
Daops.c269 unsigned nrblocks = nr_pages * (PAGE_SIZE/inode->i_sb->s_blocksize); in gfs2_write_jdata_pagevec() local
273 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); in gfs2_write_jdata_pagevec()
/Linux-v4.19/fs/ext4/
Dindirect.c688 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) in ext4_ind_trans_blocks() argument
695 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
Dext4.h2483 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
2499 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
Dinode.c5793 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument
5795 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
Dextents.c2427 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument
2452 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()