Lines Matching refs:rsp

196 thread_msg_free(struct thread_msg_rsp *rsp)  in thread_msg_free()  argument
198 free(rsp); in thread_msg_free()
208 struct thread_msg_rsp *rsp; in thread_msg_send_recv() local
218 status = rte_ring_sc_dequeue(msgq_rsp, (void **) &rsp); in thread_msg_send_recv()
221 return rsp; in thread_msg_send_recv()
232 struct thread_msg_rsp *rsp; in thread_pipeline_enable() local
279 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_enable()
282 status = rsp->status; in thread_pipeline_enable()
285 thread_msg_free(rsp); in thread_pipeline_enable()
305 struct thread_msg_rsp *rsp; in thread_pipeline_disable() local
365 rsp = thread_msg_send_recv(thread_id, req); in thread_pipeline_disable()
368 status = rsp->status; in thread_pipeline_disable()
371 thread_msg_free(rsp); in thread_pipeline_disable()
400 struct thread_msg_rsp *rsp) in thread_msg_send() argument
405 status = rte_ring_sp_enqueue(msgq_rsp, rsp); in thread_msg_send()
413 struct thread_msg_rsp *rsp = (struct thread_msg_rsp *) req; in thread_msg_handle_pipeline_enable() local
418 rsp->status = -1; in thread_msg_handle_pipeline_enable()
419 return rsp; in thread_msg_handle_pipeline_enable()
432 rsp->status = 0; in thread_msg_handle_pipeline_enable()
433 return rsp; in thread_msg_handle_pipeline_enable()
440 struct thread_msg_rsp *rsp = (struct thread_msg_rsp *) req; in thread_msg_handle_pipeline_disable() local
464 rsp->status = 0; in thread_msg_handle_pipeline_disable()
465 return rsp; in thread_msg_handle_pipeline_disable()
469 rsp->status = 0; in thread_msg_handle_pipeline_disable()
470 return rsp; in thread_msg_handle_pipeline_disable()
478 struct thread_msg_rsp *rsp; in thread_msg_handle() local
486 rsp = thread_msg_handle_pipeline_enable(t, req); in thread_msg_handle()
490 rsp = thread_msg_handle_pipeline_disable(t, req); in thread_msg_handle()
494 rsp = (struct thread_msg_rsp *) req; in thread_msg_handle()
495 rsp->status = -1; in thread_msg_handle()
498 thread_msg_send(t->msgq_rsp, rsp); in thread_msg_handle()