Home
last modified time | relevance | path

Searched refs:result (Results 1 – 7 of 7) sorted by relevance

/devicemodel/hw/pci/virtio/
A Dvirtio_rpmb.c85 int result; /* result for ioctl cmd*/ member
140 if (swap16(frames[i].result) != RPMB_RES_OK) { in rpmb_check_response()
141 if (swap16(frames[i].result) == RPMB_RES_ADDR_FAILURE) { in rpmb_check_response()
177 rpmb_get_counter(__u8 mode, __u8 *key, __u32 *counter, __u16 *result) in rpmb_get_counter() argument
188 if (!key || !counter || !result) { in rpmb_get_counter()
224 *result = swap16(frame_out.result); in rpmb_get_counter()
225 if (*result != RPMB_RES_OK ) { in rpmb_get_counter()
226 DPRINTF(("get rpmb counter failed(0x%x).\n", *result)); in rpmb_get_counter()
254 __u16 result; in rpmb_write_block() local
268 rc = rpmb_get_counter(mode, key, &write_counter, &result); in rpmb_write_block()
[all …]
/devicemodel/hw/platform/rpmb/
A Datt_keybox.c95 if ((resp.header.is_response != 1) || (resp.header.result != 0)) { in get_attkb_size()
97 resp.header.result); in get_attkb_size()
172 if ((resp.header.is_response != 1) || (resp.header.result != 0)) { in read_attkb()
174 resp.header.result); in read_attkb()
A Drpmb_backend.c148 const uint16_t *addr, const uint16_t *block_count, const int *result, const int *req_resp) in rpmb_replace_frame() argument
161 if (result) in rpmb_replace_frame()
162 frames[i].result = swap16(*result); in rpmb_replace_frame()
341 if (out_frame->result == swap16(RPMB_RES_COUNT_FAILURE)) { in rpmb_virt_write()
363 if (out_frame->result == RPMB_RES_OK) { in rpmb_virt_write()
A Drpmb_sim.c394 out_frame->result = swap16(err); in rpmb_sim_program_key()
495 out_frame->result = swap16(err); in rpmb_sim_write()
558 out_frame[out_cnt - 1].result = swap16(err); in rpmb_sim_read()
596 out_frame->result = swap16(err); in rpmb_sim_get_counter()
/devicemodel/include/
A Drpmb.h133 __be16 result; member
187 rpmb_get_counter(__u8 mode, __u8 *key, __u32 *counter, __u16 *result);
A Datt_keybox.h37 uint32_t result : 8; member
/devicemodel/core/
A Dhugetlb.c364 int result; in read_sys_info() local
373 result = fread(&tmp_buf, sizeof(char), 8, fp); in read_sys_info()
374 if (result <= 0) in read_sys_info()

Completed in 26 milliseconds