/kernel/ |
D | stop_machine.c | 70 static void cpu_stop_init_done(struct cpu_stop_done *done, unsigned int nr_todo) in cpu_stop_init_done() argument 72 memset(done, 0, sizeof(*done)); in cpu_stop_init_done() 73 atomic_set(&done->nr_todo, nr_todo); in cpu_stop_init_done() 74 init_completion(&done->completion); in cpu_stop_init_done() 78 static void cpu_stop_signal_done(struct cpu_stop_done *done) in cpu_stop_signal_done() argument 80 if (atomic_dec_and_test(&done->nr_todo)) in cpu_stop_signal_done() 81 complete(&done->completion); in cpu_stop_signal_done() 105 else if (work->done) in cpu_stop_queue_work() 106 cpu_stop_signal_done(work->done); in cpu_stop_queue_work() 141 struct cpu_stop_done done; in stop_one_cpu() local [all …]
|
D | kthread.c | 48 struct completion *done; member 347 struct completion *done; in kthread() local 354 done = xchg(&create->done, NULL); in kthread() 355 if (!done) { in kthread() 380 complete(done); in kthread() 415 struct completion *done = xchg(&create->done, NULL); in create_kthread() local 418 if (!done) { in create_kthread() 423 complete(done); in create_kthread() 433 DECLARE_COMPLETION_ONSTACK(done); in __kthread_create_on_node() 443 create->done = &done; in __kthread_create_on_node() [all …]
|
D | umh.c | 405 DECLARE_COMPLETION_ONSTACK(done); in call_usermodehelper_exec() 431 sub_info->complete = (wait == UMH_NO_WAIT) ? NULL : &done; in call_usermodehelper_exec() 442 retval = wait_for_completion_state(&done, state | TASK_KILLABLE); in call_usermodehelper_exec() 458 wait_for_completion_state(&done, state); in call_usermodehelper_exec()
|
D | acct.c | 112 struct completion done; member 195 wait_for_completion(&acct->done); in acct_pin_kill() 209 complete(&acct->done); in close_work() 266 init_completion(&acct->done); in acct_on()
|
D | smp.c | 1085 struct completion done; member 1103 complete(&sscs->done); in smp_call_on_cpu_callback() 1109 .done = COMPLETION_INITIALIZER_ONSTACK(sscs.done), in smp_call_on_cpu() 1121 wait_for_completion(&sscs.done); in smp_call_on_cpu()
|
D | static_call_inline.c | 143 goto done; in __static_call_update() 154 goto done; in __static_call_update() 214 done: in __static_call_update()
|
D | watch_queue.c | 105 bool done = false; in post_one_notification() local 141 done = true; in post_one_notification() 145 if (done) in post_one_notification() 147 return done; in post_one_notification()
|
D | watchdog.c | 643 struct completion *done = this_cpu_ptr(&softlockup_completion); in watchdog_enable() local 647 init_completion(done); in watchdog_enable() 648 complete(done); in watchdog_enable()
|
D | padata.c | 446 bool done; in padata_mt_helper() local 468 done = (ps->nworks_fini == ps->nworks); in padata_mt_helper() 471 if (done) in padata_mt_helper()
|
/kernel/sched/ |
D | completion.c | 22 if (x->done != UINT_MAX) in complete_with_flags() 23 x->done++; in complete_with_flags() 74 x->done = UINT_MAX; in complete_all() 84 if (!x->done) { in do_wait_for_common() 97 } while (!x->done && timeout); in do_wait_for_common() 99 if (!x->done) in do_wait_for_common() 102 if (x->done != UINT_MAX) in do_wait_for_common() 103 x->done--; in do_wait_for_common() 315 if (!READ_ONCE(x->done)) in try_wait_for_completion() 319 if (!x->done) in try_wait_for_completion() [all …]
|
D | idle.c | 324 int done; member 331 WRITE_ONCE(it->done, 1); in idle_inject_timer_fn() 357 it.done = 0; in play_idle_precise() 363 while (!READ_ONCE(it.done)) in play_idle_precise()
|
D | pelt.c | 493 goto done; in sched_pelt_multiplier() 507 goto done; in sched_pelt_multiplier() 514 done: in sched_pelt_multiplier()
|
D | fair.c | 4833 goto done; in util_est_update() 4842 goto done; in util_est_update() 4856 goto done; in util_est_update() 4878 done: in util_est_update() 4892 bool fits, uclamp_max_fits, done = false; in util_fits_cpu() local 4894 trace_android_rvh_util_fits_cpu(util, uclamp_min, uclamp_max, cpu, &fits, &done); in util_fits_cpu() 4896 if (done) in util_fits_cpu() 5732 goto done; in throttle_cfs_rq() 5753 goto done; in throttle_cfs_rq() 5768 done: in throttle_cfs_rq() [all …]
|
/kernel/power/ |
D | swap.c | 592 wait_queue_head_t done; /* crc update done */ member 612 wake_up(&d->done); in crc32_threadfn() 621 wake_up(&d->done); in crc32_threadfn() 634 wait_queue_head_t done; /* compression done */ member 656 wake_up(&d->done); in lzo_compress_threadfn() 665 wake_up(&d->done); in lzo_compress_threadfn() 728 init_waitqueue_head(&data[thr].done); in save_image_lzo() 745 init_waitqueue_head(&crc->done); in save_image_lzo() 811 wait_event(data[thr].done, in save_image_lzo() 851 wait_event(crc->done, atomic_read_acquire(&crc->stop)); in save_image_lzo() [all …]
|
/kernel/trace/ |
D | preemptirq_delay_test.c | 35 static struct completion done; variable 134 complete(&done); in preemptirq_delay_run() 152 init_completion(&done); in preemptirq_run_test() 159 wait_for_completion(&done); in preemptirq_run_test()
|
D | trace_uprobe.c | 1223 bool done; in trace_uprobe_filter_remove() local 1228 done = filter->nr_systemwide || in trace_uprobe_filter_remove() 1233 done = filter->nr_systemwide; in trace_uprobe_filter_remove() 1237 return done; in trace_uprobe_filter_remove() 1244 bool done; in trace_uprobe_filter_add() local 1256 done = filter->nr_systemwide || in trace_uprobe_filter_add() 1261 done = filter->nr_systemwide; in trace_uprobe_filter_add() 1266 return done; in trace_uprobe_filter_add()
|
/kernel/bpf/ |
D | bpf_iter.c | 110 goto done; in bpf_seq_read() 119 goto done; in bpf_seq_read() 124 goto done; in bpf_seq_read() 135 goto done; in bpf_seq_read() 150 goto done; in bpf_seq_read() 180 goto done; in bpf_seq_read() 195 goto done; in bpf_seq_read() 208 goto done; in bpf_seq_read() 219 goto done; in bpf_seq_read() 228 goto done; in bpf_seq_read() [all …]
|
D | inode.c | 174 bool done; member 221 if (map_iter(m)->done) in map_seq_next() 231 map_iter(m)->done = true; in map_seq_next() 240 if (map_iter(m)->done) in map_seq_start()
|
/kernel/locking/ |
D | test-ww_mutex.c | 31 struct completion ready, go, done; member 53 complete(&mtx->done); in test_mutex_work() 70 init_completion(&mtx.done); in __test_mutex() 83 if (completion_done(&mtx.done)) { in __test_mutex() 90 ret = wait_for_completion_timeout(&mtx.done, TIMEOUT); in __test_mutex()
|
/kernel/debug/kdb/ |
D | kdb_bp.c | 392 int done = 0; in kdb_bc() local 448 done++; in kdb_bc() 489 return (!done) ? KDB_BPTNOTFOUND : 0; in kdb_bc()
|
/kernel/rcu/ |
D | rcuscale.c | 459 bool started = false, done = false, alldone = false; in rcu_scale_writer() local 526 if (!done && i >= MIN_MEAS && time_after(jiffies, jdone)) { in rcu_scale_writer() 527 done = true; in rcu_scale_writer() 550 if (done && !alldone && in rcu_scale_writer()
|
D | tree_exp.h | 78 bool done; in sync_exp_reset_tree_hotplug() local 114 done = false; in sync_exp_reset_tree_hotplug() 118 done = true; in sync_exp_reset_tree_hotplug() 121 if (done) in sync_exp_reset_tree_hotplug()
|
/kernel/kcsan/ |
D | .kunitconfig | 2 # Under kunit_tool, this can be done by using the --qemu_args
|
/kernel/cgroup/ |
D | cpuset.c | 929 goto done; in generate_sched_domains() 939 goto done; in generate_sched_domains() 944 goto done; in generate_sched_domains() 1017 goto done; in generate_sched_domains() 1068 done: in generate_sched_domains() 2204 goto done; in update_nodemask() 2218 goto done; in update_nodemask() 2223 goto done; in update_nodemask() 2229 goto done; in update_nodemask() 2233 goto done; in update_nodemask() [all …]
|
/kernel/debug/ |
D | debug_core.c | 1053 goto done; in dbg_notify_reboot() 1055 goto done; in dbg_notify_reboot() 1059 done: in dbg_notify_reboot()
|