Home
last modified time | relevance | path

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

/openbmc/linux/fs/gfs2/
H A Daops.c214 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()
/openbmc/linux/fs/xfs/
H A Dxfs_rtalloc.c967 xfs_rfsblock_t nrblocks; /* new number of realtime blocks */ in xfs_growfs_rt() local
1019 nrblocks = in->newblocks; in xfs_growfs_rt()
1020 error = xfs_sb_validate_fsb_count(sbp, nrblocks); in xfs_growfs_rt()
1027 XFS_FSB_TO_BB(mp, nrblocks - 1), in xfs_growfs_rt()
1036 nrextents = nrblocks; in xfs_growfs_rt()
1104 nsbp->sb_rblocks = min(nrblocks, nrblocks_step); in xfs_growfs_rt()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bbt.c964 int i, j, chips, block, nrblocks, update; in mark_bbt_region() local
970 nrblocks = (int)(this->chipsize >> this->bbt_erase_shift); in mark_bbt_region()
973 nrblocks = (int)(mtd->size >> this->bbt_erase_shift); in mark_bbt_region()
992 block = ((i + 1) * nrblocks) - td->maxblocks; in mark_bbt_region()
994 block = i * nrblocks; in mark_bbt_region()
/openbmc/linux/drivers/mtd/nand/raw/
H A 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()
/openbmc/linux/fs/ext4/
H A Dindirect.c686 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()
H A Dext4.h3003 extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks);
3018 extern int ext4_ind_trans_blocks(struct inode *inode, int nrblocks);
H A Dinode.c5759 int ext4_chunk_trans_blocks(struct inode *inode, int nrblocks) in ext4_chunk_trans_blocks() argument
5761 return ext4_meta_trans_blocks(inode, nrblocks, 1); in ext4_chunk_trans_blocks()
H A Dextents.c2337 int ext4_ext_calc_credits_for_single_extent(struct inode *inode, int nrblocks, in ext4_ext_calc_credits_for_single_extent() argument
2362 return ext4_chunk_trans_blocks(inode, nrblocks); in ext4_ext_calc_credits_for_single_extent()