Lines Matching refs:smoke

1349 	struct smoketest *smoke;  in live_breadcrumbs_smoketest()  local
1370 smoke = kcalloc(nengines, sizeof(*smoke), GFP_KERNEL); in live_breadcrumbs_smoketest()
1371 if (!smoke) { in live_breadcrumbs_smoketest()
1382 smoke[0].request_alloc = __live_request_alloc; in live_breadcrumbs_smoketest()
1383 smoke[0].ncontexts = 64; in live_breadcrumbs_smoketest()
1384 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
1385 sizeof(*smoke[0].contexts), in live_breadcrumbs_smoketest()
1387 if (!smoke[0].contexts) { in live_breadcrumbs_smoketest()
1392 for (n = 0; n < smoke[0].ncontexts; n++) { in live_breadcrumbs_smoketest()
1393 smoke[0].contexts[n] = live_context(i915, file); in live_breadcrumbs_smoketest()
1394 if (!smoke[0].contexts[n]) { in live_breadcrumbs_smoketest()
1406 smoke[idx] = smoke[0]; in live_breadcrumbs_smoketest()
1407 smoke[idx].engine = engine; in live_breadcrumbs_smoketest()
1408 smoke[idx].max_batch = in live_breadcrumbs_smoketest()
1409 max_batches(smoke[0].contexts[0], engine); in live_breadcrumbs_smoketest()
1410 if (smoke[idx].max_batch < 0) { in live_breadcrumbs_smoketest()
1411 ret = smoke[idx].max_batch; in live_breadcrumbs_smoketest()
1415 smoke[idx].max_batch /= num_online_cpus() + 1; in live_breadcrumbs_smoketest()
1417 smoke[idx].max_batch, engine->name); in live_breadcrumbs_smoketest()
1423 &smoke[idx], "igt/%d.%d", idx, n); in live_breadcrumbs_smoketest()
1458 num_waits += atomic_long_read(&smoke[idx].num_waits); in live_breadcrumbs_smoketest()
1459 num_fences += atomic_long_read(&smoke[idx].num_fences); in live_breadcrumbs_smoketest()
1467 kfree(smoke[0].contexts); in live_breadcrumbs_smoketest()
1471 kfree(smoke); in live_breadcrumbs_smoketest()