Home
last modified time | relevance | path

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

12

/fs/
Dselect.c462 if (f_op->poll) { in do_select()
465 mask = (*f_op->poll)(f.file, wait); in do_select()
778 if (f.file->f_op->poll) { in do_pollfd()
781 mask = f.file->f_op->poll(f.file, pwait); in do_pollfd()
951 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
952 int nfds = restart_block->poll.nfds; in do_restart_poll()
956 if (restart_block->poll.has_timeout) { in do_restart_poll()
957 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
958 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
971 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
[all …]
Dproc_namespace.c26 poll_wait(file, &p->ns->poll, wait); in mounts_poll()
324 .poll = mounts_poll,
332 .poll = mounts_poll,
Dmount.h15 wait_queue_head_t poll; member
Deventfd.c344 .poll = eventfd_poll,
Dsignalfd.c250 .poll = signalfd_poll,
Deventpoll.c811 return epi->ffd.file->f_op->poll(epi->ffd.file, pt) & epi->event.events; in ep_item_poll()
909 .poll = ep_eventpoll_poll,
1889 if (!tf.file->f_op->poll) in SYSCALL_DEFINE4()
Dtimerfd.c366 .poll = timerfd_poll,
Dnamespace.c802 wake_up_interruptible(&ns->poll); in touch_mnt_namespace()
813 wake_up_interruptible(&ns->poll); in __touch_mnt_namespace()
2895 init_waitqueue_head(&new_ns->poll); in alloc_mnt_ns()
Dpipe.c1018 .poll = pipe_poll,
/fs/proc/
Dinode.c226 unsigned int (*poll)(struct file *, struct poll_table_struct *); in proc_reg_poll() local
228 poll = pde->proc_fops->poll; in proc_reg_poll()
229 if (poll) in proc_reg_poll()
230 rv = poll(file, pts); in proc_reg_poll()
371 .poll = proc_reg_poll,
387 .poll = proc_reg_poll,
Dproc_sysctl.c44 void proc_sys_poll_notify(struct ctl_table_poll *poll) in proc_sys_poll_notify() argument
46 if (!poll) in proc_sys_poll_notify()
49 atomic_inc(&poll->event); in proc_sys_poll_notify()
50 wake_up_interruptible(&poll->wait); in proc_sys_poll_notify()
578 if (table->poll) in proc_sys_open()
579 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_open()
601 if (!table->poll) in proc_sys_poll()
605 poll_wait(filp, &table->poll->wait, wait); in proc_sys_poll()
607 if (event != atomic_read(&table->poll->event)) { in proc_sys_poll()
608 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_poll()
[all …]
Dkmsg.c53 .poll = kmsg_poll,
/fs/kernfs/
Dfile.c38 wait_queue_head_t poll; member
579 init_waitqueue_head(&new_on->poll); in kernfs_get_open_node()
798 poll_wait(filp, &on->poll, wait); in kernfs_fop_poll()
834 wake_up_interruptible(&on->poll); in kernfs_notify_workfn()
913 .poll = kernfs_fop_poll,
/fs/cachefiles/
Ddaemon.c57 .poll = cachefiles_daemon_poll,
295 struct poll_table_struct *poll) in cachefiles_daemon_poll() argument
300 poll_wait(file, &cache->daemon_pollwq, poll); in cachefiles_daemon_poll()
/fs/notify/inotify/
DKconfig10 descriptor, which is also select()- and poll()-able.
Dinotify_user.c319 .poll = inotify_poll,
/fs/debugfs/
Dfile.c185 r = real_fops->poll(filp, wait); in full_proxy_poll()
222 if (real_fops->poll) in __full_proxy_fops_init()
223 proxy_fops->poll = full_proxy_poll; in __full_proxy_fops_init()
/fs/ecryptfs/
Dmiscdev.c465 .poll = ecryptfs_miscdev_poll,
/fs/coda/
Dpsdev.c348 .poll = coda_psdev_poll,
/fs/fuse/
Dcuse.c186 .poll = fuse_file_poll,
/fs/dlm/
Dplock.c483 .poll = dev_poll,
Duser.c953 .poll = device_poll,
/fs/ocfs2/dlmfs/
Ddlmfs.c587 .poll = dlmfs_file_poll,
/fs/orangefs/
Ddevorangefs-req.c844 .poll = orangefs_devreq_poll
/fs/notify/fanotify/
Dfanotify_user.c447 .poll = fanotify_poll,

12