Home
last modified time | relevance | path

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

/system/core/trusty/storage/proxy/
Drpmb.c52 static int rpmb_fd = -1; variable
133 static int send_virt_rpmb_req(int rpmb_fd, void* read_buf, size_t read_size, const void* payload, in send_virt_rpmb_req() argument
138 rc = write(rpmb_fd, &res_count, sizeof(res_count)); in send_virt_rpmb_req()
142 rc = write(rpmb_fd, &cmd_count, sizeof(cmd_count)); in send_virt_rpmb_req()
146 rc = write(rpmb_fd, payload, payload_size); in send_virt_rpmb_req()
150 rc = read(rpmb_fd, read_buf, read_size); in send_virt_rpmb_req()
190 rc = send_mmc_rpmb_req(rpmb_fd, req); in rpmb_send()
197 rc = send_virt_rpmb_req(rpmb_fd, read_buf, req->read_size, req->payload, payload_size); in rpmb_send()
242 rpmb_fd = rc; in rpmb_open()
247 close(rpmb_fd); in rpmb_close()
[all …]