Lines Matching refs:threads
412 struct vdo_thread *thread = &vdo->threads[thread_id]; in vdo_make_thread()
556 struct vdo_thread, __func__, &vdo->threads); in vdo_make()
625 if (vdo->threads == NULL) in finish_vdo()
632 vdo_finish_work_queue(vdo->threads[i].queue); in finish_vdo()
702 if (vdo->threads != NULL) { in vdo_destroy()
704 free_listeners(&vdo->threads[i]); in vdo_destroy()
705 vdo_free_work_queue(vdo_forget(vdo->threads[i].queue)); in vdo_destroy()
707 vdo_free(vdo_forget(vdo->threads)); in vdo_destroy()
988 struct vdo_thread *thread = &vdo->threads[thread_id]; in vdo_register_read_only_listener()
1056 vdo->threads[id].is_read_only = is_read_only; in vdo_enable_read_only_entry()
1143 struct vdo_thread *thread = &vdo->threads[thread_id]; in make_thread_read_only()
1247 thread = &vdo->threads[thread_id]; in vdo_enter_read_only_mode()
1287 return vdo->threads[vdo_get_callback_thread_id()].is_read_only; in vdo_is_read_only()
1611 BUG_ON(thread != &thread->vdo->threads[thread_id]); in vdo_get_callback_thread_id()