Home
last modified time | relevance | path

Searched refs:task (Results 1 – 7 of 7) sorted by relevance

/lib/
Dis_single_threaded.c17 struct task_struct *task = current; in current_is_single_threaded() local
18 struct mm_struct *mm = task->mm; in current_is_single_threaded()
22 if (atomic_read(&task->signal->live) != 1) in current_is_single_threaded()
33 if (unlikely(p == task->group_leader)) in current_is_single_threaded()
Dtest_vmalloc.c359 struct task_struct *task; member
485 t->task = kthread_run(test_func, t, "vmalloc_test/%d", cpu); in do_concurrent_test()
487 if (!IS_ERR(t->task)) in do_concurrent_test()
513 if (!IS_ERR(t->task)) in do_concurrent_test()
514 kthread_stop(t->task); in do_concurrent_test()
Dtest_firmware.c42 struct task_struct *task; member
646 req->task = NULL; in test_fw_run_batch_request()
685 req->task = kthread_run(test_fw_run_batch_request, req, in trigger_batched_requests_store()
687 if (!req->task || IS_ERR(req->task)) { in trigger_batched_requests_store()
689 req->task = NULL; in trigger_batched_requests_store()
708 if (req->task || req->sent) in trigger_batched_requests_store()
Dfault-inject.c58 static bool fail_task(struct fault_attr *attr, struct task_struct *task) in fail_task() argument
60 return in_task() && task->make_it_fail; in fail_task()
Dtest_rhashtable.c75 struct task_struct *task; member
784 tdata[i].task = kthread_run(threadfunc, &tdata[i], in test_rht_init()
786 if (IS_ERR(tdata[i].task)) { in test_rht_init()
799 if (IS_ERR(tdata[i].task)) in test_rht_init()
801 if ((err = kthread_stop(tdata[i].task))) { in test_rht_init()
Dstring_helpers.c597 char *kstrdup_quotable_cmdline(struct task_struct *task, gfp_t gfp) in kstrdup_quotable_cmdline() argument
606 res = get_cmdline(task, buffer, PAGE_SIZE - 1); in kstrdup_quotable_cmdline()
DKconfig.debug26 in task context) or a caller "processor id" (if not in task context)
625 task has ever had available in the sysrq-T and sysrq-P debug output.
914 which are bugs that cause the task to be stuck in
917 When a hung task is detected, the kernel will print the
919 task will stay in uninterruptible state. If lockdep is
924 int "Default timeout for hung task detection (in seconds)"
929 to determine when a task has become non-responsive and should
944 which are bugs that cause the kernel to leave a task stuck
949 hung task has been detected. This feature is useful for
1200 held during task exit.