Searched refs:rb_rw_lock (Results 1 – 1 of 1) sorted by relevance
66 pthread_mutex_t rb_rw_lock; member123 status = pthread_mutex_init(&rbc->rb_rw_lock, NULL); in ring_buffer_init()138 status = pthread_mutex_destroy(&rbc->rb_rw_lock); in ring_buffer_deinit()248 rb_lock(&rbc->rb_rw_lock); in rb_write()281 rb_unlock(&rbc->rb_rw_lock); in rb_write()290 rb_lock(&rbc->rb_rw_lock); in rb_write()318 rb_unlock(&rbc->rb_rw_lock); in rb_write()322 rb_lock(&rbc->rb_rw_lock); in rb_write()335 rb_unlock(&rbc->rb_rw_lock); in rb_write()338 rb_unlock(&rbc->rb_rw_lock); in rb_write()[all …]