Searched refs:rblocks (Results 1 – 2 of 2) sorted by relevance
/fs/gfs2/ |
D | file.c | 453 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local 515 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite() 517 rblocks += data_blocks ? data_blocks : 1; in gfs2_page_mkwrite() 519 rblocks += RES_STATFS + RES_QUOTA; in gfs2_page_mkwrite() 520 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite() 522 ret = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite() 1062 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local 1133 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate() 1136 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate() 1138 error = gfs2_trans_begin(sdp, rblocks, in __gfs2_fallocate()
|
D | bmap.c | 1076 unsigned int rblocks; in gfs2_iomap_begin_write() local 1090 rblocks = RES_DINODE + ind_blocks; in gfs2_iomap_begin_write() 1092 rblocks += data_blocks; in gfs2_iomap_begin_write() 1094 rblocks += RES_STATFS + RES_QUOTA; in gfs2_iomap_begin_write() 1096 rblocks += 2 * RES_STATFS; in gfs2_iomap_begin_write() 1097 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_iomap_begin_write() 1099 ret = gfs2_trans_begin(sdp, rblocks, in gfs2_iomap_begin_write()
|