Searched defs:poll_array_size (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c815 static int poll_array_size = 0; local
820 if (num_fds == poll_array_size) {
824 if (poll_array_size != 0) {
830 poll_array_size += POLL_ARRAY_INC_SIZE;
836 malloc(poll_array_size * sizeof (struct pollfd) + 256);
838 malloc(poll_array_size * sizeof (struct conn_entry) + 256);
849 * poll_array_size, so this memcpy is safe.
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c766 static int poll_array_size = 0; local
771 if (num_fds == poll_array_size) {
775 if (poll_array_size != 0) {
781 poll_array_size += POLL_ARRAY_INC_SIZE;
786 malloc(poll_array_size * sizeof (struct pollfd) + 256);
788 malloc(poll_array_size * sizeof (struct conn_entry) + 256);

Completed in 330 milliseconds