Home
last modified time | relevance | path

Searched refs:write_protected (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/block/
H A Dswim.c178 int write_protected; member
590 fs->write_protected = swim_readbit(base, WRITE_PROT); in setup_medium()
643 if ((mode & BLK_OPEN_WRITE) && fs->write_protected) { in floppy_open()
/openbmc/qemu/block/
H A Discsi.c100 bool write_protected; member
1584 iscsilun->write_protected = false; in iscsi_modesense_sync()
1606 iscsilun->write_protected = ms->device_specific_parameter & 0x80; in iscsi_modesense_sync()
1927 iscsilun->write_protected) { in iscsi_open()
2122 if (state->flags & BDRV_O_RDWR && iscsilun->write_protected) { in iscsi_reopen_prepare()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c1414 bool write_protected = false; in kvm_mmu_slot_gfn_write_protect() local
1419 write_protected |= rmap_write_protect(rmap_head, true); in kvm_mmu_slot_gfn_write_protect()
1424 write_protected |= in kvm_mmu_slot_gfn_write_protect()
1427 return write_protected; in kvm_mmu_slot_gfn_write_protect()