Lines Matching defs:alloc_unit
1209 int alloc_unit)
1214 for (i = 0; i < num_pages / alloc_unit; i++) {
1217 return i * alloc_unit;
1225 get_order(alloc_unit << PAGE_SHIFT));
1228 return i * alloc_unit;
1230 dm->num_pages_ballooned += alloc_unit;
1237 if (alloc_unit != 1)
1238 split_page(pg, get_order(alloc_unit << PAGE_SHIFT));
1241 for (j = 0; j < (1 << get_order(alloc_unit << PAGE_SHIFT)); j++)
1247 bl_resp->range_array[i].finfo.page_cnt = alloc_unit;
1252 return i * alloc_unit;
1260 int alloc_unit;
1271 alloc_unit = PAGES_IN_2M;
1294 bl_resp, alloc_unit);
1296 if (alloc_unit != 1 && num_ballooned == 0) {
1297 alloc_unit = 1;