Home
last modified time | relevance | path

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

/system/core/trusty/storage/lib/include/trusty/lib/
Dstorage.h27 typedef uint64_t file_handle_t; typedef
76 int storage_open_file(storage_session_t session, file_handle_t *handle_p,
83 void storage_close_file(file_handle_t handle);
105 ssize_t storage_read(file_handle_t handle,
118 ssize_t storage_write(file_handle_t handle,
130 int storage_set_file_size(file_handle_t handle, storage_off_t file_size,
141 int storage_get_file_size(file_handle_t handle, storage_off_t *size);
/system/core/trusty/storage/tests/
Dmain.cpp102 void WriteReadAtOffsetHelper(file_handle_t handle, size_t blk, size_t cnt, bool complete);
104 void WriteZeroChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete );
105 … void WritePatternChunk(file_handle_t handle, storage_off_t off, size_t chunk_len, bool complete);
106 …void WritePattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len, bool…
108 void ReadChunk(file_handle_t handle, storage_off_t off, size_t chunk_len,
110 void ReadPattern(file_handle_t handle, storage_off_t off, size_t data_len, size_t chunk_len);
111 void ReadPatternEOF(file_handle_t handle, storage_off_t off, size_t chunk_len, size_t exp_len);
125 void StorageServiceTest::WriteZeroChunk(file_handle_t handle, storage_off_t off, in WriteZeroChunk()
141 void StorageServiceTest::WritePatternChunk(file_handle_t handle, storage_off_t off, in WritePatternChunk()
157 void StorageServiceTest::WritePattern(file_handle_t handle, storage_off_t off, in WritePattern()
[all …]
/system/core/trusty/storage/lib/
Dstorage.c32 static inline file_handle_t make_file_handle(storage_session_t s, uint32_t fid) in make_file_handle()
37 static inline storage_session_t _to_session(file_handle_t fh) in _to_session()
42 static inline uint32_t _to_handle(file_handle_t fh) in _to_handle()
143 int storage_open_file(storage_session_t session, file_handle_t *handle_p, const char *name, in storage_open_file()
166 void storage_close_file(file_handle_t fh) in storage_close_file()
191 static int _read_chunk(file_handle_t fh, storage_off_t off, void *buf, size_t size) in _read_chunk()
202 ssize_t storage_read(file_handle_t fh, storage_off_t off, void *buf, size_t size) in storage_read()
225 static int _write_req(file_handle_t fh, storage_off_t off, in _write_req()
238 ssize_t storage_write(file_handle_t fh, storage_off_t off, in storage_write()
268 int storage_set_file_size(file_handle_t fh, storage_off_t file_size, uint32_t opflags) in storage_set_file_size()
[all …]