/openbmc/qemu/tests/unit/ |
H A D | test-image-locking.c | 46 if (blk_set_perm(blk, perm, shared_perm, errp)) { in open_image() 137 r = blk_set_perm(blk2, perm | BLK_PERM_RESIZE, BLK_PERM_WRITE_UNCHANGED, in test_set_perm_abort()
|
/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/block/export/ |
H A D | fuse.c | 134 ret = blk_set_perm(exp->common.blk, blk_perm | BLK_PERM_RESIZE, in fuse_export_create() 468 ret = blk_set_perm(exp->common.blk, blk_perm | BLK_PERM_RESIZE, in fuse_do_truncate() 480 ret_check = blk_set_perm(exp->common.blk, blk_perm, in fuse_do_truncate()
|
/openbmc/qemu/hw/nvram/ |
H A D | mac_nvram.c | 115 if (blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in macio_nvram_realizefn()
|
H A D | eeprom_at24c.c | 188 if (blk_set_perm(ee->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in at24c_eeprom_realize()
|
H A D | xlnx-efuse.c | 68 rc = blk_set_perm(s->blk, in efuse_bdrv_read()
|
H A D | spapr_nvram.c | 161 ret = blk_set_perm(nvram->blk, in spapr_nvram_realize()
|
H A D | xlnx-bbram.c | 116 rc = blk_set_perm(s->blk, in bbram_bdrv_read()
|
/openbmc/qemu/include/sysemu/ |
H A D | block-backend-global-state.h | 64 int GRAPH_UNLOCKED blk_set_perm(BlockBackend *blk, uint64_t perm,
|
/openbmc/qemu/hw/block/ |
H A D | block.c | 221 ret = blk_set_perm(blk, perm, shared_perm, errp); in blkconf_apply_backend_options()
|
H A D | swim.c | 155 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in swim_change_cb()
|
H A D | nand.c | 427 ret = blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in nand_realize()
|
H A D | onenand.c | 804 blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in onenand_realize()
|
H A D | pflash_cfi01.c | 841 ret = blk_set_perm(pfl->blk, perm, BLK_PERM_ALL, errp); in pflash_cfi01_realize()
|
H A D | pflash_cfi02.c | 896 ret = blk_set_perm(pfl->blk, perm, BLK_PERM_ALL, errp); in pflash_cfi02_realize()
|
H A D | m25p80.c | 1633 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in m25p80_realize()
|
H A D | fdc.c | 428 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in fd_change_cb()
|
/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()
|
H A D | mac_via.c | 1258 ret = blk_set_perm(v1s->blk, in mos6522_q800_via1_realize()
|
/openbmc/qemu/block/ |
H A D | block-backend.c | 177 blk_set_perm(blk, blk->perm, blk->shared_perm, &local_err); in blk_vm_state_changed() 966 int blk_set_perm(BlockBackend *blk, uint64_t perm, uint64_t shared_perm, in blk_set_perm() function 1018 blk_set_perm(blk, 0, BLK_PERM_ALL, &error_abort); in blk_detach_dev()
|
/openbmc/qemu/ |
H A D | qemu-io-cmds.c | 120 ret = blk_set_perm(blk, new_perm, orig_shared_perm, &local_err); in command() 2466 blk_set_perm(blk, in reopen_f()
|
/openbmc/qemu/hw/sd/ |
H A D | sd.c | 2783 ret = blk_set_perm(sd->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in sd_realize()
|
/openbmc/qemu/nbd/ |
H A D | server.c | 1834 ret = blk_set_perm(blk, perm, shared_perm & ~BLK_PERM_RESIZE, errp); in nbd_export_create()
|