Home | History | Annotate | Download | only in qemu

Lines Matching refs:flags

920 static int openfile(char *name, int flags)
931 if (bdrv_open(bs, name, flags) == -1) {
963 int flags = 0;
970 flags |= BDRV_O_SNAPSHOT;
973 flags |= BDRV_O_NOCACHE;
976 flags |= BDRV_O_CREAT;
987 flags |= BDRV_O_RDONLY;
989 flags |= BDRV_O_RDWR;
994 return openfile(argv[optind], flags);
1003 .flags = CMD_NOFILE_OK,
1023 if (ct->flags & CMD_FLAG_GLOBAL)
1025 if (!(ct->flags & CMD_NOFILE_OK) && !bs) {
1069 int flags = 0;
1076 flags |= BDRV_O_SNAPSHOT;
1079 flags |= BDRV_O_NOCACHE;
1085 flags |= BDRV_O_CREAT;
1132 flags |= BDRV_O_RDONLY;
1134 flags |= BDRV_O_RDWR;
1137 openfile(argv[optind], flags);