Lines Matching refs:item
141 work_item_t *item = (work_item_t *)osi_malloc(sizeof(work_item_t)); in thread_post() local
142 item->func = func; in thread_post()
143 item->context = context; in thread_post()
144 fixed_queue_enqueue(thread->work_queue, item); in thread_post()
213 work_item_t *item = fixed_queue_try_dequeue(thread->work_queue); in run_thread() local
214 while (item && count <= fixed_queue_capacity(thread->work_queue)) { in run_thread()
215 item->func(item->context); in run_thread()
216 osi_free(item); in run_thread()
217 item = fixed_queue_try_dequeue(thread->work_queue); in run_thread()
232 work_item_t *item = fixed_queue_dequeue(queue); in work_queue_read_cb() local
233 item->func(item->context); in work_queue_read_cb()
234 osi_free(item); in work_queue_read_cb()