Home
last modified time | relevance | path

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

/fs/gfs2/
Dfile.c429 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local
500 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite()
502 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite()
504 rblocks += RES_STATFS + RES_QUOTA; in gfs2_page_mkwrite()
505 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite()
507 err = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite()
1257 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local
1328 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate()
1331 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate()
1333 error = gfs2_trans_begin(sdp, rblocks, in __gfs2_fallocate()
Dbmap.c1009 unsigned int rblocks; in gfs2_iomap_begin_write() local
1023 rblocks = RES_DINODE + ind_blocks; in gfs2_iomap_begin_write()
1025 rblocks += data_blocks; in gfs2_iomap_begin_write()
1027 rblocks += RES_STATFS + RES_QUOTA; in gfs2_iomap_begin_write()
1029 rblocks += 2 * RES_STATFS; in gfs2_iomap_begin_write()
1030 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write()
1032 ret = gfs2_trans_begin(sdp, rblocks, in gfs2_iomap_begin_write()
/fs/xfs/
Dxfs_quota.h85 int64_t dblocks, int64_t rblocks, bool force);
134 struct xfs_inode *ip, int64_t dblocks, int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
Dxfs_iomap.c197 unsigned int dblocks, rblocks; in xfs_iomap_write_direct() local
209 rblocks = resaligned; in xfs_iomap_write_direct()
212 rblocks = 0; in xfs_iomap_write_direct()
242 rblocks, force, &tp); in xfs_iomap_write_direct()
Dxfs_trans.c1037 unsigned int rblocks, in xfs_trans_alloc_inode() argument
1048 rblocks / mp->m_sb.sb_rextsize, in xfs_trans_alloc_inode()
1063 error = xfs_trans_reserve_quota_nblks(tp, ip, dblocks, rblocks, force); in xfs_trans_alloc_inode()
Dxfs_bmap_util.c817 unsigned int dblocks, rblocks, resblks; in xfs_alloc_file_space() local
848 rblocks = resblks; in xfs_alloc_file_space()
851 rblocks = 0; in xfs_alloc_file_space()
855 dblocks, rblocks, false, &tp); in xfs_alloc_file_space()
Dxfs_trans_dquot.c789 int64_t rblocks, in xfs_trans_reserve_quota_nblks() argument
814 ip->i_gdquot, ip->i_pdquot, rblocks, 0, in xfs_trans_reserve_quota_nblks()
Dxfs_trans.h259 unsigned int dblocks, unsigned int rblocks, bool force,