Lines Matching refs:total_size
1235 unsigned int total_size, in evict_nothing() argument
1245 for (n = 0; n < total_size; n++) { in evict_nothing()
1253 for (n = 0; n < total_size; n++) { in evict_nothing()
1269 for (n = 0; n < total_size; n++) { in evict_nothing()
1282 unsigned int total_size, in evict_everything() argument
1291 drm_mm_scan_init(&scan, mm, total_size, 0, 0, 0); in evict_everything()
1292 for (n = 0; n < total_size; n++) { in evict_everything()
1315 if (!assert_one_hole(mm, 0, total_size)) in evict_everything()
2155 const unsigned int total_size = min(8192u, max_iterations); in igt_color_evict() local
2171 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict()
2175 order = drm_random_order(total_size, &prng); in igt_color_evict()
2180 drm_mm_init(&mm, 0, 2*total_size - 1); in igt_color_evict()
2182 for (n = 0; n < total_size; n++) { in igt_color_evict()
2192 for (n = 1; n <= total_size; n <<= 1) { in igt_color_evict()
2193 drm_random_reorder(order, total_size, &prng); in igt_color_evict()
2195 nodes, order, total_size, in igt_color_evict()
2205 for (n = 1; n < total_size; n <<= 1) { in igt_color_evict()
2206 drm_random_reorder(order, total_size, &prng); in igt_color_evict()
2208 nodes, order, total_size, in igt_color_evict()
2209 total_size/2, n, color++, in igt_color_evict()
2213 mode->name, total_size/2, n); in igt_color_evict()
2218 for_each_prime_number_from(n, 1, min(total_size, max_prime)) { in igt_color_evict()
2219 unsigned int nsize = (total_size - n + 1) / 2; in igt_color_evict()
2223 drm_random_reorder(order, total_size, &prng); in igt_color_evict()
2225 nodes, order, total_size, in igt_color_evict()
2255 const unsigned int total_size = 8192; in igt_color_evict_range() local
2256 const unsigned int range_size = total_size / 2; in igt_color_evict_range()
2257 const unsigned int range_start = total_size / 4; in igt_color_evict_range()
2272 nodes = vzalloc(array_size(total_size, sizeof(*nodes))); in igt_color_evict_range()
2276 order = drm_random_order(total_size, &prng); in igt_color_evict_range()
2281 drm_mm_init(&mm, 0, 2*total_size - 1); in igt_color_evict_range()
2283 for (n = 0; n < total_size; n++) { in igt_color_evict_range()
2296 nodes, order, total_size, in igt_color_evict_range()
2307 drm_random_reorder(order, total_size, &prng); in igt_color_evict_range()
2309 nodes, order, total_size, in igt_color_evict_range()
2314 mode->name, total_size/2, n, range_start, range_end); in igt_color_evict_range()
2324 drm_random_reorder(order, total_size, &prng); in igt_color_evict_range()
2326 nodes, order, total_size, in igt_color_evict_range()