Home
last modified time | relevance | path

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

/linux-6.15/kernel/
H A Dwatch_queue.c114 note = find_first_bit(wqueue->notes_bitmap, wqueue->nr_notes); in post_one_notification()
245 if (!wqueue) in watch_queue_set_size()
247 if (wqueue->notes) in watch_queue_set_size()
297 wqueue->notes = pages; in watch_queue_set_size()
325 if (!wqueue) in watch_queue_set_filter()
403 kfree(wqueue->notes); in __put_watch_queue()
615 wqueue->pipe = NULL; in watch_queue_clear()
684 return wqueue; in get_watch_queue()
695 wqueue = kzalloc(sizeof(*wqueue), GFP_KERNEL); in watch_queue_init()
696 if (!wqueue) in watch_queue_init()
[all …]
/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dwatch_queue.rst126 * ``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.15/drivers/power/supply/
H A Dmax77705_charger.c47 queue_work(charger->wqueue, &charger->chgin_work); in max77705_chgin_irq()
547 chg->wqueue = create_singlethread_workqueue(dev_name(dev)); in max77705_charger_probe()
548 if (IS_ERR(chg->wqueue)) in max77705_charger_probe()
549 return dev_err_probe(dev, PTR_ERR(chg->wqueue), "failed to create workqueue\n"); in max77705_charger_probe()
/linux-6.15/drivers/net/ieee802154/
H A 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()
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.15/security/keys/
H A Dkeyctl.c1775 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.15/include/linux/
H A Dpktcdvd.h174 wait_queue_head_t wqueue; member
/linux-6.15/drivers/net/
H A Dtap.c428 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()
H A Dtun.c2330 wait_queue_head_t *wqueue; in tun_sock_write_space() local
2338 wqueue = sk_sleep(sk); in tun_sock_write_space()
2339 if (wqueue && waitqueue_active(wqueue)) in tun_sock_write_space()
2340 wake_up_interruptible_sync_poll(wqueue, EPOLLOUT | in tun_sock_write_space()
/linux-6.15/fs/jfs/
H A 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()
2233 tail = log->wqueue; in lbmIODone()
2241 log->wqueue = NULL; in lbmIODone()
H A Djfs_logmgr.h398 struct lbuf *wqueue; /* 4: log pageout queue */ member
/linux-6.15/include/linux/power/
H A Dmax77705_charger.h190 struct workqueue_struct *wqueue; member
/linux-6.15/Documentation/core-api/
H A 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-6.15/drivers/block/
H A Dpktcdvd.c538 wake_up(&pd->wqueue); in pkt_bio_finished()
843 wake_up(&pd->wqueue); in pkt_queue_bio()
985 wake_up(&pd->wqueue); in pkt_end_io_read()
1004 wake_up(&pd->wqueue); in pkt_end_io_packet_write()
1428 add_wait_queue(&pd->wqueue, &wait); in kcdrwd()
1479 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()
2658 init_waitqueue_head(&pd->wqueue); in pkt_setup_dev()
/linux-6.15/drivers/md/
H A Dmd.h849 wait_queue_head_t wqueue; member
H A Dmd-cluster.c554 wait_event(thread->wqueue, in process_metadata_update()
H A Dmd.c8051 (thread->wqueue, in md_thread()
8086 if (wq_has_sleeper(&t->wqueue)) in md_wakeup_thread()
8087 wake_up(&t->wqueue); in md_wakeup_thread()
8102 init_waitqueue_head(&thread->wqueue); in md_register_thread()