Home | History | Annotate | Download | only in env

Lines Matching refs:block_seek

896 	off_t block_seek;	/* offset inside the current block to the start
905 block_seek = offset - blockstart;
915 if (readlen > blocklen - block_seek)
916 readlen = blocklen - block_seek;
927 if (blockstart + block_seek + readlen > environment_end(dev)) {
942 lseek(fd, blockstart + block_seek, SEEK_SET);
952 rc, (unsigned long long)blockstart + block_seek,
957 block_seek = 0;
984 off_t block_seek; /* offset inside the erase block to the start
997 block_seek = 0;
1010 block_seek = DEVOFFSET(dev) - erase_offset;
1017 write_total = ((block_seek + count + blocklen - 1) /
1041 if (block_seek != 0)
1042 fprintf(stderr, "0x%x - 0x%lx", 0, block_seek - 1);
1043 if (block_seek + count != write_total) {
1044 if (block_seek != 0)
1047 (unsigned long)block_seek + count,
1053 memcpy(data + block_seek, buf, count);
1124 block_seek = 0;