Lines Matching refs:resp
152 struct malloc_mp_req *resp = in handle_sync() local
165 reply.len_param = sizeof(*resp); in handle_sync()
169 resp->t = REQ_TYPE_SYNC; in handle_sync()
170 resp->id = req->id; in handle_sync()
171 resp->result = ret == 0 ? REQ_RESULT_SUCCESS : REQ_RESULT_FAIL; in handle_sync()
332 struct malloc_mp_req *resp = in handle_request() local
337 resp_msg.len_param = sizeof(*resp); in handle_request()
341 resp->t = m->t; in handle_request()
342 resp->result = REQ_RESULT_FAIL; in handle_request()
343 resp->id = m->id; in handle_request()
425 struct malloc_mp_req *resp = in handle_sync_response() local
428 if (resp->t != REQ_TYPE_SYNC) { in handle_sync_response()
433 if (resp->id != entry->user_req.id) { in handle_sync_response()
438 if (resp->result == REQ_RESULT_FAIL) { in handle_sync_response()
446 struct malloc_mp_req *resp = (struct malloc_mp_req *)msg.param; in handle_sync_response() local
451 resp->t = REQ_TYPE_FREE; in handle_sync_response()
452 resp->result = result; in handle_sync_response()
453 resp->id = entry->user_req.id; in handle_sync_response()
455 msg.len_param = sizeof(*resp); in handle_sync_response()
467 struct malloc_mp_req *resp = in handle_sync_response() local
475 resp->t = REQ_TYPE_ALLOC; in handle_sync_response()
476 resp->result = result; in handle_sync_response()
477 resp->id = entry->user_req.id; in handle_sync_response()
479 msg.len_param = sizeof(*resp); in handle_sync_response()
553 struct malloc_mp_req *resp = (struct malloc_mp_req *)msg.param; in handle_rollback_response() local
575 resp->t = REQ_TYPE_ALLOC; in handle_rollback_response()
576 resp->result = REQ_RESULT_FAIL; in handle_rollback_response()
577 resp->id = mpreq->id; in handle_rollback_response()
579 msg.len_param = sizeof(*resp); in handle_rollback_response()
670 struct malloc_mp_req *resp = in request_sync() local
672 if (resp->t != REQ_TYPE_SYNC) { in request_sync()
676 if (resp->id != req->id) { in request_sync()
680 if (resp->result != REQ_RESULT_SUCCESS) { in request_sync()