Searched refs:blockstart (Results 1 – 6 of 6) sorted by relevance
866 static int flash_bad_block(int fd, uint8_t mtd_type, loff_t blockstart) in flash_bad_block() argument869 int badblock = ioctl(fd, MEMGETBADBLOCK, &blockstart); in flash_bad_block()879 (unsigned long long)blockstart); in flash_bad_block()902 loff_t blockstart; /* running start of the current block - in flash_read_buf() local906 blockstart = (offset / DEVESIZE(dev)) * DEVESIZE(dev); in flash_read_buf()909 block_seek = offset - blockstart; in flash_read_buf()927 rc = flash_bad_block(fd, DEVTYPE(dev), blockstart); in flash_read_buf()931 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf()938 blockstart += blocklen; in flash_read_buf()946 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()