Home
last modified time | relevance | path

Searched refs:fdsn (Results 1 – 2 of 2) sorted by relevance

/openbsd/usr.sbin/amd/amd/
H A Dnfs_start.c159 int fdsn; in rpc_pending_now() local
161 fdsn = howmany(max_fds+1, NFDBITS) * sizeof(fd_mask); in rpc_pending_now()
162 if ((fdsp = malloc(fdsn)) == NULL) in rpc_pending_now()
164 memset(fdsp, 0, fdsn); in rpc_pending_now()
210 int fdsn = __svc_fdsetsize; in run_rpc() local
213 if (fwd_sock > fdsn) in run_rpc()
214 fdsn = fwd_sock; in run_rpc()
215 bytes = howmany(fdsn, NFDBITS) * sizeof(fd_mask); in run_rpc()
223 int fdsn = FDSETSIZE; in run_rpc() local
224 bytes = howmany(fdsn, NFDBITS) * sizeof(fd_mask); in run_rpc()
[all …]
/openbsd/usr.sbin/pppd/
H A Dsys-bsd.c591 int fdsn; in wait_input() local
594 fdsn = howmany(ttyfd+1, NFDBITS) * sizeof(fd_mask); in wait_input()
595 if ((fdsp = (fd_set *)malloc(fdsn)) == NULL) in wait_input()
597 memset(fdsp, 0, fdsn); in wait_input()
619 int fdsn; in wait_loop_output() local
622 fdsn = howmany(loop_master+1, NFDBITS) * sizeof(fd_mask); in wait_loop_output()
623 if ((fdsp = (fd_set *)malloc(fdsn)) == NULL) in wait_loop_output()
625 memset(fdsp, 0, fdsn); in wait_loop_output()