/linux-4.19.296/fs/ |
D | fs_pin.c | 16 spin_lock_irq(&pin->wait.lock); in pin_remove() 18 wake_up_locked(&pin->wait); in pin_remove() 19 spin_unlock_irq(&pin->wait.lock); in pin_remove() 38 wait_queue_entry_t wait; in pin_kill() local 44 init_wait(&wait); in pin_kill() 45 spin_lock_irq(&p->wait.lock); in pin_kill() 48 spin_unlock_irq(&p->wait.lock); in pin_kill() 54 spin_unlock_irq(&p->wait.lock); in pin_kill() 58 __add_wait_queue(&p->wait, &wait); in pin_kill() 61 spin_unlock_irq(&p->wait.lock); in pin_kill() [all …]
|
D | eventfd.c | 119 static __poll_t eventfd_poll(struct file *file, poll_table *wait) in eventfd_poll() argument 125 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 199 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue() argument 206 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue() 221 DECLARE_WAITQUEUE(wait, current); in eventfd_read() 231 __add_wait_queue(&ctx->wqh, &wait); in eventfd_read() 246 __remove_wait_queue(&ctx->wqh, &wait); in eventfd_read() 268 DECLARE_WAITQUEUE(wait, current); in eventfd_write() 281 __add_wait_queue(&ctx->wqh, &wait); in eventfd_write() 296 __remove_wait_queue(&ctx->wqh, &wait); in eventfd_write()
|
D | select.c | 134 remove_wait_queue(entry->wait_address, &entry->wait); in free_poll_entry() 184 static int __pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in __pollwake() argument 186 struct poll_wqueues *pwq = wait->private; in __pollwake() 210 static int pollwake(wait_queue_entry_t *wait, unsigned mode, int sync, void *key) in pollwake() argument 214 entry = container_of(wait, struct poll_table_entry, wait); in pollwake() 217 return __pollwake(wait, mode, sync, key); in pollwake() 231 init_waitqueue_func_entry(&entry->wait, pollwake); in __pollwait() 232 entry->wait.private = pwq; in __pollwait() 233 add_wait_queue(wait_address, &entry->wait); in __pollwait() 440 static inline void wait_key_set(poll_table *wait, unsigned long in, in wait_key_set() argument [all …]
|
D | sync.c | 31 static int __sync_filesystem(struct super_block *sb, int wait) in __sync_filesystem() argument 33 if (wait) in __sync_filesystem() 39 sb->s_op->sync_fs(sb, wait); in __sync_filesystem() 40 return __sync_blockdev(sb->s_bdev, wait); in __sync_filesystem() 110 int nowait = 0, wait = 1; in ksys_sync() local 115 iterate_supers(sync_fs_one_sb, &wait); in ksys_sync()
|
D | pipe.c | 123 DEFINE_WAIT(wait); in pipe_wait() 129 prepare_to_wait(&pipe->wait, &wait, TASK_INTERRUPTIBLE); in pipe_wait() 132 finish_wait(&pipe->wait, &wait); in pipe_wait() 359 wake_up_interruptible_sync_poll(&pipe->wait, EPOLLOUT | EPOLLWRNORM); in pipe_read() 368 wake_up_interruptible_sync_poll(&pipe->wait, EPOLLOUT | EPOLLWRNORM); in pipe_read() 495 wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM); in pipe_write() 506 wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM); in pipe_write() 543 pipe_poll(struct file *filp, poll_table *wait) in pipe_poll() argument 549 poll_wait(filp, &pipe->wait, wait); in pipe_poll() 600 …wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM | EPOL… in pipe_release() [all …]
|
/linux-4.19.296/fs/f2fs/ |
D | gc.h | 72 unsigned int *wait) in increase_sleep_time() argument 77 if (*wait == gc_th->no_gc_sleep_time) in increase_sleep_time() 80 if ((long long)*wait + (long long)min_time > (long long)max_time) in increase_sleep_time() 81 *wait = max_time; in increase_sleep_time() 83 *wait += min_time; in increase_sleep_time() 87 unsigned int *wait) in decrease_sleep_time() argument 91 if (*wait == gc_th->no_gc_sleep_time) in decrease_sleep_time() 92 *wait = gc_th->max_sleep_time; in decrease_sleep_time() 94 if ((long long)*wait - (long long)min_time < (long long)min_time) in decrease_sleep_time() 95 *wait = min_time; in decrease_sleep_time() [all …]
|
/linux-4.19.296/include/linux/ |
D | smp.h | 33 int wait); 38 int on_each_cpu(smp_call_func_t func, void *info, int wait); 45 void *info, bool wait); 53 smp_call_func_t func, void *info, bool wait, 100 int smp_call_function(smp_call_func_t func, void *info, int wait); 102 smp_call_func_t func, void *info, bool wait); 105 smp_call_func_t func, void *info, int wait); 147 #define smp_call_function(func, info, wait) \ argument 152 #define smp_call_function_many(mask, func, info, wait) \ argument 158 void *info, int wait) in smp_call_function_any() argument [all …]
|
D | umh.h | 26 int wait; member 35 call_usermodehelper(const char *path, char **argv, char **envp, int wait); 54 call_usermodehelper_exec(struct subprocess_info *info, int wait);
|
D | completion.h | 28 wait_queue_head_t wait; member 37 { 0, __WAIT_QUEUE_HEAD_INITIALIZER((work).wait) } 88 init_waitqueue_head(&x->wait); in __init_completion()
|
/linux-4.19.296/fs/squashfs/ |
D | decompressor_multi.c | 45 wait_queue_head_t wait; member 61 wake_up(&stream->wait); in put_decomp_stream() 78 init_waitqueue_head(&stream->wait); in squashfs_decompressor_create() 151 goto wait; in get_decomp_stream() 156 goto wait; in get_decomp_stream() 162 goto wait; in get_decomp_stream() 170 wait: in get_decomp_stream() 177 wait_event(stream->wait, in get_decomp_stream()
|
/linux-4.19.296/include/trace/events/ |
D | module.h | 109 TP_PROTO(char *name, bool wait, unsigned long ip), 111 TP_ARGS(name, wait, ip), 115 __field( bool, wait ) 121 __entry->wait = wait; 126 __get_str(name), (int)__entry->wait, (void *)__entry->ip)
|
/linux-4.19.296/drivers/hid/ |
D | hid-roccat.c | 47 wait_queue_head_t wait; member 83 DECLARE_WAITQUEUE(wait, current); in roccat_read() 89 add_wait_queue(&device->wait, &wait); in roccat_read() 114 remove_wait_queue(&device->wait, &wait); in roccat_read() 140 static __poll_t roccat_poll(struct file *file, poll_table *wait) in roccat_poll() argument 143 poll_wait(file, &reader->device->wait, wait); in roccat_poll() 286 wake_up_interruptible(&device->wait); in roccat_report_event() 341 init_waitqueue_head(&device->wait); in roccat_connect() 376 wake_up_interruptible(&device->wait); in roccat_disconnect()
|
/linux-4.19.296/block/ |
D | blk-exec.c | 97 DECLARE_COMPLETION_ONSTACK(wait); in blk_execute_rq() 100 rq->end_io_data = &wait; in blk_execute_rq() 106 while (!wait_for_completion_io_timeout(&wait, hang_check * (HZ/2))); in blk_execute_rq() 108 wait_for_completion_io(&wait); in blk_execute_rq()
|
/linux-4.19.296/fs/ceph/ |
D | locks.c | 60 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message() argument 80 wait = 0; in ceph_lock_message() 100 wait, fl->fl_type); in ceph_lock_message() 108 req->r_args.filelock_change.wait = wait; in ceph_lock_message() 110 if (wait) in ceph_lock_message() 136 length, wait, fl->fl_type, err); in ceph_lock_message() 219 u8 wait = 0; in ceph_lock() local 234 wait = 1; in ceph_lock() 263 err = ceph_lock_message(CEPH_LOCK_FCNTL, op, inode, lock_cmd, wait, fl); in ceph_lock() 287 u8 wait = 0; in ceph_flock() local [all …]
|
/linux-4.19.296/drivers/isdn/mISDN/ |
D | timerdev.c | 40 wait_queue_head_t wait; member 67 init_waitqueue_head(&dev->wait); in mISDN_open() 121 wait_event_interruptible(dev->wait, (dev->work || in mISDN_read() 145 mISDN_poll(struct file *filep, poll_table *wait) in mISDN_poll() argument 151 printk(KERN_DEBUG "%s(%p, %p)\n", __func__, filep, wait); in mISDN_poll() 153 poll_wait(filep, &dev->wait, wait); in mISDN_poll() 173 wake_up_interruptible(&timer->dev->wait); in dev_expire_timer() 185 wake_up_interruptible(&dev->wait); in misdn_add_timer()
|
/linux-4.19.296/fs/ecryptfs/ |
D | kthread.c | 42 wait_queue_head_t wait; member 63 ecryptfs_kthread_ctl.wait, in ecryptfs_threadfn() 91 init_waitqueue_head(&ecryptfs_kthread_ctl.wait); in ecryptfs_init_kthread() 117 wake_up(&ecryptfs_kthread_ctl.wait); in ecryptfs_destroy_kthread() 166 wake_up(&ecryptfs_kthread_ctl.wait); in ecryptfs_privileged_open()
|
/linux-4.19.296/drivers/misc/ibmasm/ |
D | r_heartbeat.c | 51 init_waitqueue_head(&rhb->wait); in ibmasm_init_reverse_heartbeat() 80 wait_event_interruptible_timeout(rhb->wait, in ibmasm_start_reverse_heartbeat() 98 wake_up_interruptible(&rhb->wait); in ibmasm_stop_reverse_heartbeat()
|
D | event.c | 45 wake_up_interruptible(&reader->wait); in wake_up_event_readers() 100 if (wait_event_interruptible(reader->wait, in ibmasm_get_next_event() 127 wake_up_interruptible(&reader->wait); in ibmasm_cancel_next_event() 135 init_waitqueue_head(&reader->wait); in ibmasm_event_reader_register()
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | divasi.c | 77 static __poll_t um_idi_poll(struct file *file, poll_table *wait); 355 static __poll_t um_idi_poll(struct file *file, poll_table *wait) in um_idi_poll() argument 370 poll_wait(file, &p_os->read_wait, wait); in um_idi_poll() 495 DECLARE_WAITQUEUE(wait, curtask); in remove_entity() 497 add_wait_queue(&p_os->close_wait, &wait); in remove_entity() 507 remove_wait_queue(&p_os->close_wait, &wait); in remove_entity() 512 DECLARE_WAITQUEUE(wait, curtask); in remove_entity() 514 add_wait_queue(&p_os->close_wait, &wait); in remove_entity() 524 remove_wait_queue(&p_os->close_wait, &wait); in remove_entity()
|
/linux-4.19.296/drivers/char/ |
D | snsc.c | 188 DECLARE_WAITQUEUE(wait, current); in scdrv_read() 198 add_wait_queue(&sd->sd_rq, &wait); in scdrv_read() 203 remove_wait_queue(&sd->sd_rq, &wait); in scdrv_read() 285 DECLARE_WAITQUEUE(wait, current); in scdrv_write() 294 add_wait_queue(&sd->sd_wq, &wait); in scdrv_write() 299 remove_wait_queue(&sd->sd_wq, &wait); in scdrv_write() 325 scdrv_poll(struct file *file, struct poll_table_struct *wait) in scdrv_poll() argument 332 poll_wait(file, &sd->sd_rq, wait); in scdrv_poll() 333 poll_wait(file, &sd->sd_wq, wait); in scdrv_poll()
|
/linux-4.19.296/crypto/ |
D | algif_hash.c | 29 struct crypto_wait wait; member 86 err = crypto_wait_req(crypto_ahash_init(&ctx->req), &ctx->wait); in hash_sendmsg() 108 &ctx->wait); in hash_sendmsg() 127 &ctx->wait); in hash_sendmsg() 168 err = crypto_wait_req(err, &ctx->wait); in hash_sendpage() 176 err = crypto_wait_req(err, &ctx->wait); in hash_sendpage() 213 &ctx->wait); in hash_recvmsg() 221 &ctx->wait); in hash_recvmsg() 442 crypto_init_wait(&ctx->wait); in hash_accept_parent_nokey() 448 crypto_req_done, &ctx->wait); in hash_accept_parent_nokey()
|
/linux-4.19.296/drivers/char/hw_random/ |
D | mtk-rng.c | 79 static bool mtk_rng_wait_ready(struct hwrng *rng, bool wait) in mtk_rng_wait_ready() argument 85 if (!ready && wait) in mtk_rng_wait_ready() 92 static int mtk_rng_read(struct hwrng *rng, void *buf, size_t max, bool wait) in mtk_rng_read() argument 100 if (!mtk_rng_wait_ready(rng, wait)) in mtk_rng_read() 112 return retval || !wait ? retval : -EIO; in mtk_rng_read()
|
/linux-4.19.296/include/media/ |
D | dvb_vb2.h | 127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0) argument 131 poll_table *wait) in dvb_vb2_poll() argument 187 poll_table *wait);
|
/linux-4.19.296/fs/orangefs/ |
D | orangefs-bufmap.c | 46 DEFINE_WAIT(wait); in run_down() 50 if (likely(list_empty(&wait.entry))) in run_down() 51 __add_wait_queue_entry_tail(&m->q, &wait); in run_down() 61 __remove_wait_queue(&m->q, &wait); in run_down() 84 DEFINE_WAIT(wait); in wait_for_free() 88 if (likely(list_empty(&wait.entry))) in wait_for_free() 89 __add_wait_queue_entry_tail_exclusive(&m->q, &wait); in wait_for_free() 112 if (!list_empty(&wait.entry)) in wait_for_free() 113 list_del(&wait.entry); in wait_for_free()
|
/linux-4.19.296/drivers/s390/char/ |
D | fs3270.c | 40 wait_queue_head_t wait; /* Init & attention wait queue. */ member 71 rq->callback_data = &fp->wait; in fs3270_do_io() 76 rc = wait_event_interruptible(fp->wait, in fs3270_do_io() 84 wait_event(fp->wait, raw3270_request_final(rq)); in fs3270_do_io() 100 wake_up(&fp->wait); in fs3270_reset_callback() 115 wake_up(&fp->wait); in fs3270_restore_callback() 187 wake_up(&fp->wait); in fs3270_save_callback() 227 wake_up(&fp->wait); in fs3270_irq() 264 rc = wait_event_interruptible(fp->wait, fp->attention); in fs3270_read() 464 init_waitqueue_head(&fp->wait); in fs3270_open()
|