Searched refs:kfds (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sys/kern/ |
| H A D | sys_generic.c | 1496 kern_poll_kfds(struct thread *td, struct pollfd *kfds, u_int nfds, in kern_poll_kfds() argument 1544 error = pollscan(td, kfds, nfds); in kern_poll_kfds() 1595 struct pollfd *kfds; in kern_poll() local 1602 kfds = mallocarray(nfds, sizeof(*kfds), M_TEMP, M_WAITOK); in kern_poll() 1604 kfds = stackfds; in kern_poll() 1605 error = copyin(ufds, kfds, nfds * sizeof(*kfds)); in kern_poll() 1609 error = kern_poll_kfds(td, kfds, nfds, tsp, set); in kern_poll() 1611 error = pollout(td, kfds, ufds, nfds); in kern_poll() 1620 free(kfds, M_TEMP); in kern_poll()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_misc.c | 2206 struct pollfd *kfds; in linux_common_ppoll() local 2223 kfds = mallocarray(nfds, sizeof(*kfds), M_TEMP, M_WAITOK); in linux_common_ppoll() 2225 kfds = stackfds; in linux_common_ppoll() 2226 error = linux_pollin(td, kfds, fds, nfds); in linux_common_ppoll() 2230 error = kern_poll_kfds(td, kfds, nfds, tsp, ssp); in linux_common_ppoll() 2232 error = linux_pollout(td, kfds, fds, nfds); in linux_common_ppoll() 2247 free(kfds, M_TEMP); in linux_common_ppoll()
|