Lines Matching refs:ind_blocks
401 unsigned int data_blocks, ind_blocks, rblocks; in gfs2_page_mkwrite() local
438 gfs2_write_calc_reserv(ip, PAGE_SIZE, &data_blocks, &ind_blocks); in gfs2_page_mkwrite()
439 ap.target = data_blocks + ind_blocks; in gfs2_page_mkwrite()
447 rblocks = RES_DINODE + ind_blocks; in gfs2_page_mkwrite()
450 if (ind_blocks || data_blocks) { in gfs2_page_mkwrite()
452 rblocks += gfs2_rg_blocks(ip, data_blocks + ind_blocks); in gfs2_page_mkwrite()
915 unsigned int *data_blocks, unsigned int *ind_blocks, in calc_max_reserv() argument
928 *ind_blocks = max_blocks - max_data; in calc_max_reserv()
932 gfs2_write_calc_reserv(ip, max, data_blocks, ind_blocks); in calc_max_reserv()
942 unsigned int data_blocks = 0, ind_blocks = 0, rblocks; in __gfs2_fallocate() local
965 gfs2_write_calc_reserv(ip, PAGE_SIZE, &data_blocks, &ind_blocks); in __gfs2_fallocate()
966 ap.min_target = data_blocks + ind_blocks; in __gfs2_fallocate()
987 gfs2_write_calc_reserv(ip, bytes, &data_blocks, &ind_blocks); in __gfs2_fallocate()
988 ap.target = data_blocks + ind_blocks; in __gfs2_fallocate()
1011 &ind_blocks, max_blks); in __gfs2_fallocate()
1013 rblocks = RES_DINODE + ind_blocks + RES_STATFS + RES_QUOTA + in __gfs2_fallocate()
1014 RES_RG_HDR + gfs2_rg_blocks(ip, data_blocks + ind_blocks); in __gfs2_fallocate()