Searched refs:kfds (Results 1 – 2 of 2) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | sys_generic.c | 1425 struct pollfd *kfds; in kern_poll() local 1467 kfds = mallocarray(nfds, sizeof(*kfds), M_TEMP, M_WAITOK); in kern_poll() 1469 kfds = stackfds; in kern_poll() 1470 error = copyin(ufds, kfds, nfds * sizeof(*kfds)); in kern_poll() 1495 error = pollscan(td, kfds, nfds); in kern_poll() 1514 error = pollout(td, kfds, ufds, nfds); in kern_poll() 1520 free(kfds, M_TEMP); in kern_poll()
|
| H A D | kern_exec.c | 1230 int *kfds; in exec_copyin_data_fds() local 1270 kfds = malloc(fdslen * sizeof(int), M_TEMP, M_WAITOK); in exec_copyin_data_fds() 1271 error = copyin(fds, kfds, fdslen * sizeof(int)); in exec_copyin_data_fds() 1273 free(kfds, M_TEMP); in exec_copyin_data_fds() 1276 error = fdcopy_remapped(ofdp, kfds, fdslen, &args->fdp); in exec_copyin_data_fds() 1277 free(kfds, M_TEMP); in exec_copyin_data_fds()
|