/kernel/sched/ |
D | wait.c | 22 void add_wait_queue(wait_queue_head_t *q, wait_queue_t *wait) in add_wait_queue() argument 26 wait->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 28 __add_wait_queue(q, wait); in add_wait_queue() 33 void add_wait_queue_exclusive(wait_queue_head_t *q, wait_queue_t *wait) in add_wait_queue_exclusive() argument 37 wait->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 39 __add_wait_queue_tail(q, wait); in add_wait_queue_exclusive() 44 void remove_wait_queue(wait_queue_head_t *q, wait_queue_t *wait) in remove_wait_queue() argument 49 __remove_wait_queue(q, wait); in remove_wait_queue() 171 prepare_to_wait(wait_queue_head_t *q, wait_queue_t *wait, int state) in prepare_to_wait() argument 175 wait->flags &= ~WQ_FLAG_EXCLUSIVE; in prepare_to_wait() [all …]
|
D | completion.c | 33 spin_lock_irqsave(&x->wait.lock, flags); in complete() 35 __wake_up_locked(&x->wait, TASK_NORMAL, 1); in complete() 36 spin_unlock_irqrestore(&x->wait.lock, flags); in complete() 53 spin_lock_irqsave(&x->wait.lock, flags); in complete_all() 55 __wake_up_locked(&x->wait, TASK_NORMAL, 0); in complete_all() 56 spin_unlock_irqrestore(&x->wait.lock, flags); in complete_all() 65 DECLARE_WAITQUEUE(wait, current); in do_wait_for_common() 67 __add_wait_queue_tail_exclusive(&x->wait, &wait); in do_wait_for_common() 74 spin_unlock_irq(&x->wait.lock); in do_wait_for_common() 76 spin_lock_irq(&x->wait.lock); in do_wait_for_common() [all …]
|
/kernel/ |
D | kmod.c | 78 static int call_modprobe(char *module_name, int wait) in call_modprobe() argument 107 return call_usermodehelper_exec(info, wait | UMH_KILLABLE); in call_modprobe() 132 int __request_module(bool wait, const char *fmt, ...) in __request_module() argument 148 WARN_ON_ONCE(wait && current_is_async()); in __request_module() 189 trace_module_request(module_name, wait, _RET_IP_); in __request_module() 191 ret = call_modprobe(module_name, wait ? UMH_WAIT_PROC : UMH_WAIT_EXEC); in __request_module() 226 int wait = sub_info->wait & ~UMH_KILLABLE; in ____call_usermodehelper() local 270 if (wait != UMH_WAIT_PROC) in ____call_usermodehelper() 326 int wait = sub_info->wait & ~UMH_KILLABLE; in __call_usermodehelper() local 332 if (wait == UMH_WAIT_PROC) in __call_usermodehelper() [all …]
|
D | smp.c | 147 smp_call_func_t func, void *info, int wait) in generic_exec_single() argument 167 if (!wait) in generic_exec_single() 176 if (wait) in generic_exec_single() 193 if (wait) in generic_exec_single() 275 int wait) in smp_call_function_single() argument 295 err = generic_exec_single(cpu, NULL, func, info, wait); in smp_call_function_single() 346 smp_call_func_t func, void *info, int wait) in smp_call_function_any() argument 368 ret = smp_call_function_single(cpu, func, info, wait); in smp_call_function_any() 389 smp_call_func_t func, void *info, bool wait) in smp_call_function_many() argument 419 smp_call_function_single(cpu, func, info, wait); in smp_call_function_many() [all …]
|
D | up.c | 11 int wait) in smp_call_function_single() argument 36 int on_each_cpu(smp_call_func_t func, void *info, int wait) in on_each_cpu() argument 54 smp_call_func_t func, void *info, bool wait) in on_each_cpu_mask() argument 71 smp_call_func_t func, void *info, bool wait, in on_each_cpu_cond() argument
|
D | workqueue.c | 2419 bool wait = false; in flush_workqueue_prep_pwqs() local 2438 wait = true; in flush_workqueue_prep_pwqs() 2453 return wait; in flush_workqueue_prep_pwqs() 2742 wait_queue_t wait; member 2746 static int cwt_wakefn(wait_queue_t *wait, unsigned mode, int sync, void *key) in cwt_wakefn() argument 2748 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); in cwt_wakefn() 2752 return autoremove_wake_function(wait, mode, sync, key); in cwt_wakefn() 2782 init_wait(&cwait.wait); in __cancel_work_timer() 2783 cwait.wait.func = cwt_wakefn; in __cancel_work_timer() 2786 prepare_to_wait_exclusive(&cancel_waitq, &cwait.wait, in __cancel_work_timer() [all …]
|
D | audit.c | 502 DECLARE_WAITQUEUE(wait, current); in kauditd_thread() 518 add_wait_queue(&kauditd_wait, &wait); in kauditd_thread() 526 remove_wait_queue(&kauditd_wait, &wait); in kauditd_thread() 1329 DECLARE_WAITQUEUE(wait, current); in wait_for_auditd() 1331 add_wait_queue_exclusive(&audit_backlog_wait, &wait); in wait_for_auditd() 1338 remove_wait_queue(&audit_backlog_wait, &wait); in wait_for_auditd()
|
D | exit.c | 1474 static int child_wait_callback(wait_queue_t *wait, unsigned mode, in child_wait_callback() argument 1477 struct wait_opts *wo = container_of(wait, struct wait_opts, in child_wait_callback() 1484 if ((wo->wo_flags & __WNOTHREAD) && wait->private != p->parent) in child_wait_callback() 1487 return default_wake_function(wait, mode, sync, key); in child_wait_callback()
|
D | resource.c | 1055 DECLARE_WAITQUEUE(wait, current); in __request_region() 1082 add_wait_queue(&muxed_resource_wait, &wait); in __request_region() 1086 remove_wait_queue(&muxed_resource_wait, &wait); in __request_region()
|
D | relay.c | 903 static unsigned int relay_file_poll(struct file *filp, poll_table *wait) in relay_file_poll() argument 912 poll_wait(filp, &buf->read_wait, wait); in relay_file_poll()
|
D | cgroup.c | 2712 DEFINE_WAIT(wait); in cgroup_subtree_control_write() 2718 prepare_to_wait(&child->offline_waitq, &wait, in cgroup_subtree_control_write() 2722 finish_wait(&child->offline_waitq, &wait); in cgroup_subtree_control_write()
|
/kernel/time/ |
D | posix-clock.c | 69 static unsigned int posix_clock_poll(struct file *fp, poll_table *wait) in posix_clock_poll() argument 78 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll()
|
/kernel/trace/ |
D | trace_kprobe.c | 400 int wait = 0; in disable_trace_kprobe() local 411 wait = 1; in disable_trace_kprobe() 424 wait = 1; in disable_trace_kprobe() 427 if (wait) { in disable_trace_kprobe()
|
D | ring_buffer.c | 562 DEFINE_WAIT(wait); in ring_buffer_wait() 585 prepare_to_wait(&work->full_waiters, &wait, TASK_INTERRUPTIBLE); in ring_buffer_wait() 587 prepare_to_wait(&work->waiters, &wait, TASK_INTERRUPTIBLE); in ring_buffer_wait() 642 finish_wait(&work->full_waiters, &wait); in ring_buffer_wait() 644 finish_wait(&work->waiters, &wait); in ring_buffer_wait()
|
/kernel/printk/ |
D | printk.c | 736 static unsigned int devkmsg_poll(struct file *file, poll_table *wait) in devkmsg_poll() argument 744 poll_wait(file, &log_wait, wait); in devkmsg_poll()
|
/kernel/events/ |
D | core.c | 3796 static unsigned int perf_poll(struct file *file, poll_table *wait) in perf_poll() argument 3802 poll_wait(file, &event->waitq, wait); in perf_poll()
|