Home
last modified time | relevance | path

Searched refs:blockstart (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/tools/env/
Dfw_env.c862 static int flash_bad_block(int fd, uint8_t mtd_type, loff_t blockstart) in flash_bad_block() argument
865 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() local
902 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 …]
/external/zopfli/src/zopfli/
Dlz77.h71 size_t blockstart; member
Dlz77.c167 size_t lmcpos = pos - s->blockstart; in TryGetFromLongestMatchCache()
212 size_t lmcpos = pos - s->blockstart; in StoreInLongestMatchCache()
Ddeflate.c599 s.blockstart = instart; in DeflateDynamicBlock()
651 s.blockstart = instart; in DeflateFixedBlock()
779 s.blockstart = instart; in DeflateSplittingLast()
Dblocksplitter.c297 s.blockstart = instart; in ZopfliBlockSplit()
Dsqueeze.c536 s->blockstart = instart; in ZopfliLZ77OptimalFixed()