Lines Matching refs:resp
56 struct apploader_resp resp; member
97 struct apploader_resp resp = { in apploader_send_response() local
104 int rc = tipc_send1(chan, &resp, sizeof(resp)); in apploader_send_response()
109 if ((size_t)rc != sizeof(resp)) { in apploader_send_response()
111 sizeof(resp)); in apploader_send_response()
194 struct apploader_secure_resp resp; in apploader_send_secure_get_memory_command() local
195 rc = apploader_read(secure_chan, sizeof(resp), &resp, sizeof(resp), in apploader_send_secure_get_memory_command()
202 if (resp.hdr.cmd != in apploader_send_secure_get_memory_command()
204 TLOGE("Invalid command in response (%u)\n", resp.hdr.cmd); in apploader_send_secure_get_memory_command()
208 if (resp.error != APPLOADER_NO_ERROR) { in apploader_send_secure_get_memory_command()
209 TLOGE("Received error from service (%" PRIu32 ")\n", resp.error); in apploader_send_secure_get_memory_command()
210 return resp.error; in apploader_send_secure_get_memory_command()
249 struct apploader_secure_resp resp; in apploader_send_secure_load_command() local
250 rc = tipc_recv1(secure_chan, sizeof(resp), &resp, sizeof(resp)); in apploader_send_secure_load_command()
251 if ((size_t)rc != sizeof(resp)) { in apploader_send_secure_load_command()
256 if (resp.hdr.cmd != in apploader_send_secure_load_command()
258 TLOGE("Invalid command in response (%u)\n", resp.hdr.cmd); in apploader_send_secure_load_command()
262 if (resp.error != APPLOADER_NO_ERROR) { in apploader_send_secure_load_command()
263 TLOGE("Received error from service (%" PRIu32 ")\n", resp.error); in apploader_send_secure_load_command()
264 return resp.error; in apploader_send_secure_load_command()