Lines Matching defs:pollfd_table
91 static rsm_pollfd_table_t pollfd_table;
142 /* initialize the pollfd_table */
143 mutex_init(&pollfd_table.lock, USYNC_THREAD, NULL);
146 pollfd_table.buckets[i] = NULL;
405 mutex_lock(&pollfd_table.lock);
407 chunk = pollfd_table.buckets[hash];
417 mutex_unlock(&pollfd_table.lock);
428 chunk->next = pollfd_table.buckets[hash];
429 pollfd_table.buckets[hash] = chunk;
448 mutex_unlock(&pollfd_table.lock);
467 mutex_lock(&pollfd_table.lock);
469 chunk = pollfd_table.buckets[RSM_POLLFD_HASH(segfd)];
475 mutex_unlock(&pollfd_table.lock);
485 mutex_unlock(&pollfd_table.lock);
510 mutex_lock(&pollfd_table.lock);
512 prev_chunk = chunk = pollfd_table.buckets[hash];
528 pollfd_table.buckets[hash] =
538 mutex_unlock(&pollfd_table.lock);
547 mutex_unlock(&pollfd_table.lock);
2609 * NULL then the fds are looked up from the pollfd_table.
2837 /* last reference removed - update the pollfd_table */