Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/
Dwatch_queue.c40 struct watch_queue *wqueue = (struct watch_queue *)buf->private; in watch_queue_pipe_buf_release() local
56 set_bit(bit, wqueue->notes_bitmap); in watch_queue_pipe_buf_release()
72 static bool post_one_notification(struct watch_queue *wqueue, in post_one_notification() argument
76 struct pipe_inode_info *pipe = wqueue->pipe; in post_one_notification()
87 if (wqueue->defunct) in post_one_notification()
96 note = find_first_bit(wqueue->notes_bitmap, wqueue->nr_notes); in post_one_notification()
97 if (note >= wqueue->nr_notes) in post_one_notification()
100 page = wqueue->notes[note / WATCH_QUEUE_NOTES_PER_PAGE]; in post_one_notification()
110 buf->private = (unsigned long)wqueue; in post_one_notification()
117 if (!test_and_clear_bit(note, wqueue->notes_bitmap)) { in post_one_notification()
[all …]
/Linux-v5.15/drivers/media/rc/
Dir-rx51.c24 wait_queue_head_t wqueue; member
99 wake_up_interruptible(&ir_rx51->wqueue); in ir_rx51_timer_cb()
115 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx()
135 wait_event_interruptible(ir_rx51->wqueue, ir_rx51->wbuf_index < 0); in ir_rx51_tx()
/Linux-v5.15/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()
1314 destroy_workqueue(lp->wqueue); in adf7242_remove()
/Linux-v5.15/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-v5.15/include/linux/
Dpktcdvd.h181 wait_queue_head_t wqueue; member
/Linux-v5.15/fs/jfs/
Djfs_logmgr.c1416 log->wqueue = NULL; in lmLogInit()
1806 log->wqueue = NULL; in lbmLogInit()
2048 tail = log->wqueue; in lbmWrite()
2054 log->wqueue = bp; in lbmWrite()
2057 log->wqueue = bp; in lbmWrite()
2243 tail = log->wqueue; in lbmIODone()
2251 log->wqueue = NULL; in lbmIODone()
Djfs_logmgr.h398 struct lbuf *wqueue; /* 4: log pageout queue */ member
/Linux-v5.15/Documentation/
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-v5.15/drivers/net/
Dtap.c481 wait_queue_head_t *wqueue; in tap_sock_write_space() local
487 wqueue = sk_sleep(sk); in tap_sock_write_space()
488 if (wqueue && waitqueue_active(wqueue)) in tap_sock_write_space()
489 wake_up_interruptible_poll(wqueue, EPOLLOUT | EPOLLWRNORM | EPOLLWRBAND); in tap_sock_write_space()
Dtun.c2307 wait_queue_head_t *wqueue; in tun_sock_write_space() local
2315 wqueue = sk_sleep(sk); in tun_sock_write_space()
2316 if (wqueue && waitqueue_active(wqueue)) in tun_sock_write_space()
2317 wake_up_interruptible_sync_poll(wqueue, EPOLLOUT | in tun_sock_write_space()
/Linux-v5.15/drivers/block/
Dpktcdvd.c515 wake_up(&pd->wqueue); in pkt_bio_finished()
822 wake_up(&pd->wqueue); in pkt_queue_bio()
961 wake_up(&pd->wqueue); in pkt_end_io_read()
979 wake_up(&pd->wqueue); in pkt_end_io_packet_write()
1413 add_wait_queue(&pd->wqueue, &wait); in kcdrwd()
1468 remove_wait_queue(&pd->wqueue, &wait); in kcdrwd()
2346 wake_up(&pd->wqueue); in pkt_make_request_write()
2393 wake_up(&pd->wqueue); in pkt_make_request_write()
2399 wake_up(&pd->wqueue); in pkt_make_request_write()
2705 init_waitqueue_head(&pd->wqueue); in pkt_setup_dev()
/Linux-v5.15/drivers/md/
Dmd.h680 wait_queue_head_t wqueue; member
Dmd-cluster.c533 wait_event(mddev->thread->wqueue, in process_metadata_update()
Dmd.c7893 (thread->wqueue, in md_thread()
7913 wake_up(&thread->wqueue); in md_wakeup_thread()
7927 init_waitqueue_head(&thread->wqueue); in md_register_thread()