Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_event.c
| Show First 20 Lines • Show All 1,826 Lines • ▼ Show 20 Lines | kqueue_close(struct file *fp, struct thread *td) | ||||
| crfree(kq->kq_cred); | crfree(kq->kq_cred); | ||||
| free(kq, M_KQUEUE); | free(kq, M_KQUEUE); | ||||
| fp->f_data = NULL; | fp->f_data = NULL; | ||||
| return (0); | return (0); | ||||
| } | } | ||||
| static int | static int | ||||
| kqueue_fill_kinfo(struct file *fp, struct kinfo_file *kif, struct filedesc *fdp) | kqueue_fill_kinfo(struct file *fp, struct kinfo_file *kif, | ||||
| struct filedesc *fdp, int lkflags) | |||||
| { | { | ||||
| kif->kf_type = KF_TYPE_KQUEUE; | kif->kf_type = KF_TYPE_KQUEUE; | ||||
| return (0); | return (0); | ||||
| } | } | ||||
| static void | static void | ||||
| kqueue_wakeup(struct kqueue *kq) | kqueue_wakeup(struct kqueue *kq) | ||||
| ▲ Show 20 Lines • Show All 524 Lines • Show Last 20 Lines | |||||