Home
last modified time | relevance | path

Searched refs:wqueue (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/kernel/
Dwatch_queue.c43 static inline bool lock_wqueue(struct watch_queue *wqueue) in lock_wqueue() argument
45 spin_lock_bh(&wqueue->lock); in lock_wqueue()
46 if (unlikely(wqueue->defunct)) { in lock_wqueue()
47 spin_unlock_bh(&wqueue->lock); in lock_wqueue()
53 static inline void unlock_wqueue(struct watch_queue *wqueue) in unlock_wqueue() argument
55 spin_unlock_bh(&wqueue->lock); in unlock_wqueue()
61 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release() local
77 set_bit(bit, wqueue->notes_bitmap); in watch_queue_pipe_buf_release()
98 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification() argument
102 struct pipe_inode_info *pipe = wqueue->pipe; in post_one_notification()
[all …]
/linux-5.19.10/drivers/media/rc/
Dir-rx51.c25 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-5.19.10/drivers/net/ieee802154/
Dadf7242.c278 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()
1263 lp->wqueue = alloc_ordered_workqueue(dev_name(&spi->dev), in adf7242_probe()
1265 if (unlikely(!lp->wqueue)) { in adf7242_probe()
1299 destroy_workqueue(lp->wqueue); in adf7242_probe()
1316 destroy_workqueue(lp->wqueue); in adf7242_remove()
/linux-5.19.10/security/keys/
Dkeyctl.c1770 struct watch_queue *wqueue; in keyctl_watch_key() local
1785 wqueue = get_watch_queue(watch_queue_fd); in keyctl_watch_key()
1786 if (IS_ERR(wqueue)) { in keyctl_watch_key()
1787 ret = PTR_ERR(wqueue); in keyctl_watch_key()
1804 init_watch(watch, wqueue); in keyctl_watch_key()
1828 wqueue, key_serial(key), in keyctl_watch_key()
1839 put_watch_queue(wqueue); in keyctl_watch_key()
/linux-5.19.10/include/linux/
Dpktcdvd.h173 wait_queue_head_t wqueue; member
/linux-5.19.10/fs/jfs/
Djfs_logmgr.c1408 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()
Djfs_logmgr.h398 struct lbuf *wqueue; /* 4: log pageout queue */ member
/linux-5.19.10/Documentation/core-api/
Dwatch_queue.rst137 * ``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-5.19.10/drivers/net/
Dtap.c491 wait_queue_head_t *wqueue; in tap_sock_write_space() local
497 wqueue = sk_sleep(sk); in tap_sock_write_space()
498 if (wqueue && waitqueue_active(wqueue)) in tap_sock_write_space()
499 wake_up_interruptible_poll(wqueue, EPOLLOUT | EPOLLWRNORM | EPOLLWRBAND); in tap_sock_write_space()
Dtun.c2390 wait_queue_head_t *wqueue; in tun_sock_write_space() local
2398 wqueue = sk_sleep(sk); in tun_sock_write_space()
2399 if (wqueue && waitqueue_active(wqueue)) in tun_sock_write_space()
2400 wake_up_interruptible_sync_poll(wqueue, EPOLLOUT | in tun_sock_write_space()
/linux-5.19.10/drivers/block/
Dpktcdvd.c508 wake_up(&pd->wqueue); in pkt_bio_finished()
808 wake_up(&pd->wqueue); in pkt_queue_bio()
948 wake_up(&pd->wqueue); in pkt_end_io_read()
967 wake_up(&pd->wqueue); in pkt_end_io_packet_write()
1399 add_wait_queue(&pd->wqueue, &wait); in kcdrwd()
1454 remove_wait_queue(&pd->wqueue, &wait); in kcdrwd()
2332 wake_up(&pd->wqueue); in pkt_make_request_write()
2387 wake_up(&pd->wqueue); in pkt_make_request_write()
2393 wake_up(&pd->wqueue); in pkt_make_request_write()
2694 init_waitqueue_head(&pd->wqueue); in pkt_setup_dev()
/linux-5.19.10/drivers/md/
Dmd.h688 wait_queue_head_t wqueue; member
Dmd-cluster.c533 wait_event(mddev->thread->wqueue, in process_metadata_update()
Dmd.c7892 (thread->wqueue, in md_thread()
7912 wake_up(&thread->wqueue); in md_wakeup_thread()
7926 init_waitqueue_head(&thread->wqueue); in md_register_thread()