Searched refs:storage_off_t (Results 1 – 3 of 3) sorted by relevance
/system/core/trusty/storage/tests/ |
D | main.cpp | 36 static bool is_valid_offset(storage_off_t off) in is_valid_offset() 41 static void fill_pattern32(uint32_t *buf, size_t len, storage_off_t off) in fill_pattern32() 50 static bool check_pattern32(const uint32_t *buf, size_t len, storage_off_t off) in check_pattern32() 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() [all …]
|
/system/core/trusty/storage/lib/include/trusty/lib/ |
D | storage.h | 28 typedef uint64_t storage_off_t; typedef 106 storage_off_t off, void *buf, size_t size); 119 storage_off_t off, const void *buf, size_t size, 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/lib/ |
D | storage.c | 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() 279 int storage_get_file_size(file_handle_t fh, storage_off_t *size_p) in storage_get_file_size()
|