Replacement for kqueue within kernel mode

In FreeBSD version 14.0, it appears that the kqueue and kevent calls are not supported within kernel modules. Could you please provide information about the alternative or replacement calls that can be used under kernel mode?
 
Kqueue and kevent are not library calls; they are system calls. However, they are typically used in user space. These functions are declared in the event.h header file under the else part of "#ifdef _KERNEL" section. I would like to know what function should be used for kqueues within a kernel module; should I be using knote and knlist?
 
Back
Top