Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
Dpktcdvd.h181 wait_queue_head_t wqueue; member
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.c2432 wait_queue_head_t *wqueue; in tun_sock_write_space() local
2440 wqueue = sk_sleep(sk); in tun_sock_write_space()
2441 if (wqueue && waitqueue_active(wqueue)) in tun_sock_write_space()
2442 wake_up_interruptible_sync_poll(wqueue, EPOLLOUT | in tun_sock_write_space()
/kernel/linux/linux-5.10/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()
1379 add_wait_queue(&pd->wqueue, &wait); in kcdrwd()
1434 remove_wait_queue(&pd->wqueue, &wait); in kcdrwd()
2313 wake_up(&pd->wqueue); in pkt_make_request_write()
2360 wake_up(&pd->wqueue); in pkt_make_request_write()
2366 wake_up(&pd->wqueue); in pkt_make_request_write()
2670 init_waitqueue_head(&pd->wqueue); in pkt_setup_dev()
/kernel/linux/linux-5.10/drivers/md/
Dmd.h679 wait_queue_head_t wqueue; member
Dmd-cluster.c533 wait_event(mddev->thread->wqueue, in process_metadata_update()
Dmd.c7916 (thread->wqueue, in md_thread()
7936 wake_up(&thread->wqueue); in md_wakeup_thread()
7950 init_waitqueue_head(&thread->wqueue); in md_register_thread()