Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dvvfat.c323 int current_fd; member
1308 if (s->current_fd) { in vvfat_close_current_file()
1309 qemu_close(s->current_fd); in vvfat_close_current_file()
1310 s->current_fd = 0; in vvfat_close_current_file()
1371 s->current_fd = fd; in open_file()
1383 assert(!s->current_mapping || s->current_fd || (s->current_mapping->mode & MODE_DIRECTORY)); in read_cluster()
1410 assert(s->current_fd); in read_cluster()
1415 if(lseek(s->current_fd, offset, SEEK_SET)!=offset) in read_cluster()
1418 result=read(s->current_fd,s->cluster,s->cluster_size); in read_cluster()
3287 … assert(!vvv->current_mapping || vvv->current_fd || (vvv->current_mapping->mode & MODE_DIRECTORY)); in checkpoint()