Lines Matching refs:ap
387 struct gfs2_alloc_parms ap = { .aflags = 0, }; in gfs2_page_mkwrite() local
432 ap.target = data_blocks + ind_blocks; in gfs2_page_mkwrite()
433 ret = gfs2_quota_lock_check(ip, &ap); in gfs2_page_mkwrite()
436 ret = gfs2_inplace_reserve(ip, &ap); in gfs2_page_mkwrite()
805 struct gfs2_alloc_parms ap = { .aflags = 0, }; in __gfs2_fallocate() local
830 ap.min_target = data_blocks + ind_blocks; in __gfs2_fallocate()
852 ap.target = data_blocks + ind_blocks; in __gfs2_fallocate()
854 error = gfs2_quota_lock_check(ip, &ap); in __gfs2_fallocate()
859 if (ap.allowed && ap.allowed < max_blks) in __gfs2_fallocate()
860 max_blks = ap.allowed; in __gfs2_fallocate()
862 error = gfs2_inplace_reserve(ip, &ap); in __gfs2_fallocate()
867 if (ap.allowed && ap.allowed < max_blks) in __gfs2_fallocate()
868 max_blks = ap.allowed; in __gfs2_fallocate()