/src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/ |
i915_gem_object_blt.c | 448 struct task_struct **tsk; local in function:igt_threaded_blt 455 tsk = kcalloc(n_cpus, sizeof(struct task_struct *), GFP_KERNEL); 456 if (!tsk) 485 tsk[i] = kthread_run(blt_fn, &thread[i], "igt/blt-%d", i); 486 if (IS_ERR(tsk[i])) { 487 err = PTR_ERR(tsk[i]); 491 get_task_struct(tsk[i]); 499 if (IS_ERR_OR_NULL(tsk[i])) 502 status = kthread_stop(tsk[i]); 506 put_task_struct(tsk[i]) [all...] |
i915_gem_context.c | 190 struct task_struct *tsk; member in struct:parallel_switch 371 data[n].tsk = kthread_run(*fn, &data[n], 374 if (IS_ERR(data[n].tsk)) { 375 err = PTR_ERR(data[n].tsk); 378 get_task_struct(data[n].tsk); 386 if (IS_ERR_OR_NULL(data[n].tsk)) 389 status = kthread_stop(data[n].tsk); 393 put_task_struct(data[n].tsk); 394 data[n].tsk = NULL;
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_request.c | 1224 struct task_struct **tsk; local in function:live_parallel_engines 1232 tsk = kcalloc(nengines, sizeof(*tsk), GFP_KERNEL); 1233 if (!tsk) 1250 tsk[idx] = kthread_run(*fn, engine, 1253 if (IS_ERR(tsk[idx])) { 1254 err = PTR_ERR(tsk[idx]); 1257 get_task_struct(tsk[idx++]); 1266 if (IS_ERR(tsk[idx])) 1269 status = kthread_stop(tsk[idx]) 1402 struct task_struct *tsk; local in function:live_breadcrumbs_smoketest 1427 struct task_struct *tsk = threads[idx * ncpus + n]; local in function:live_breadcrumbs_smoketest [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
selftest_hangcheck.c | 813 struct task_struct *tsk; local in function:__igt_reset_engines 827 tsk = kthread_run(active_engine, &threads[tmp], 829 if (IS_ERR(tsk)) { 830 err = PTR_ERR(tsk); 834 threads[tmp].task = tsk; 835 get_task_struct(tsk); 1160 struct task_struct *tsk = NULL; local in function:__igt_reset_evict_vma 1255 tsk = kthread_run(fn, &arg, "igt/evict_vma"); 1256 if (IS_ERR(tsk)) { 1257 err = PTR_ERR(tsk); [all...] |
selftest_lrc.c | 2601 struct task_struct *tsk[I915_NUM_ENGINES] = {}; local in function:smoke_crescendo 2615 tsk[id] = kthread_run(smoke_crescendo_thread, &arg, 2617 if (IS_ERR(tsk[id])) { 2618 err = PTR_ERR(tsk[id]); 2621 get_task_struct(tsk[id]); 2630 if (IS_ERR_OR_NULL(tsk[id])) 2633 status = kthread_stop(tsk[id]); 2639 put_task_struct(tsk[id]);
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_request.c | 1497 struct task_struct *tsk; member in struct:request_wait 1508 wake_up_process(wait->tsk); 1604 wait.tsk = current;
|