Lines Matching refs:rsp

203 thread_msg_free(struct thread_msg_rsp *rsp)  in thread_msg_free()  argument
205 free(rsp); in thread_msg_free()
215 struct thread_msg_rsp *rsp; in thread_msg_send_recv() local
225 status = rte_ring_sc_dequeue(msgq_rsp, (void **) &rsp); in thread_msg_send_recv()
228 return rsp; in thread_msg_send_recv()
239 struct thread_msg_rsp *rsp; in thread_pipeline_enable() local
286 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_enable()
289 status = rsp->status; in thread_pipeline_enable()
292 thread_msg_free(rsp); in thread_pipeline_enable()
312 struct thread_msg_rsp *rsp; in thread_pipeline_disable() local
372 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_disable()
375 status = rsp->status; in thread_pipeline_disable()
378 thread_msg_free(rsp); in thread_pipeline_disable()
407 struct thread_msg_rsp *rsp) in thread_msg_send() argument
412 status = rte_ring_sp_enqueue(msgq_rsp, rsp); in thread_msg_send()
420 struct thread_msg_rsp *rsp = (struct thread_msg_rsp *) req; in thread_msg_handle_pipeline_enable() local
425 rsp->status = -1; in thread_msg_handle_pipeline_enable()
426 return rsp; in thread_msg_handle_pipeline_enable()
439 rsp->status = 0; in thread_msg_handle_pipeline_enable()
440 return rsp; in thread_msg_handle_pipeline_enable()
447 struct thread_msg_rsp *rsp = (struct thread_msg_rsp *) req; in thread_msg_handle_pipeline_disable() local
471 rsp->status = 0; in thread_msg_handle_pipeline_disable()
472 return rsp; in thread_msg_handle_pipeline_disable()
476 rsp->status = 0; in thread_msg_handle_pipeline_disable()
477 return rsp; in thread_msg_handle_pipeline_disable()
485 struct thread_msg_rsp *rsp; in thread_msg_handle() local
493 rsp = thread_msg_handle_pipeline_enable(t, req); in thread_msg_handle()
497 rsp = thread_msg_handle_pipeline_disable(t, req); in thread_msg_handle()
501 rsp = (struct thread_msg_rsp *) req; in thread_msg_handle()
502 rsp->status = -1; in thread_msg_handle()
505 thread_msg_send(t->msgq_rsp, rsp); in thread_msg_handle()