Searched defs:nrblocks (Results 1 - 5 of 5) sorted by relevance

/fs/ext4/
H A Dindirect.c779 * Calculate number of indirect blocks touched by mapping @nrblocks logically
782 int ext4_ind_trans_blocks(struct inode *inode, int nrblocks) argument
789 return DIV_ROUND_UP(nrblocks, EXT4_ADDR_PER_BLOCK(inode->i_sb)) + 4;
H A Dextents.c2413 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, argument
2438 return ext4_chunk_trans_blocks(inode, nrblocks);
H A Dinode.c1170 * in order to allocate nrblocks
4712 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) argument
4714 return ext4_meta_trans_blocks(inode, nrblocks, 1);
/fs/gfs2/
H A Daops.c239 unsigned nrblocks = nr_pages * (PAGE_CACHE_SIZE/inode->i_sb->s_blocksize); local
243 ret = gfs2_trans_begin(sdp, nrblocks, nrblocks);
/fs/xfs/
H A Dxfs_rtalloc.c896 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ local
916 (nrblocks = in->newblocks) <= sbp->sb_rblocks ||
919 if ((error = xfs_sb_validate_fsb_count(sbp, nrblocks)))
925 XFS_FSB_TO_BB(mp, nrblocks - 1),
934 nrextents = nrblocks;
989 XFS_RTMIN(nrblocks,

Completed in 79 milliseconds