Searched refs:fetch_size (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/ |
D | fuse_sdcard_provider.c | 36 static int read_block_file(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in read_block_file() argument 45 while (fetch_size > 0) { in read_block_file() 46 ssize_t r = TEMP_FAILURE_RETRY(read(fd->fd, buffer, fetch_size)); in read_block_file() 51 fetch_size -= r; in read_block_file()
|
D | fuse_sideload.h | 33 int (*read_block)(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size);
|
D | fuse_sideload.c | 252 size_t fetch_size = fd->block_size; in fetch_block() local 253 if (block * fd->block_size + fetch_size > fd->file_size) { in fetch_block() 257 fetch_size = fd->file_size - (block * fd->block_size); in fetch_block() 258 memset(fd->block_data + fetch_size, 0, fd->block_size - fetch_size); in fetch_block() 261 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block()
|
/bootable/recovery/minadbd/ |
D | fuse_adb_provider.cpp | 29 int read_block_adb(void* data, uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in read_block_adb() argument 37 if (!ReadFdExactly(ad->sfd, buffer, fetch_size)) { in read_block_adb()
|
D | fuse_adb_provider.h | 29 int read_block_adb(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size);
|