Searched refs:blockstart (Results 1 – 6 of 6) sorted by relevance
862 static int flash_bad_block(int fd, uint8_t mtd_type, loff_t blockstart) in flash_bad_block() argument865 int badblock = ioctl(fd, MEMGETBADBLOCK, &blockstart); in flash_bad_block()875 (unsigned long long)blockstart); in flash_bad_block()898 loff_t blockstart; /* running start of the current block - in flash_read_buf() local902 blockstart = (offset / DEVESIZE(dev)) * DEVESIZE(dev); in flash_read_buf()905 block_seek = offset - blockstart; in flash_read_buf()923 rc = flash_bad_block(fd, DEVTYPE(dev), blockstart); in flash_read_buf()927 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf()934 blockstart += blocklen; in flash_read_buf()942 lseek(fd, blockstart + block_seek, SEEK_SET); in flash_read_buf()[all …]
71 size_t blockstart; member
167 size_t lmcpos = pos - s->blockstart; in TryGetFromLongestMatchCache()212 size_t lmcpos = pos - s->blockstart; in StoreInLongestMatchCache()
599 s.blockstart = instart; in DeflateDynamicBlock()651 s.blockstart = instart; in DeflateFixedBlock()779 s.blockstart = instart; in DeflateSplittingLast()
297 s.blockstart = instart; in ZopfliBlockSplit()
536 s->blockstart = instart; in ZopfliLZ77OptimalFixed()