/openbmc/qemu/tests/unit/ |
H A D | test-block-backend.c | 42 BLK_PERM_ALL, BLK_PERM_ALL); in test_drain_aio_error() 59 BLK_PERM_ALL, BLK_PERM_ALL); in test_drain_all_aio_error()
|
H A D | test-bdrv-drain.c | 190 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_setup() 381 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_nested() 431 blk_a = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_graph_change_drain_all() 447 blk_b = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_graph_change_drain_all() 546 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_iothread_common() 739 blk_src = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_blockjob_common_drain_node() 763 blk_target = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_blockjob_common_drain_node() 768 0, BLK_PERM_ALL, in test_blockjob_common_drain_node() 774 block_job_add_bdrv(job, "target", target, 0, BLK_PERM_ALL, &error_abort); in test_blockjob_common_drain_node() 1075 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in do_test_delete_by_drain() [all …]
|
H A D | test-bdrv-graph-mod.c | 41 *nshared = BLK_PERM_ALL; in no_perm_default_perms() 57 *nshared = BLK_PERM_ALL & ~BLK_PERM_WRITE; in exclusive_write_perms() 134 BLK_PERM_ALL & ~BLK_PERM_WRITE); in test_update_perm_tree() 198 BlockBackend *root = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_should_update_child() 290 *nshared = BLK_PERM_ALL & ~BLK_PERM_WRITE; in write_to_selected_perms() 293 *nshared = BLK_PERM_ALL; in write_to_selected_perms()
|
H A D | test-block-iothread.c | 476 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_sync_op() 557 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL, BLK_PERM_ALL); in test_attach_blockjob() 562 0, BLK_PERM_ALL, in test_attach_blockjob() 626 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL & ~BLK_PERM_RESIZE, in test_propagate_basic() 627 BLK_PERM_ALL); in test_propagate_basic() 713 blk = blk_new(qemu_get_aio_context(), BLK_PERM_ALL & ~BLK_PERM_RESIZE, in test_propagate_diamond() 714 BLK_PERM_ALL); in test_propagate_diamond() 782 blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_propagate_mirror() 821 blk = blk_new(ctx, BLK_PERM_ALL, BLK_PERM_ALL); in test_attach_second_node() 852 blk = blk_new(ctx, BLK_PERM_ALL, BLK_PERM_ALL); in test_attach_preserve_blk_ctx()
|
H A D | test-image-locking.c | 65 for (i = 0; (1ULL << i) <= BLK_PERM_ALL; i++) { in check_locked_bytes() 86 shared_perm = BLK_PERM_ALL; in test_image_locking_basic() 127 shared_perm = BLK_PERM_ALL; in test_set_perm_abort()
|
H A D | test-blockjob.c | 41 0, BLK_PERM_ALL, 0, flags, block_job_cb, in mk_job() 71 BlockBackend *blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in create_blk()
|
H A D | test-throttle.c | 745 blk1 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups() 746 blk2 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups() 747 blk3 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups()
|
H A D | test-blockjob-txn.c | 97 0, BLK_PERM_ALL, 0, JOB_DEFAULT, in test_block_job_start()
|
/openbmc/qemu/block/ |
H A D | commit.c | 240 *nshared = BLK_PERM_ALL; in bdrv_commit_top_child_perm() 298 s = block_job_create(job_id, &commit_job_driver, NULL, bs, 0, BLK_PERM_ALL, in commit_start() 387 ret = block_job_add_bdrv(&s->common, "base", base, 0, BLK_PERM_ALL, errp); in commit_start() 406 s->top = blk_new(s->common.job.aio_context, 0, BLK_PERM_ALL); in commit_start() 495 BLK_PERM_ALL); in bdrv_commit() 496 backing = blk_new(ctx, BLK_PERM_WRITE | BLK_PERM_RESIZE, BLK_PERM_ALL); in bdrv_commit()
|
H A D | snapshot-access.c | 111 *nshared = BLK_PERM_ALL; in snapshot_access_child_perm()
|
H A D | backup.c | 476 0, BLK_PERM_ALL, in backup_job_create() 501 block_job_add_bdrv(&job->common, "target", target, 0, BLK_PERM_ALL, in backup_job_create()
|
H A D | copy-on-read.c | 109 #define PERM_UNCHANGED (BLK_PERM_ALL & ~PERM_PASSTHROUGH)
|
H A D | stream.c | 353 0, BLK_PERM_ALL, in stream_start()
|
H A D | crypto.c | 184 BLK_PERM_ALL, errp); in block_crypto_co_format_luks_payload() 395 blk = blk_co_new_with_bs(bs, BLK_PERM_WRITE | BLK_PERM_RESIZE, BLK_PERM_ALL, in block_crypto_co_create_generic()
|
H A D | block-backend.c | 211 blk_set_perm_locked(blk, blk->perm, BLK_PERM_ALL, &local_err); in blk_root_activate() 277 bdrv_child_try_set_perm(blk->root, 0, BLK_PERM_ALL, &error_abort); in blk_root_inactivate() 429 uint64_t shared = BLK_PERM_ALL; in blk_new_open() 1009 blk_set_perm(blk, 0, BLK_PERM_ALL, &error_abort); in blk_detach_dev()
|
/openbmc/qemu/include/block/ |
H A D | block-common.h | 409 BLK_PERM_ALL = 0x0f, enumerator 416 DEFAULT_PERM_UNCHANGED = BLK_PERM_ALL & ~DEFAULT_PERM_PASSTHROUGH,
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_pnor.c | 89 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in pnv_pnor_realize()
|
/openbmc/qemu/hw/block/ |
H A D | swim.c | 155 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in swim_change_cb() 205 dev->conf.blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in swim_drive_realize()
|
/openbmc/qemu/hw/nvram/ |
H A D | mac_nvram.c | 116 BLK_PERM_ALL, errp) < 0) { in macio_nvram_realizefn()
|
H A D | eeprom_at24c.c | 197 BLK_PERM_ALL, &error_fatal) < 0) in at24c_eeprom_realize()
|
H A D | xlnx-efuse.c | 70 BLK_PERM_ALL, NULL); in efuse_bdrv_read()
|
H A D | spapr_nvram.c | 163 BLK_PERM_ALL, errp); in spapr_nvram_realize()
|
/openbmc/qemu/hw/misc/ |
H A D | sifive_u_otp.c | 231 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in sifive_u_otp_realize()
|
/openbmc/qemu/hw/ide/ |
H A D | ide-dev.c | 88 dev->conf.blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in ide_dev_initfn()
|
/openbmc/qemu/block/export/ |
H A D | export.c | 156 blk = blk_new(ctx, perm, BLK_PERM_ALL); in blk_exp_add()
|