Searched refs:block_seek (Results 1 – 1 of 1) sorted by relevance
896 off_t block_seek; /* offset inside the current block to the start in flash_read_buf() local905 block_seek = offset - blockstart; in flash_read_buf()915 if (readlen > blocklen - block_seek) in flash_read_buf()916 readlen = blocklen - block_seek; in flash_read_buf()927 if (blockstart + block_seek + readlen > environment_end(dev)) { in flash_read_buf()942 lseek(fd, blockstart + block_seek, SEEK_SET); in flash_read_buf()952 rc, (unsigned long long)blockstart + block_seek, in flash_read_buf()957 block_seek = 0; in flash_read_buf()984 off_t block_seek; /* offset inside the erase block to the start in flash_write_buf() local997 block_seek = 0; in flash_write_buf()[all …]