Home
last modified time | relevance | path

Searched refs:BDRV_O_NOCACHE (Results 1 – 15 of 15) sorted by last modified time

/qemu/block/
H A Dnfs.c466 if (open_flags & BDRV_O_NOCACHE) { in nfs_client_open()
487 if (open_flags & BDRV_O_NOCACHE) { in nfs_client_open()
737 !(bs->open_flags & BDRV_O_NOCACHE)) { in nfs_co_get_allocated_file_size()
800 if ((state->flags & BDRV_O_NOCACHE) && client->cache_used) { in nfs_reopen_prepare()
H A Dgluster.c764 if ((bdrv_flags & BDRV_O_NOCACHE)) { in qemu_gluster_parse_flags()
H A Dqapi.c71 .direct = !!(bs->open_flags & BDRV_O_NOCACHE), in bdrv_block_device_info()
H A Dnvme.c996 if (flags & BDRV_O_NOCACHE) { in nvme_file_open()
1002 ret = nvme_enable_disable_write_cache(bs, !(flags & BDRV_O_NOCACHE), in nvme_file_open()
H A Dblkio.c625 if (flags & BDRV_O_NOCACHE) { in blkio_io_uring_connect()
664 if (!(flags & BDRV_O_NOCACHE)) { in blkio_nvme_io_uring_connect()
692 if (!(flags & BDRV_O_NOCACHE)) { in blkio_virtio_blk_connect()
H A Dfile-posix.c362 if ((bs->open_flags & BDRV_O_NOCACHE) != 0 && !dio_byte_aligned(s->fd)) { in raw_needs_alignment()
533 if ((bdrv_flags & BDRV_O_NOCACHE)) { in raw_parse_flags()
785 if (!(bs->open_flags & BDRV_O_NOCACHE)) { in raw_open_common()
1732 (aiocb->bs->open_flags & BDRV_O_NOCACHE) && in handle_aiocb_rw_linear()
3985 if (flags & BDRV_O_NOCACHE) { in GetBSDPath()
H A Drbd.c1121 !(flags & BDRV_O_NOCACHE), keypairs, secretid, errp); in qemu_rbd_open()
H A Discsi.c477 if (open_flags & BDRV_O_NOCACHE) { in iscsi_allocmap_init()
H A Dfile-win32.c280 if (flags & BDRV_O_NOCACHE) { in raw_parse_flags()
/qemu/
H A Dblockdev.c846 !!(flags & BDRV_O_NOCACHE), &error_abort); in drive_new()
H A Dblock.c1179 *flags |= BDRV_O_NOCACHE; in bdrv_parse_cache_mode()
1182 *flags |= BDRV_O_NOCACHE; in bdrv_parse_cache_mode()
1566 *flags |= BDRV_O_NOCACHE; in update_flags_from_options()
1582 qdict_put_bool(options, BDRV_OPT_CACHE_DIRECT, flags & BDRV_O_NOCACHE); in update_options_from_flags()
H A Dqemu-img.c2688 if (flags & BDRV_O_NOCACHE) { in img_convert()
H A Dqemu-io.c184 flags |= BDRV_O_NOCACHE; in open_f()
550 flags |= BDRV_O_NOCACHE; in main()
H A Dqemu-io-cmds.c2448 qdict_put_bool(opts, BDRV_OPT_CACHE_DIRECT, flags & BDRV_O_NOCACHE); in reopen_f()
/qemu/include/block/
H A Dblock-common.h228 #define BDRV_O_NOCACHE 0x0020 /* do not use the host page cache */ macro
246 #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH)