Searched refs:nrblocks (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/xfs/ |
D | xfs_rtalloc.c | 893 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ in xfs_growfs_rt() local 913 (nrblocks = in->newblocks) <= sbp->sb_rblocks || in xfs_growfs_rt() 916 if ((error = xfs_sb_validate_fsb_count(sbp, nrblocks))) in xfs_growfs_rt() 922 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt() 931 nrextents = nrblocks; in xfs_growfs_rt() 986 XFS_RTMIN(nrblocks, in xfs_growfs_rt()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | nand_bbt.c | 969 int i, j, chips, block, nrblocks, update; in mark_bbt_region() local 975 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region() 978 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region() 997 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region() 999 block = i * nrblocks; in mark_bbt_region()
|
/linux-4.1.27/fs/gfs2/ |
D | aops.c | 239 unsigned nrblocks = nr_pages * (PAGE_CACHE_SIZE/inode->i_sb->s_blocksize); in gfs2_write_jdata_pagevec() local 243 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); in gfs2_write_jdata_pagevec()
|
/linux-4.1.27/fs/ext4/ |
D | indirect.c | 791 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) in ext4_ind_trans_blocks() argument 798 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
|
D | ext4.h | 2318 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); 2333 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
|
D | inode.c | 4991 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument 4993 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
|
D | extents.c | 2409 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument 2434 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()
|