Searched refs:task (Results 1 – 8 of 8) sorted by relevance
/lib/ |
D | is_single_threaded.c | 17 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()
|
D | test_vmalloc.c | 386 struct task_struct *task; member 513 t->task = kthread_run(test_func, t, "vmalloc_test/%d", i); in do_concurrent_test() 515 if (!IS_ERR(t->task)) in do_concurrent_test() 541 if (!IS_ERR(t->task)) in do_concurrent_test() 542 kthread_stop(t->task); in do_concurrent_test()
|
D | fault-inject.c | 58 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()
|
D | test_firmware.c | 47 struct task_struct *task; member 845 req->task = NULL; in test_fw_run_batch_request() 890 req->task = kthread_run(test_fw_run_batch_request, req, in trigger_batched_requests_store() 892 if (!req->task || IS_ERR(req->task)) { in trigger_batched_requests_store() 894 req->task = NULL; in trigger_batched_requests_store() 913 if (req->task || req->sent) in trigger_batched_requests_store()
|
D | test_rhashtable.c | 75 struct task_struct *task; member 785 tdata[i].task = kthread_run(threadfunc, &tdata[i], in test_rht_init() 787 if (IS_ERR(tdata[i].task)) { in test_rht_init() 800 if (IS_ERR(tdata[i].task)) in test_rht_init() 802 if ((err = kthread_stop(tdata[i].task))) { in test_rht_init()
|
D | string_helpers.c | 621 char *kstrdup_quotable_cmdline(struct task_struct *task, gfp_t gfp) in kstrdup_quotable_cmdline() argument 630 res = get_cmdline(task, buffer, PAGE_SIZE - 1); in kstrdup_quotable_cmdline()
|
D | Kconfig.debug | 26 in task context) or a caller "processor id" (if not in task context) 793 task has ever had available in the sysrq-T and sysrq-P debug output. 1119 which are bugs that cause the task to be stuck in 1122 When a hung task is detected, the kernel will print the 1124 task will stay in uninterruptible state. If lockdep is 1129 int "Default timeout for hung task detection (in seconds)" 1134 to determine when a task has become non-responsive and should 1149 which are bugs that cause the kernel to leave a task stuck 1154 hung task has been detected. This feature is useful for 1186 lockup, "hung task", or locking arbitrary lock for a long time. [all …]
|
D | Kconfig.kcsan | 156 If enabled, a task that set up a watchpoint may be interrupted while
|