Home
last modified time | relevance | path

Searched refs:pollfd_num (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_nicmon.c259 int pollfd_num = 2; in smbd_nicmon_daemon() local
283 if (poll(pollfds, pollfd_num, -1) < 0) { in smbd_nicmon_daemon()
293 for (i = 0; i < pollfd_num; i++) { in smbd_nicmon_daemon()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c349 static int pollfd_num = 0; /* Allocated and initialized */ variable
363 for (i = 0; i < pollfd_num; i++) { in poll_add()
368 for (i = 0; i < pollfd_num; i++) { in poll_add()
376 new_num = pollfd_num + 32; in poll_add()
383 newfds[pollfd_num].fd = fd; in poll_add()
384 newfds[pollfd_num++].events = POLLIN; in poll_add()
386 for (i = pollfd_num; i < new_num; i++) { in poll_add()
390 pollfd_num = new_num; in poll_add()
404 for (i = 0; i < pollfd_num; i++) { in poll_remove()
2053 if (poll(pollfds, pollfd_num, -1) < 0) { in main()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_main.c32 static int pollfd_num = 0; /* Num. of poll descriptors */ variable
134 for (i = 0; i < pollfd_num; i++) { in poll_add()
139 for (i = 0; i < pollfd_num; i++) { in poll_add()
147 new_num = pollfd_num + 32; in poll_add()
153 for (i = pollfd_num; i < new_num; i++) { in poll_add()
157 pollfd_num = new_num; in poll_add()
171 for (i = 0; i < pollfd_num; i++) { in poll_remove()
2135 if (poll(pollfds, pollfd_num, -1) < 0) { in main()
2141 for (i = 0; i < pollfd_num; i++) { in main()