Searched refs:BDRV_O_NOCACHE (Results 1 – 15 of 15) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block-common.h | 228 #define BDRV_O_NOCACHE 0x0020 /* do not use the host page cache */ macro 248 #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH)
|
/openbmc/qemu/block/ |
H A D | nfs.c | 466 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 D | blkio.c | 625 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 D | file-posix.c | 363 if ((bs->open_flags & BDRV_O_NOCACHE) != 0 && !dio_byte_aligned(s->fd)) { in raw_needs_alignment() 534 if ((bdrv_flags & BDRV_O_NOCACHE)) { in raw_parse_flags() 789 if (!(bs->open_flags & BDRV_O_NOCACHE)) { in raw_open_common() 1735 (aiocb->bs->open_flags & BDRV_O_NOCACHE) && in handle_aiocb_rw_linear() 3987 if (flags & BDRV_O_NOCACHE) { in GetBSDPath()
|
H A D | nvme.c | 996 if (flags & BDRV_O_NOCACHE) { in nvme_open() 1002 ret = nvme_enable_disable_write_cache(bs, !(flags & BDRV_O_NOCACHE), in nvme_open()
|
H A D | file-win32.c | 280 if (flags & BDRV_O_NOCACHE) { in raw_parse_flags()
|
H A D | qapi.c | 71 .direct = !!(bs->open_flags & BDRV_O_NOCACHE), in bdrv_block_device_info()
|
H A D | gluster.c | 761 if ((bdrv_flags & BDRV_O_NOCACHE)) { in qemu_gluster_parse_flags()
|
H A D | rbd.c | 1121 !(flags & BDRV_O_NOCACHE), keypairs, secretid, errp); in qemu_rbd_open()
|
H A D | iscsi.c | 477 if (open_flags & BDRV_O_NOCACHE) { in iscsi_allocmap_init()
|
/openbmc/qemu/ |
H A D | qemu-io.c | 184 flags |= BDRV_O_NOCACHE; in open_f() 550 flags |= BDRV_O_NOCACHE; in main()
|
H A D | block.c | 1179 *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 D | qemu-io-cmds.c | 2494 qdict_put_bool(opts, BDRV_OPT_CACHE_DIRECT, flags & BDRV_O_NOCACHE); in reopen_f()
|
H A D | blockdev.c | 846 !!(flags & BDRV_O_NOCACHE), &error_abort); in drive_new()
|
H A D | qemu-img.c | 2688 if (flags & BDRV_O_NOCACHE) { in img_convert()
|