Home
last modified time | relevance | path

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

/system/core/trusty/storage/proxy/
Dstorage.h21 int storage_file_delete(struct storage_msg *msg,
24 int storage_file_open(struct storage_msg *msg,
27 int storage_file_close(struct storage_msg *msg,
30 int storage_file_write(struct storage_msg *msg,
33 int storage_file_read(struct storage_msg *msg,
36 int storage_file_get_size(struct storage_msg *msg,
39 int storage_file_set_size(struct storage_msg *msg,
Dipc.h23 ssize_t ipc_get_msg(struct storage_msg *msg, void *req_buf, size_t req_buf_len);
24 int ipc_respond(struct storage_msg *msg, void *out, size_t out_size);
Dipc.c67 ssize_t ipc_get_msg(struct storage_msg *msg, void *req_buf, size_t req_buf_len) in ipc_get_msg()
96 int ipc_respond(struct storage_msg *msg, void *out, size_t out_size) in ipc_respond()
Dstorage.c162 int storage_file_delete(struct storage_msg *msg, in storage_file_delete()
215 int storage_file_open(struct storage_msg *msg, in storage_file_open()
298 int storage_file_close(struct storage_msg *msg, in storage_file_close()
338 int storage_file_write(struct storage_msg *msg, in storage_file_write()
368 int storage_file_read(struct storage_msg *msg, in storage_file_read()
407 int storage_file_get_size(struct storage_msg *msg, in storage_file_get_size()
440 int storage_file_set_size(struct storage_msg *msg, in storage_file_set_size()
Drpmb.h24 int rpmb_send(struct storage_msg* msg, const void* r, size_t req_len);
Dproxy.c108 static int handle_req(struct storage_msg* msg, const void* req, size_t req_len) { in handle_req()
177 struct storage_msg msg; in proxy_loop()
Drpmb.c154 int rpmb_send(struct storage_msg* msg, const void* r, size_t req_len) { in rpmb_send()
/system/core/trusty/storage/lib/
Dstorage.c57 static ssize_t check_response(struct storage_msg *msg, ssize_t res) in check_response()
146 struct storage_msg msg = { .cmd = STORAGE_FILE_OPEN, .flags = _to_msg_flags(opflags)}; in storage_open_file()
168 struct storage_msg msg = { .cmd = STORAGE_FILE_CLOSE }; in storage_close_file()
182 struct storage_msg msg = { .cmd = STORAGE_FILE_DELETE, .flags = _to_msg_flags(opflags)}; in storage_delete_file()
193 struct storage_msg msg = { .cmd = STORAGE_FILE_READ }; in _read_chunk()
228 struct storage_msg msg = { .cmd = STORAGE_FILE_WRITE, .flags = msg_flags, }; in _write_req()
270 struct storage_msg msg = { .cmd = STORAGE_FILE_SET_SIZE, .flags = _to_msg_flags(opflags)}; in storage_set_file_size()
281 struct storage_msg msg = { .cmd = STORAGE_FILE_GET_SIZE }; in storage_get_file_size()
303 struct storage_msg msg = { in storage_end_transaction()
/system/core/trusty/storage/interface/include/trusty/interface/
Dstorage.h276 struct storage_msg { struct