Searched refs:numfd (Results 1 – 3 of 3) sorted by relevance
742 int numfd; in fdbuf_extract() local747 numfd = fdbuf->fd_numfd; in fdbuf_extract()748 ASSERT(rightslen == numfd * (int)sizeof (int)); in fdbuf_extract()756 for (i = 0; i < numfd; i++) { in fdbuf_extract()811 int numfd, i; in fdbuf_create() local819 numfd = rightslen / (int)sizeof (int); in fdbuf_create()821 fdbufsize = (int)FDBUF_HDRSIZE + (numfd * (int)sizeof (struct file *)); in fdbuf_create()828 for (i = 0; i < numfd; i++) { in fdbuf_create()862 int numfd; in fdbuf_optlen() local864 numfd = rightslen / (int)sizeof (int); in fdbuf_optlen()[all …]
2619 int numfd; in __rsm_intr_signal_wait_common() local2633 numfd = poll(fds, nfds, timeout); in __rsm_intr_signal_wait_common()2635 switch (numfd) { in __rsm_intr_signal_wait_common()2657 if (numfd <= RSM_MAX_POLLFDS) { in __rsm_intr_signal_wait_common()2667 sizeof (rsm_poll_event_t)*numfd); in __rsm_intr_signal_wait_common()2702 if ((fds[i].revents) && (++fds_processed == numfd)) { in __rsm_intr_signal_wait_common()2716 *numfdsp = numfd; in __rsm_intr_signal_wait_common()2737 numfd -= numsegs; in __rsm_intr_signal_wait_common()2742 numfd++; in __rsm_intr_signal_wait_common()2752 if (numfd > 0) { in __rsm_intr_signal_wait_common()[all …]
305 int unit, numfd; in fd_init() local308 numfd = fd_count(); in fd_init()309 for (unit = 0; unit < numfd; unit++) { in fd_init()