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

/linux-master/fs/gfs2/
H A Daops.c214 unsigned nrblocks; local
222 nrblocks = size >> inode->i_blkbits;
224 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks);
/linux-master/fs/xfs/
H A Dxfs_rtalloc.c807 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ local
852 nrblocks = in->newblocks;
853 error = xfs_sb_validate_fsb_count(sbp, nrblocks);
860 XFS_FSB_TO_BB(mp, nrblocks - 1),
869 nrextents = nrblocks;
938 nsbp->sb_rblocks = min(nrblocks, nrblocks_step);
/linux-master/drivers/mtd/nand/raw/
H A Dnand_bbt.c1133 int i, j, chips, block, nrblocks, update; local
1139 nrblocks = (int)(targetsize >> this->bbt_erase_shift);
1142 nrblocks = (int)(mtd->size >> this->bbt_erase_shift);
1161 block = ((i + 1) * nrblocks) - td->maxblocks;
1163 block = i * nrblocks;
/linux-master/fs/ext4/
H A Dindirect.c683 * Calculate number of indirect blocks touched by mapping @nrblocks logically
686 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) argument
693 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4;
H A Dext4.h3014 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
3029 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
H A Dextents.c2333 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, argument
2358 return ext4_chunk_trans_blocks(inode, nrblocks);
H A Dinode.c5685 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) argument
5687 return ext4_meta_trans_blocks(inode, nrblocks, 1);

Completed in 197 milliseconds