Home
last modified time | relevance | path

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

12

/fs/
Dselect.c457 if (f_op->poll) { in do_select()
460 mask = (*f_op->poll)(f.file, wait); in do_select()
764 if (f.file->f_op->poll) { in do_pollfd()
767 mask = f.file->f_op->poll(f.file, pwait); in do_pollfd()
937 struct pollfd __user *ufds = restart_block->poll.ufds; in do_restart_poll()
938 int nfds = restart_block->poll.nfds; in do_restart_poll()
942 if (restart_block->poll.has_timeout) { in do_restart_poll()
943 end_time.tv_sec = restart_block->poll.tv_sec; in do_restart_poll()
944 end_time.tv_nsec = restart_block->poll.tv_nsec; in do_restart_poll()
957 SYSCALL_DEFINE3(poll, struct pollfd __user *, ufds, unsigned int, nfds, in SYSCALL_DEFINE3() argument
[all …]
Dproc_namespace.c25 poll_wait(file, &p->ns->poll, wait); in mounts_poll()
315 .poll = mounts_poll,
323 .poll = mounts_poll,
Dmount.h12 wait_queue_head_t poll; member
Dbad_inode.c156 .poll = bad_file_poll,
Deventpoll.c806 return epi->ffd.file->f_op->poll(epi->ffd.file, pt) & epi->event.events; in ep_item_poll()
907 .poll = ep_eventpoll_poll,
1864 if (!tf.file->f_op->poll) in SYSCALL_DEFINE4()
Deventfd.c309 .poll = eventfd_poll,
Dsignalfd.c252 .poll = signalfd_poll,
Dtimerfd.c365 .poll = timerfd_poll,
Dnamespace.c773 wake_up_interruptible(&ns->poll); in touch_mnt_namespace()
784 wake_up_interruptible(&ns->poll); in __touch_mnt_namespace()
2722 init_waitqueue_head(&new_ns->poll); in alloc_mnt_ns()
Dpipe.c991 .poll = pipe_poll,
/fs/proc/
Dinode.c235 unsigned int (*poll)(struct file *, struct poll_table_struct *); in proc_reg_poll() local
237 poll = pde->proc_fops->poll; in proc_reg_poll()
238 if (poll) in proc_reg_poll()
239 rv = poll(file, pts); in proc_reg_poll()
380 .poll = proc_reg_poll,
396 .poll = proc_reg_poll,
Dproc_sysctl.c22 void proc_sys_poll_notify(struct ctl_table_poll *poll) in proc_sys_poll_notify() argument
24 if (!poll) in proc_sys_poll_notify()
27 atomic_inc(&poll->event); in proc_sys_poll_notify()
28 wake_up_interruptible(&poll->wait); in proc_sys_poll_notify()
536 if (table->poll) in proc_sys_open()
537 filp->private_data = proc_sys_poll_event(table->poll); in proc_sys_open()
559 if (!table->poll) in proc_sys_poll()
563 poll_wait(filp, &table->poll->wait, wait); in proc_sys_poll()
565 if (event != atomic_read(&table->poll->event)) { in proc_sys_poll()
566 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
585 init_waitqueue_head(&new_on->poll); in kernfs_get_open_node()
786 poll_wait(filp, &on->poll, wait); in kernfs_fop_poll()
822 wake_up_interruptible(&on->poll); in kernfs_notify_workfn()
901 .poll = kernfs_fop_poll,
/fs/cachefiles/
Ddaemon.c57 .poll = cachefiles_daemon_poll,
294 struct poll_table_struct *poll) in cachefiles_daemon_poll() argument
299 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.c320 .poll = inotify_poll,
/fs/ecryptfs/
Dmiscdev.c465 .poll = ecryptfs_miscdev_poll,
/fs/coda/
Dpsdev.c348 .poll = coda_psdev_poll,
/fs/dlm/
Dplock.c483 .poll = dev_poll,
Duser.c951 .poll = device_poll,
/fs/ocfs2/dlmfs/
Ddlmfs.c595 .poll = dlmfs_file_poll,
/fs/fuse/
Dcuse.c195 .poll = fuse_file_poll,
Dfile.c3073 .poll = fuse_file_poll,
3090 .poll = fuse_file_poll,
/fs/notify/fanotify/
Dfanotify_user.c437 .poll = fanotify_poll,

12