Home
last modified time | relevance | path

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

/freebsd/sys/compat/linux/
H A Dlinux_event.c85 static int epoll_register_kevent(struct thread *td, struct file *epfp,
87 static int epoll_fd_registered(struct thread *td, struct file *epfp,
89 static int epoll_delete_all_events(struct thread *td, struct file *epfp,
285 struct file *epfp, *fp; in linux_epoll_ctl() local
303 cap_rights_init_one(&rights, CAP_KQUEUE_CHANGE), &epfp); in linux_epoll_ctl()
306 if (epfp->f_type != DTYPE_KQUEUE) { in linux_epoll_ctl()
318 if (epfp == fp) { in linux_epoll_ctl()
333 error = epoll_delete_all_events(td, epfp, args->fd); in linux_epoll_ctl()
339 if (epoll_fd_registered(td, epfp, args->fd)) { in linux_epoll_ctl()
347 error = epoll_delete_all_events(td, epfp, args->fd); in linux_epoll_ctl()
[all …]