Lines Matching defs:open_flags
108 int open_flags;
131 int bdrv_flags, int open_flags)
136 s->open_flags = open_flags | O_BINARY;
137 s->open_flags &= ~O_ACCMODE;
139 s->open_flags |= O_RDWR;
141 s->open_flags |= O_RDONLY;
147 s->open_flags |= O_DIRECT;
149 s->open_flags |= O_DSYNC;
152 fd = qemu_open(filename, s->open_flags, 0644);
907 s->fd = open(bs->filename, s->open_flags & ~O_NONBLOCK);
1106 fd = open(bs->filename, s->open_flags | O_NONBLOCK);
1283 fd = open(bs->filename, s->open_flags, 0644);