Searched refs:task (Results 1 – 10 of 10) sorted by relevance
/lib/ |
A 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()
|
A D | closure.c | 118 struct task_struct *task; member 129 p = READ_ONCE(s->task); in CLOSURE_CALLBACK() 137 struct closure_syncer s = { .task = current }; in __closure_sync() 162 struct closure_syncer s = { .task = current }; in closure_return_sync() 190 struct closure_syncer s = { .task = current }; in __closure_sync_timeout()
|
A D | test_vmalloc.c | 425 struct task_struct *task; member 548 t->task = kthread_run(test_func, t, "vmalloc_test/%d", i); in do_concurrent_test() 550 if (!IS_ERR(t->task)) in do_concurrent_test() 576 if (!IS_ERR(t->task)) in do_concurrent_test() 577 kthread_stop(t->task); in do_concurrent_test()
|
A D | test_rhashtable.c | 76 struct task_struct *task; member 770 tdata[i].task = kthread_run(threadfunc, &tdata[i], in test_rht_init() 772 if (IS_ERR(tdata[i].task)) { in test_rht_init() 785 if (IS_ERR(tdata[i].task)) in test_rht_init() 787 if ((err = kthread_stop(tdata[i].task))) { in test_rht_init()
|
A D | test_firmware.c | 50 struct task_struct *task; member 910 req->task = NULL; in test_fw_run_batch_request() 955 req->task = kthread_run(test_fw_run_batch_request, req, in trigger_batched_requests_store() 957 if (!req->task || IS_ERR(req->task)) { in trigger_batched_requests_store() 959 req->task = NULL; in trigger_batched_requests_store() 978 if (req->task || req->sent) in trigger_batched_requests_store()
|
A D | fault-inject.c | 79 static bool fail_task(struct fault_attr *attr, struct task_struct *task) in fail_task() argument 81 return in_task() && task->make_it_fail; in fail_task()
|
A D | string_helpers.c | 679 char *kstrdup_quotable_cmdline(struct task_struct *task, gfp_t gfp) in kstrdup_quotable_cmdline() argument 688 res = get_cmdline(task, buffer, PAGE_SIZE - 1); in kstrdup_quotable_cmdline()
|
A D | Kconfig.debug | 26 in task context) or a caller "processor id" (if not in task context) 1241 which are bugs that cause the task to be stuck in 1244 When a hung task is detected, the kernel will print the 1246 task will stay in uninterruptible state. If lockdep is 1251 int "Default timeout for hung task detection (in seconds)" 1256 to determine when a task has become non-responsive and should 1271 which are bugs that cause the kernel to leave a task stuck 1276 hung task has been detected. This feature is useful for 1288 Say Y here to show the blocker task's stacktrace who acquires 1325 lockup, "hung task", or locking arbitrary lock for a long time. [all …]
|
A D | Kconfig.kcsan | 146 If enabled, a task that set up a watchpoint may be interrupted while
|
/lib/vdso/ |
A D | datastore.c | 115 int vdso_join_timens(struct task_struct *task, struct time_namespace *ns) in vdso_join_timens() argument 117 struct mm_struct *mm = task->mm; in vdso_join_timens()
|
Completed in 20 milliseconds