Lines Matching refs:msg
147 handle_sync(const struct rte_mp_msg *msg, const void *peer) in handle_sync() argument
151 (const struct malloc_mp_req *)msg->param; in handle_sync()
164 strlcpy(reply.name, msg->name, sizeof(reply.name)); in handle_sync()
295 handle_request(const struct rte_mp_msg *msg, const void *peer __rte_unused) in handle_request() argument
298 (const struct malloc_mp_req *)msg->param; in handle_request()
445 struct rte_mp_msg msg; in handle_sync_response() local
446 struct malloc_mp_req *resp = (struct malloc_mp_req *)msg.param; in handle_sync_response()
448 memset(&msg, 0, sizeof(msg)); in handle_sync_response()
454 msg.num_fds = 0; in handle_sync_response()
455 msg.len_param = sizeof(*resp); in handle_sync_response()
456 strlcpy(msg.name, MP_ACTION_RESPONSE, sizeof(msg.name)); in handle_sync_response()
458 if (rte_mp_sendmsg(&msg)) in handle_sync_response()
466 struct rte_mp_msg msg; in handle_sync_response() local
468 (struct malloc_mp_req *)msg.param; in handle_sync_response()
470 memset(&msg, 0, sizeof(msg)); in handle_sync_response()
478 msg.num_fds = 0; in handle_sync_response()
479 msg.len_param = sizeof(*resp); in handle_sync_response()
480 strlcpy(msg.name, MP_ACTION_RESPONSE, sizeof(msg.name)); in handle_sync_response()
482 if (rte_mp_sendmsg(&msg)) in handle_sync_response()
552 struct rte_mp_msg msg; in handle_rollback_response() local
553 struct malloc_mp_req *resp = (struct malloc_mp_req *)msg.param; in handle_rollback_response()
561 memset(&msg, 0, sizeof(msg)); in handle_rollback_response()
578 msg.num_fds = 0; in handle_rollback_response()
579 msg.len_param = sizeof(*resp); in handle_rollback_response()
580 strlcpy(msg.name, MP_ACTION_RESPONSE, sizeof(msg.name)); in handle_rollback_response()
582 if (rte_mp_sendmsg(&msg)) in handle_rollback_response()
599 handle_response(const struct rte_mp_msg *msg, const void *peer __rte_unused) in handle_response() argument
602 (const struct malloc_mp_req *)msg->param; in handle_response()
629 struct rte_mp_msg msg; in request_sync() local
631 struct malloc_mp_req *req = (struct malloc_mp_req *)msg.param; in request_sync()
635 memset(&msg, 0, sizeof(msg)); in request_sync()
640 msg.num_fds = 0; in request_sync()
641 msg.len_param = sizeof(*req); in request_sync()
642 strlcpy(msg.name, MP_ACTION_SYNC, sizeof(msg.name)); in request_sync()
653 ret = rte_mp_request_sync(&msg, &reply, &ts); in request_sync()
698 struct rte_mp_msg msg; in request_to_primary() local
699 struct malloc_mp_req *msg_req = (struct malloc_mp_req *)msg.param; in request_to_primary()
705 memset(&msg, 0, sizeof(msg)); in request_to_primary()
730 msg.num_fds = 0; in request_to_primary()
731 msg.len_param = sizeof(*msg_req); in request_to_primary()
732 strlcpy(msg.name, MP_ACTION_REQUEST, sizeof(msg.name)); in request_to_primary()
740 if (rte_mp_sendmsg(&msg)) { in request_to_primary()