Searched hist:a6b28ee02a9bec5f48b40dab2261e9a797a70d94 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | poll.h | diff a6b28ee02a9bec5f48b40dab2261e9a797a70d94 Thu Jun 01 11:34:51 CEST 2017 Hans Petter Selasky <hselasky@FreeBSD.org> Add generic kqueue() and kevent() support to the LinuxKPI character devices. The implementation allows read and write filters to be created and piggybacks on the poll() file operation to determine when a filter should trigger. The piggyback mechanism is simply to check for the EWOULDBLOCK or EAGAIN return code from read(), write() or ioctl() system calls and then update the kqueue() polling state bits. The implementation is similar to the one found in the cuse(3) module. Refer to sys/fs/cuse/*.[ch] for more details.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
H A D | file.h | diff a6b28ee02a9bec5f48b40dab2261e9a797a70d94 Thu Jun 01 11:34:51 CEST 2017 Hans Petter Selasky <hselasky@FreeBSD.org> Add generic kqueue() and kevent() support to the LinuxKPI character devices. The implementation allows read and write filters to be created and piggybacks on the poll() file operation to determine when a filter should trigger. The piggyback mechanism is simply to check for the EWOULDBLOCK or EAGAIN return code from read(), write() or ioctl() system calls and then update the kqueue() polling state bits. The implementation is similar to the one found in the cuse(3) module. Refer to sys/fs/cuse/*.[ch] for more details.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
H A D | fs.h | diff a6b28ee02a9bec5f48b40dab2261e9a797a70d94 Thu Jun 01 11:34:51 CEST 2017 Hans Petter Selasky <hselasky@FreeBSD.org> Add generic kqueue() and kevent() support to the LinuxKPI character devices. The implementation allows read and write filters to be created and piggybacks on the poll() file operation to determine when a filter should trigger. The piggyback mechanism is simply to check for the EWOULDBLOCK or EAGAIN return code from read(), write() or ioctl() system calls and then update the kqueue() polling state bits. The implementation is similar to the one found in the cuse(3) module. Refer to sys/fs/cuse/*.[ch] for more details.
MFC after: 1 week Sponsored by: Mellanox Technologies
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | diff a6b28ee02a9bec5f48b40dab2261e9a797a70d94 Thu Jun 01 11:34:51 CEST 2017 Hans Petter Selasky <hselasky@FreeBSD.org> Add generic kqueue() and kevent() support to the LinuxKPI character devices. The implementation allows read and write filters to be created and piggybacks on the poll() file operation to determine when a filter should trigger. The piggyback mechanism is simply to check for the EWOULDBLOCK or EAGAIN return code from read(), write() or ioctl() system calls and then update the kqueue() polling state bits. The implementation is similar to the one found in the cuse(3) module. Refer to sys/fs/cuse/*.[ch] for more details.
MFC after: 1 week Sponsored by: Mellanox Technologies
|