Searched refs:wqueue (Results 1 – 8 of 8) sorted by relevance
| /linux/kernel/ |
| H A 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/Documentation/translations/zh_CN/core-api/ |
| H A 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/drivers/net/ieee802154/ |
| H A 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/security/keys/ |
| H A 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/drivers/net/ |
| H A D | tap.c | 428 wait_queue_head_t *wqueue; in tap_sock_write_space() local 434 wqueue = sk_sleep(sk); in tap_sock_write_space() 435 if (wqueue && waitqueue_active(wqueue)) in tap_sock_write_space() 436 wake_up_interruptible_poll(wqueue, EPOLLOUT | EPOLLWRNORM | EPOLLWRBAND); in tap_sock_write_space()
|
| /linux/fs/jfs/ |
| H A D | jfs_logmgr.c | 1407 log->wqueue = NULL; in lmLogInit() 1797 log->wqueue = NULL; in lbmLogInit() 2035 tail = log->wqueue; in lbmWrite() 2041 log->wqueue = bp; in lbmWrite() 2044 log->wqueue = bp; in lbmWrite() 2232 tail = log->wqueue; in lbmIODone() 2240 log->wqueue = NULL; in lbmIODone()
|
| H A D | jfs_logmgr.h | 398 struct lbuf *wqueue; /* 4: log pageout queue */ member
|
| /linux/Documentation/core-api/ |
| H A 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
|