/fs/proc/ |
D | inode.c | 249 typeof_member(struct file_operations, poll) poll; in proc_reg_poll() 251 poll = pde->proc_fops->poll; in proc_reg_poll() 252 if (poll) in proc_reg_poll() 253 rv = poll(file, pts); in proc_reg_poll() 404 .poll = proc_reg_poll, 420 .poll = proc_reg_poll,
|
D | proc_sysctl.c | 51 void proc_sys_poll_notify(struct ctl_table_poll *poll) in proc_sys_poll_notify() argument 53 if (!poll) in proc_sys_poll_notify() 56 atomic_inc(&poll->event); in proc_sys_poll_notify() 57 wake_up_interruptible(&poll->wait); in proc_sys_poll_notify() 648 if (table->poll) in proc_sys_open() 649 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_open() 671 if (!table->poll) in proc_sys_poll() 675 poll_wait(filp, &table->poll->wait, wait); in proc_sys_poll() 677 if (event != atomic_read(&table->poll->event)) { in proc_sys_poll() 678 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_poll() [all …]
|
D | kmsg.c | 54 .poll = kmsg_poll,
|
/fs/ |
D | io_uring.c | 308 struct io_poll_iocb poll; member 1703 struct io_poll_iocb *poll = &req->poll; in io_poll_remove_one() local 1705 spin_lock(&poll->head->lock); in io_poll_remove_one() 1706 WRITE_ONCE(poll->canceled, true); in io_poll_remove_one() 1707 if (!list_empty(&poll->wait.entry)) { in io_poll_remove_one() 1708 list_del_init(&poll->wait.entry); in io_poll_remove_one() 1711 spin_unlock(&poll->head->lock); in io_poll_remove_one() 1762 req->poll.done = true; in io_poll_complete() 1770 struct io_poll_iocb *poll = &req->poll; in io_poll_complete_work() local 1771 struct poll_table_struct pt = { ._key = poll->events }; in io_poll_complete_work() [all …]
|
D | select.c | 1027 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll() 1028 int nfds = restart_block->poll.nfds; in do_restart_poll() 1032 if (restart_block->poll.has_timeout) { in do_restart_poll() 1033 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll() 1034 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll() 1047 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument 1066 restart_block->poll.ufds = ufds; in SYSCALL_DEFINE3() 1067 restart_block->poll.nfds = nfds; in SYSCALL_DEFINE3() 1070 restart_block->poll.tv_sec = end_time.tv_sec; in SYSCALL_DEFINE3() 1071 restart_block->poll.tv_nsec = end_time.tv_nsec; in SYSCALL_DEFINE3() [all …]
|
D | proc_namespace.c | 29 poll_wait(file, &p->ns->poll, wait); in mounts_poll() 327 .poll = mounts_poll, 335 .poll = mounts_poll,
|
D | aio.c | 202 struct poll_iocb poll; member 1616 struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, poll); in aio_poll_complete_work() 1649 struct poll_iocb *req = &aiocb->poll; in aio_poll_cancel() 1655 schedule_work(&aiocb->poll.work); in aio_poll_cancel() 1666 struct aio_kiocb *iocb = container_of(req, struct aio_kiocb, poll); in aio_poll_wake() 1707 if (unlikely(pt->iocb->poll.head)) { in aio_poll_queue_proc() 1713 pt->iocb->poll.head = head; in aio_poll_queue_proc() 1714 add_wait_queue(head, &pt->iocb->poll.wait); in aio_poll_queue_proc() 1720 struct poll_iocb *req = &aiocb->poll; in aio_poll()
|
D | mount.h | 16 wait_queue_head_t poll; member
|
D | eventfd.c | 316 .poll = eventfd_poll,
|
D | signalfd.c | 258 .poll = signalfd_poll,
|
D | timerfd.c | 367 .poll = timerfd_poll,
|
D | pipe.c | 1028 .poll = pipe_poll,
|
/fs/kernfs/ |
D | file.c | 37 wait_queue_head_t poll; member 577 init_waitqueue_head(&new_on->poll); in kernfs_get_open_node() 839 poll_wait(of->file, &on->poll, wait); in kernfs_generic_poll() 856 if (kn->attr.ops->poll) in kernfs_fop_poll() 857 ret = kn->attr.ops->poll(of, wait); in kernfs_fop_poll() 945 wake_up_interruptible(&on->poll); in kernfs_notify() 968 .poll = kernfs_fop_poll,
|
/fs/cachefiles/ |
D | daemon.c | 53 .poll = cachefiles_daemon_poll, 291 struct poll_table_struct *poll) in cachefiles_daemon_poll() argument 296 poll_wait(file, &cache->daemon_pollwq, poll); in cachefiles_daemon_poll()
|
/fs/xfs/ |
D | xfs_iwalk.h | 26 unsigned int inode_records, bool poll, void *data);
|
/fs/notify/inotify/ |
D | Kconfig | 10 descriptor, which is also select()- and poll()-able.
|
D | inotify_user.c | 322 .poll = inotify_poll,
|
/fs/debugfs/ |
D | file.c | 248 r = real_fops->poll(filp, wait); in full_proxy_poll() 285 if (real_fops->poll) in __full_proxy_fops_init() 286 proxy_fops->poll = full_proxy_poll; in __full_proxy_fops_init()
|
/fs/coda/ |
D | psdev.c | 353 .poll = coda_psdev_poll,
|
/fs/ecryptfs/ |
D | miscdev.c | 448 .poll = ecryptfs_miscdev_poll,
|
/fs/fuse/ |
D | cuse.c | 188 .poll = fuse_file_poll,
|
/fs/dlm/ |
D | plock.c | 480 .poll = dev_poll,
|
/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 566 .poll = dlmfs_file_poll,
|
/fs/orangefs/ |
D | devorangefs-req.c | 780 .poll = orangefs_devreq_poll
|
/fs/incfs/ |
D | vfs.c | 138 .poll = pending_reads_poll, 148 .poll = log_poll,
|