Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_event.c
Show First 20 Lines • Show All 338 Lines • ▼ Show 20 Lines | static struct { | ||||
{ &proc_filtops, 1 }, /* EVFILT_PROC */ | { &proc_filtops, 1 }, /* EVFILT_PROC */ | ||||
{ &sig_filtops, 1 }, /* EVFILT_SIGNAL */ | { &sig_filtops, 1 }, /* EVFILT_SIGNAL */ | ||||
{ &timer_filtops, 1 }, /* EVFILT_TIMER */ | { &timer_filtops, 1 }, /* EVFILT_TIMER */ | ||||
{ &file_filtops, 1 }, /* EVFILT_PROCDESC */ | { &file_filtops, 1 }, /* EVFILT_PROCDESC */ | ||||
{ &fs_filtops, 1 }, /* EVFILT_FS */ | { &fs_filtops, 1 }, /* EVFILT_FS */ | ||||
{ &null_filtops }, /* EVFILT_LIO */ | { &null_filtops }, /* EVFILT_LIO */ | ||||
{ &user_filtops, 1 }, /* EVFILT_USER */ | { &user_filtops, 1 }, /* EVFILT_USER */ | ||||
{ &null_filtops }, /* EVFILT_SENDFILE */ | { &null_filtops }, /* EVFILT_SENDFILE */ | ||||
{ &file_filtops, 1 }, /* EVFILT_EMPTY */ | |||||
}; | }; | ||||
/* | /* | ||||
* Simple redirection for all cdevsw style objects to call their fo_kqfilter | * Simple redirection for all cdevsw style objects to call their fo_kqfilter | ||||
* method. | * method. | ||||
*/ | */ | ||||
static int | static int | ||||
filt_fileattach(struct knote *kn) | filt_fileattach(struct knote *kn) | ||||
▲ Show 20 Lines • Show All 2,179 Lines • Show Last 20 Lines |