Lines Matching refs:smoke
1735 struct smoketest *smoke; in live_breadcrumbs_smoketest() local
1756 smoke = kcalloc(nengines, sizeof(*smoke), GFP_KERNEL); in live_breadcrumbs_smoketest()
1757 if (!smoke) { in live_breadcrumbs_smoketest()
1768 smoke[0].request_alloc = __live_request_alloc; in live_breadcrumbs_smoketest()
1769 smoke[0].ncontexts = 64; in live_breadcrumbs_smoketest()
1770 smoke[0].contexts = kcalloc(smoke[0].ncontexts, in live_breadcrumbs_smoketest()
1771 sizeof(*smoke[0].contexts), in live_breadcrumbs_smoketest()
1773 if (!smoke[0].contexts) { in live_breadcrumbs_smoketest()
1778 for (n = 0; n < smoke[0].ncontexts; n++) { in live_breadcrumbs_smoketest()
1779 smoke[0].contexts[n] = live_context(i915, file); in live_breadcrumbs_smoketest()
1780 if (IS_ERR(smoke[0].contexts[n])) { in live_breadcrumbs_smoketest()
1781 ret = PTR_ERR(smoke[0].contexts[n]); in live_breadcrumbs_smoketest()
1792 smoke[idx] = smoke[0]; in live_breadcrumbs_smoketest()
1793 smoke[idx].engine = engine; in live_breadcrumbs_smoketest()
1794 smoke[idx].max_batch = in live_breadcrumbs_smoketest()
1795 max_batches(smoke[0].contexts[0], engine); in live_breadcrumbs_smoketest()
1796 if (smoke[idx].max_batch < 0) { in live_breadcrumbs_smoketest()
1797 ret = smoke[idx].max_batch; in live_breadcrumbs_smoketest()
1801 smoke[idx].max_batch /= ncpus + 1; in live_breadcrumbs_smoketest()
1803 smoke[idx].max_batch, engine->name); in live_breadcrumbs_smoketest()
1816 threads[i].t = &smoke[idx]; in live_breadcrumbs_smoketest()
1849 num_waits += atomic_long_read(&smoke[idx].num_waits); in live_breadcrumbs_smoketest()
1850 num_fences += atomic_long_read(&smoke[idx].num_fences); in live_breadcrumbs_smoketest()
1858 kfree(smoke[0].contexts); in live_breadcrumbs_smoketest()
1862 kfree(smoke); in live_breadcrumbs_smoketest()