Searched refs:fetch_size (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/minadbd/ |
D | fuse_adb_provider.cpp | 27 int read_block_adb(void* data, uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in read_block_adb() argument 35 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);
|
/bootable/recovery/ |
D | fuse_sdcard_provider.cpp | 37 static int read_block_file(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size) { in read_block_file() argument 46 if (!android::base::ReadFully(fd->fd, buffer, fetch_size)) { in read_block_file()
|
D | fuse_sideload.h | 29 int (*read_block)(void* cookie, uint32_t block, uint8_t* buffer, uint32_t fetch_size);
|
D | fuse_sideload.cpp | 250 size_t fetch_size = fd->block_size; in fetch_block() local 251 if (block * fd->block_size + fetch_size > fd->file_size) { in fetch_block() 255 fetch_size = fd->file_size - (block * fd->block_size); in fetch_block() 256 memset(fd->block_data + fetch_size, 0, fd->block_size - fetch_size); in fetch_block() 259 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block()
|