Searched refs:open_flags (Results 1 – 11 of 11) sorted by relevance
| /openbmc/qemu/tests/unit/ |
| H A D | test-block-iothread.c | 254 c->bs->open_flags |= BDRV_O_UNMAP; in test_sync_op_pdiscard() 259 c->bs->open_flags &= ~BDRV_O_UNMAP; in test_sync_op_pdiscard() 294 c->bs->open_flags &= ~BDRV_O_RDWR; in test_sync_op_truncate() 299 c->bs->open_flags |= BDRV_O_RDWR; in test_sync_op_truncate() 348 c->bs->open_flags &= ~BDRV_O_RDWR; in test_sync_op_flush() 353 c->bs->open_flags |= BDRV_O_RDWR; in test_sync_op_flush() 366 bs->open_flags &= ~BDRV_O_RDWR; in test_sync_op_blk_flush() 371 bs->open_flags |= BDRV_O_RDWR; in test_sync_op_blk_flush()
|
| /openbmc/qemu/block/ |
| H A D | nfs.c | 409 int flags, int open_flags, Error **errp) in nfs_client_open() argument 459 if (open_flags & BDRV_O_NOCACHE) { in nfs_client_open() 480 if (open_flags & BDRV_O_NOCACHE) { in nfs_client_open() 584 int flags, int open_flags, Error **errp) in nfs_client_open_qdict() argument 595 ret = nfs_client_open(client, opts, flags, open_flags, errp); in nfs_client_open_qdict() 610 bs->open_flags, errp); in nfs_file_open() 730 !(bs->open_flags & BDRV_O_NOCACHE)) { in nfs_co_get_allocated_file_size()
|
| H A D | copy-on-read.c | 122 if (!(bs->open_flags & BDRV_O_INACTIVE)) { in cor_child_perm()
|
| H A D | parallels-ext.c | 178 assert(!(bs->open_flags & BDRV_O_RDWR)); in parallels_load_bitmap()
|
| H A D | block-backend.c | 909 if ((bs->open_flags & BDRV_O_INACTIVE) && blk_can_inactivate(blk)) { in blk_insert_bs() 2205 return blk->root_state.open_flags & BDRV_O_RDWR; in blk_supports_write_perm() 2296 return blk->root_state.open_flags; in blk_get_flags() 2633 blk->root_state.open_flags = blk->root->bs->open_flags; in blk_update_root_state() 2654 return blk->root_state.open_flags; in blk_get_open_flags_from_root_state()
|
| H A D | snapshot.c | 300 open_ret = drv->bdrv_open(bs, options, bs->open_flags, &local_err); in bdrv_snapshot_goto()
|
| H A D | replication.c | 173 if ((bs->open_flags & (BDRV_O_INACTIVE | BDRV_O_RDWR)) == BDRV_O_RDWR) { in replication_child_perm()
|
| /openbmc/qemu/hw/9pfs/ |
| H A D | 9p.h | 279 int open_flags; member
|
| /openbmc/qemu/include/hw/xen/ |
| H A D | xen_native.h | 134 struct xentoollog_logger *logger, unsigned int open_flags) in xendevicemodel_open() argument
|
| /openbmc/qemu/linux-user/ |
| H A D | strace.c | 1088 UNUSED static const struct flags open_flags[] = { variable 1664 print_flags(open_flags, flags, last); in print_open_flags()
|
| /openbmc/qemu/ |
| H A D | qemu-io-cmds.c | 2402 int flags = bs->open_flags; in reopen_f()
|