Lines Matching refs:item
136 work_item_t* item = (work_item_t*)osi_malloc(sizeof(work_item_t)); in thread_post() local
137 item->func = func; in thread_post()
138 item->context = context; in thread_post()
139 fixed_queue_enqueue(thread->work_queue, item); in thread_post()
225 work_item_t* item = in run_thread() local
227 while (item && count <= fixed_queue_capacity(thread->work_queue)) { in run_thread()
228 item->func(item->context); in run_thread()
229 osi_free(item); in run_thread()
230 item = in run_thread()
247 work_item_t* item = static_cast<work_item_t*>(fixed_queue_dequeue(queue)); in work_queue_read_cb() local
248 item->func(item->context); in work_queue_read_cb()
249 osi_free(item); in work_queue_read_cb()