Searched refs:rblocks (Results 1 – 2 of 2) sorted by relevance
/fs/gfs2/ |
D | file.c | 454 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 ret = gfs2_trans_begin(sdp, rblocks, 0); in gfs2_page_mkwrite() 995 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local 1066 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate() 1069 rblocks += data_blocks ? data_blocks : 1; in __gfs2_fallocate() 1071 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()
|