Home
last modified time | relevance | path

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

/linux-5.19.10/fs/xfs/
Dxfs_rtalloc.c914 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ in xfs_growfs_rt() local
960 nrblocks = in->newblocks; in xfs_growfs_rt()
961 error = xfs_sb_validate_fsb_count(sbp, nrblocks); in xfs_growfs_rt()
968 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt()
977 nrextents = nrblocks; in xfs_growfs_rt()
1038 nsbp->sb_rblocks = min(nrblocks, nrblocks_step); in xfs_growfs_rt()
/linux-5.19.10/fs/gfs2/
Daops.c241 unsigned nrblocks = nr_pages * (PAGE_SIZE >> inode->i_blkbits); in gfs2_write_jdata_pagevec() local
245 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); in gfs2_write_jdata_pagevec()
/linux-5.19.10/drivers/mtd/nand/raw/
Dnand_bbt.c1134 int i, j, chips, block, nrblocks, update; in mark_bbt_region() local
1140 nrblocks = (int)(targetsize >> this->bbt_erase_shift); in mark_bbt_region()
1143 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region()
1162 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region()
1164 block = i * nrblocks; in mark_bbt_region()
/linux-5.19.10/fs/ext4/
Dindirect.c671 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) in ext4_ind_trans_blocks() argument
678 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
Dext4.h2992 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
3007 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
Dinode.c5714 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument
5716 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
Dextents.c2350 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument
2375 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()