Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 32) sorted by relevance

12

/fs/proc/
Dinode.c249 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,
Dproc_sysctl.c51 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 …]
Dkmsg.c54 .poll = kmsg_poll,
/fs/
Dio_uring.c308 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 …]
Dselect.c1027 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 …]
Dproc_namespace.c29 poll_wait(file, &p->ns->poll, wait); in mounts_poll()
327 .poll = mounts_poll,
335 .poll = mounts_poll,
Daio.c202 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()
Dmount.h16 wait_queue_head_t poll; member
Deventfd.c316 .poll = eventfd_poll,
Dsignalfd.c258 .poll = signalfd_poll,
Dtimerfd.c367 .poll = timerfd_poll,
Dpipe.c1028 .poll = pipe_poll,
/fs/kernfs/
Dfile.c37 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/
Ddaemon.c53 .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/
Dxfs_iwalk.h26 unsigned int inode_records, bool poll, void *data);
/fs/notify/inotify/
DKconfig10 descriptor, which is also select()- and poll()-able.
Dinotify_user.c322 .poll = inotify_poll,
/fs/debugfs/
Dfile.c248 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/
Dpsdev.c353 .poll = coda_psdev_poll,
/fs/ecryptfs/
Dmiscdev.c448 .poll = ecryptfs_miscdev_poll,
/fs/fuse/
Dcuse.c188 .poll = fuse_file_poll,
/fs/dlm/
Dplock.c480 .poll = dev_poll,
/fs/ocfs2/dlmfs/
Ddlmfs.c566 .poll = dlmfs_file_poll,
/fs/orangefs/
Ddevorangefs-req.c780 .poll = orangefs_devreq_poll
/fs/incfs/
Dvfs.c138 .poll = pending_reads_poll,
148 .poll = log_poll,

12