Lines Matching refs:work_queue_num
30 uint8_t work_queue_num; /*!< Work queue number */ member
65 while (!thread->stop && idx < thread->work_queue_num) { in osi_thread_run()
110 …(const char *name, size_t stack_size, int priority, osi_thread_core_t core, uint8_t work_queue_num) in osi_thread_create() argument
117 work_queue_num <= 0) { in osi_thread_create()
127 thread->work_queue_num = work_queue_num; in osi_thread_create()
128 thread->work_queues = (fixed_queue_t **)osi_malloc(sizeof(fixed_queue_t *) * work_queue_num); in osi_thread_create()
133 for (int i = 0; i < thread->work_queue_num; i++) { in osi_thread_create()
176 for (int i = 0; i < thread->work_queue_num; i++) { in osi_thread_create()
207 for (int i = 0; i < thread->work_queue_num; i++) { in osi_thread_free()
234 if (queue_idx >= thread->work_queue_num) { in osi_thread_post()
272 if (wq_idx < 0 || wq_idx >= thread->work_queue_num) { in osi_thread_queue_wait_size()