Searched refs:resp (Results 1 – 3 of 3) sorted by relevance
/samples/seccomp/ |
D | user-trap.c | 105 struct seccomp_notif_resp *resp, int listener) in handle_req() argument 110 resp->id = req->id; in handle_req() 111 resp->error = -EPERM; in handle_req() 112 resp->val = 0; in handle_req() 188 resp->error = 0; in handle_req() 290 struct seccomp_notif_resp *resp; in main() local 302 resp = malloc(sizes.seccomp_notif_resp); in main() 303 if (!resp) in main() 305 memset(resp, 0, sizes.seccomp_notif_resp); in main() 314 if (handle_req(req, resp, listener) < 0) in main() [all …]
|
/samples/qmi/ |
D | qmi_sample_client.c | 107 struct qmi_response_type_v01 resp; member 124 resp), 217 struct qmi_response_type_v01 resp; member 235 resp), 339 const struct test_ping_resp_msg_v01 *resp = data; in ping_pong_cb() local 346 if (resp->resp.result == QMI_RESULT_FAILURE_V01) in ping_pong_cb() 348 else if (!resp->pong_valid || memcmp(resp->pong, "pong", 4)) in ping_pong_cb() 373 struct test_data_resp_msg_v01 *resp; in data_write() local 382 resp = kzalloc(sizeof(*resp), GFP_KERNEL); in data_write() 383 if (!resp) { in data_write() [all …]
|
/samples/mei/ |
D | mei-amt-version.c | 308 static uint32_t amt_verify_code_versions(const struct amt_host_if_resp_header *resp) in amt_verify_code_versions() argument 317 code_ver = (struct amt_code_versions *)resp->data; in amt_verify_code_versions() 319 code_ver_len = resp->header.length - sizeof(uint32_t); in amt_verify_code_versions()
|