| vndcompress.c | 75 int image_fd; member in struct:compress_state 124 S->image_fd = -1; 192 compress_block(S->image_fd, S->cloop2_fd, S->blkno, 363 assert(S->image_fd >= 0); 440 S->image_fd = open(image_pathname, O_RDONLY); 441 if (S->image_fd == -1) 461 if (fstat(S->image_fd, &st) == -1) 527 if (lseek(S->image_fd, 0, SEEK_SET) == -1) 713 if (lseek(S->image_fd, restart_position, SEEK_SET) == -1) { 726 const ssize_t n_read = read_block(S->image_fd, buffer [all...] |