Lines Matching refs:pollfd_table
89 static rsm_pollfd_table_t pollfd_table; variable
141 mutex_init(&pollfd_table.lock, USYNC_THREAD, NULL); in _rsm_librsm_init()
144 pollfd_table.buckets[i] = NULL; in _rsm_librsm_init()
403 mutex_lock(&pollfd_table.lock); in _rsm_insert_pollfd_table()
405 chunk = pollfd_table.buckets[hash]; in _rsm_insert_pollfd_table()
415 mutex_unlock(&pollfd_table.lock); in _rsm_insert_pollfd_table()
426 chunk->next = pollfd_table.buckets[hash]; in _rsm_insert_pollfd_table()
427 pollfd_table.buckets[hash] = chunk; in _rsm_insert_pollfd_table()
446 mutex_unlock(&pollfd_table.lock); in _rsm_insert_pollfd_table()
465 mutex_lock(&pollfd_table.lock); in _rsm_lookup_pollfd_table()
467 chunk = pollfd_table.buckets[RSM_POLLFD_HASH(segfd)]; in _rsm_lookup_pollfd_table()
473 mutex_unlock(&pollfd_table.lock); in _rsm_lookup_pollfd_table()
483 mutex_unlock(&pollfd_table.lock); in _rsm_lookup_pollfd_table()
508 mutex_lock(&pollfd_table.lock); in _rsm_remove_pollfd_table()
510 prev_chunk = chunk = pollfd_table.buckets[hash]; in _rsm_remove_pollfd_table()
526 pollfd_table.buckets[hash] = in _rsm_remove_pollfd_table()
536 mutex_unlock(&pollfd_table.lock); in _rsm_remove_pollfd_table()
545 mutex_unlock(&pollfd_table.lock); in _rsm_remove_pollfd_table()