Searched refs:nrblocks (Results 1 – 6 of 6) sorted by relevance
/fs/gfs2/ |
D | aops.c | 214 unsigned nrblocks; in gfs2_write_jdata_batch() local 222 nrblocks = nr_pages * (PAGE_SIZE >> inode->i_blkbits); in gfs2_write_jdata_batch() 224 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks); in gfs2_write_jdata_batch()
|
/fs/xfs/ |
D | xfs_rtalloc.c | 936 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ in xfs_growfs_rt() local 982 nrblocks = in->newblocks; in xfs_growfs_rt() 983 error = xfs_sb_validate_fsb_count(sbp, nrblocks); in xfs_growfs_rt() 990 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt() 999 nrextents = nrblocks; in xfs_growfs_rt() 1062 nsbp->sb_rblocks = min(nrblocks, nrblocks_step); in xfs_growfs_rt()
|
/fs/ext4/ |
D | indirect.c | 686 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) in ext4_ind_trans_blocks() argument 693 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4; in ext4_ind_trans_blocks()
|
D | ext4.h | 3001 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); 3016 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
|
D | inode.c | 5734 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument 5736 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
|
D | extents.c | 2333 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument 2358 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()
|