/linux-6.6.21/kernel/ |
D | watch_queue.c | 42 static inline bool lock_wqueue(struct watch_queue *wqueue) in lock_wqueue() argument 44 spin_lock_bh(&wqueue->lock); in lock_wqueue() 45 if (unlikely(!wqueue->pipe)) { in lock_wqueue() 46 spin_unlock_bh(&wqueue->lock); in lock_wqueue() 52 static inline void unlock_wqueue(struct watch_queue *wqueue) in unlock_wqueue() argument 54 spin_unlock_bh(&wqueue->lock); in unlock_wqueue() 60 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release() local 76 set_bit(bit, wqueue->notes_bitmap); in watch_queue_pipe_buf_release() 97 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification() argument 101 struct pipe_inode_info *pipe = wqueue->pipe; in post_one_notification() [all …]
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | watch_queue.rst | 126 * ``void put_watch_queue(struct watch_queue *wqueue);`` 159 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);`` 171 struct watch_queue *wqueue, 174 从观测列表中删除一个观测,该观测必须与指定的观测队列(``wqueue``)和对象标识
|
/linux-6.6.21/drivers/media/rc/ |
D | ir-rx51.c | 25 wait_queue_head_t wqueue; member 98 wake_up_interruptible(&ir_rx51->wqueue); in ir_rx51_timer_cb() 114 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx() 134 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx()
|
/linux-6.6.21/drivers/net/ieee802154/ |
D | adf7242.c | 278 struct workqueue_struct *wqueue; member 579 mod_delayed_work(lp->wqueue, &lp->work, msecs_to_jiffies(400)); in adf7242_cmd_rx() 979 mod_delayed_work(lp->wqueue, &lp->work, msecs_to_jiffies(400)); in adf7242_isr() 1264 lp->wqueue = alloc_ordered_workqueue(dev_name(&spi->dev), in adf7242_probe() 1266 if (unlikely(!lp->wqueue)) { in adf7242_probe() 1300 destroy_workqueue(lp->wqueue); in adf7242_probe() 1317 destroy_workqueue(lp->wqueue); in adf7242_remove()
|
/linux-6.6.21/security/keys/ |
D | keyctl.c | 1775 struct watch_queue *wqueue; in keyctl_watch_key() local 1790 wqueue = get_watch_queue(watch_queue_fd); in keyctl_watch_key() 1791 if (IS_ERR(wqueue)) { in keyctl_watch_key() 1792 ret = PTR_ERR(wqueue); in keyctl_watch_key() 1809 init_watch(watch, wqueue); in keyctl_watch_key() 1833 wqueue, key_serial(key), in keyctl_watch_key() 1844 put_watch_queue(wqueue); in keyctl_watch_key()
|
/linux-6.6.21/include/linux/ |
D | pktcdvd.h | 172 wait_queue_head_t wqueue; member
|
/linux-6.6.21/fs/jfs/ |
D | jfs_logmgr.c | 1408 log->wqueue = NULL; in lmLogInit() 1798 log->wqueue = NULL; in lbmLogInit() 2036 tail = log->wqueue; in lbmWrite() 2042 log->wqueue = bp; in lbmWrite() 2045 log->wqueue = bp; in lbmWrite() 2228 tail = log->wqueue; in lbmIODone() 2236 log->wqueue = NULL; in lbmIODone()
|
D | jfs_logmgr.h | 398 struct lbuf *wqueue; /* 4: log pageout queue */ member
|
/linux-6.6.21/Documentation/core-api/ |
D | watch_queue.rst | 137 * ``void put_watch_queue(struct watch_queue *wqueue);`` 173 * ``void init_watch(struct watch *watch, struct watch_queue *wqueue);`` 187 struct watch_queue *wqueue, 191 watch queue (``wqueue``) and object identifier (``id``). A notification
|
/linux-6.6.21/drivers/net/ |
D | tap.c | 493 wait_queue_head_t *wqueue; in tap_sock_write_space() local 499 wqueue = sk_sleep(sk); in tap_sock_write_space() 500 if (wqueue && waitqueue_active(wqueue)) in tap_sock_write_space() 501 wake_up_interruptible_poll(wqueue, EPOLLOUT | EPOLLWRNORM | EPOLLWRBAND); in tap_sock_write_space()
|
D | tun.c | 2420 wait_queue_head_t *wqueue; in tun_sock_write_space() local 2428 wqueue = sk_sleep(sk); in tun_sock_write_space() 2429 if (wqueue && waitqueue_active(wqueue)) in tun_sock_write_space() 2430 wake_up_interruptible_sync_poll(wqueue, EPOLLOUT | in tun_sock_write_space()
|
/linux-6.6.21/drivers/block/ |
D | pktcdvd.c | 539 wake_up(&pd->wqueue); in pkt_bio_finished() 838 wake_up(&pd->wqueue); in pkt_queue_bio() 980 wake_up(&pd->wqueue); in pkt_end_io_read() 999 wake_up(&pd->wqueue); in pkt_end_io_packet_write() 1422 add_wait_queue(&pd->wqueue, &wait); in kcdrwd() 1473 remove_wait_queue(&pd->wqueue, &wait); in kcdrwd() 2363 wake_up(&pd->wqueue); in pkt_make_request_write() 2418 wake_up(&pd->wqueue); in pkt_make_request_write() 2424 wake_up(&pd->wqueue); in pkt_make_request_write() 2664 init_waitqueue_head(&pd->wqueue); in pkt_setup_dev()
|
/linux-6.6.21/drivers/md/ |
D | md.h | 735 wait_queue_head_t wqueue; member
|
D | md-cluster.c | 537 wait_event(thread->wqueue, in process_metadata_update()
|
D | md.c | 7988 (thread->wqueue, in md_thread() 8023 wake_up(&t->wqueue); in md_wakeup_thread() 8038 init_waitqueue_head(&thread->wqueue); in md_register_thread()
|