Home
last modified time | relevance | path

Searched refs:poll_to_key (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dwait.h226 #define poll_to_key(m) ((void *)(__force uintptr_t)(__poll_t)(m)) macro
229 __wake_up(x, TASK_NORMAL, 1, poll_to_key(m))
231 __wake_up_locked_key((x), TASK_NORMAL, poll_to_key(m))
233 __wake_up(x, TASK_INTERRUPTIBLE, 1, poll_to_key(m))
235 __wake_up_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
237 __wake_up_locked_sync_key((x), TASK_INTERRUPTIBLE, poll_to_key(m))
/kernel/linux/linux-5.10/kernel/sched/
Dwait.c228 __wake_up(wq_head, TASK_NORMAL, 0, poll_to_key(EPOLLHUP | POLLFREE)); in __wake_up_pollfree()
/kernel/linux/linux-5.10/drivers/vhost/
Dvhost.c213 vhost_poll_wakeup(&poll->wait, 0, 0, poll_to_key(mask)); in vhost_poll_start()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c1649 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_ev_posted()
1656 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_ev_posted()
1667 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_ev_posted_iopoll()
1673 poll_to_key(EPOLL_URING_WAKE | EPOLLIN)); in io_cqring_ev_posted_iopoll()