Home
last modified time | relevance | path

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

/system/core/trusty/storage/proxy/
Dstorage.h22 const void *req, size_t req_len);
25 const void *req, size_t req_len);
28 const void *req, size_t req_len);
31 const void *req, size_t req_len);
34 const void *req, size_t req_len);
37 const void *req, size_t req_len);
40 const void *req, size_t req_len);
Dstorage.c163 const void *r, size_t req_len) in storage_file_delete() argument
168 if (req_len < sizeof(*req)) { in storage_file_delete()
170 __func__, req_len, sizeof(*req)); in storage_file_delete()
176 if (fname_len != req_len - sizeof(*req)) { in storage_file_delete()
178 __func__, fname_len, req_len - sizeof(*req)); in storage_file_delete()
216 const void *r, size_t req_len) in storage_file_open() argument
222 if (req_len < sizeof(*req)) { in storage_file_open()
224 __func__, req_len, sizeof(*req)); in storage_file_open()
230 if (fname_len != req_len - sizeof(*req)) { in storage_file_open()
232 __func__, fname_len, req_len - sizeof(*req)); in storage_file_open()
[all …]
Dproxy.c112 static int handle_req(struct storage_msg* msg, const void* req, size_t req_len) { in handle_req() argument
135 rc = storage_file_delete(msg, req, req_len); in handle_req()
139 rc = storage_file_open(msg, req, req_len); in handle_req()
143 rc = storage_file_close(msg, req, req_len); in handle_req()
147 rc = storage_file_write(msg, req, req_len); in handle_req()
151 rc = storage_file_read(msg, req, req_len); in handle_req()
155 rc = storage_file_get_size(msg, req, req_len); in handle_req()
159 rc = storage_file_set_size(msg, req, req_len); in handle_req()
163 rc = rpmb_send(msg, req, req_len); in handle_req()
Drpmb.h24 int rpmb_send(struct storage_msg* msg, const void* r, size_t req_len);
Drpmb.c287 int rpmb_send(struct storage_msg* msg, const void* r, size_t req_len) { in rpmb_send() argument
291 if (req_len < sizeof(*req)) { in rpmb_send()
292 ALOGW("malformed rpmb request: invalid length (%zu < %zu)\n", req_len, sizeof(*req)); in rpmb_send()
298 if (req_len != expected_len) { in rpmb_send()
299 ALOGW("malformed rpmb request: invalid length (%zu != %zu)\n", req_len, expected_len); in rpmb_send()