Home
last modified time | relevance | path

Searched refs:blk_set_perm (Results 1 – 23 of 23) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-image-locking.c46 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 Dpnv_pnor.c89 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in pnv_pnor_realize()
/openbmc/qemu/block/export/
H A Dfuse.c134 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 Dmac_nvram.c115 if (blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in macio_nvram_realizefn()
H A Deeprom_at24c.c188 if (blk_set_perm(ee->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in at24c_eeprom_realize()
H A Dxlnx-efuse.c68 rc = blk_set_perm(s->blk, in efuse_bdrv_read()
H A Dspapr_nvram.c161 ret = blk_set_perm(nvram->blk, in spapr_nvram_realize()
H A Dxlnx-bbram.c116 rc = blk_set_perm(s->blk, in bbram_bdrv_read()
/openbmc/qemu/include/sysemu/
H A Dblock-backend-global-state.h64 int GRAPH_UNLOCKED blk_set_perm(BlockBackend *blk, uint64_t perm,
/openbmc/qemu/hw/block/
H A Dblock.c221 ret = blk_set_perm(blk, perm, shared_perm, errp); in blkconf_apply_backend_options()
H A Dswim.c155 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in swim_change_cb()
H A Dnand.c427 ret = blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in nand_realize()
H A Donenand.c804 blk_set_perm(s->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in onenand_realize()
H A Dpflash_cfi01.c841 ret = blk_set_perm(pfl->blk, perm, BLK_PERM_ALL, errp); in pflash_cfi01_realize()
H A Dpflash_cfi02.c896 ret = blk_set_perm(pfl->blk, perm, BLK_PERM_ALL, errp); in pflash_cfi02_realize()
H A Dm25p80.c1633 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in m25p80_realize()
H A Dfdc.c428 blk_set_perm(drive->blk, 0, BLK_PERM_ALL, &error_abort); in fd_change_cb()
/openbmc/qemu/hw/misc/
H A Dsifive_u_otp.c231 ret = blk_set_perm(s->blk, perm, BLK_PERM_ALL, errp); in sifive_u_otp_realize()
H A Dmac_via.c1258 ret = blk_set_perm(v1s->blk, in mos6522_q800_via1_realize()
/openbmc/qemu/block/
H A Dblock-backend.c177 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 Dqemu-io-cmds.c120 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 Dsd.c2783 ret = blk_set_perm(sd->blk, BLK_PERM_CONSISTENT_READ | BLK_PERM_WRITE, in sd_realize()
/openbmc/qemu/nbd/
H A Dserver.c1834 ret = blk_set_perm(blk, perm, shared_perm & ~BLK_PERM_RESIZE, errp); in nbd_export_create()