Home
last modified time | relevance | path

Searched refs:wrprot (Results 1 – 6 of 6) sorted by relevance

/linux/arch/x86/kvm/mmu/
H A Dtdp_mmu.c980 bool wrprot = false; in tdp_mmu_map_handle_target_level() local
996 wrprot = make_spte(vcpu, sp, fault->slot, ACC_ALL, iter->gfn, in tdp_mmu_map_handle_target_level()
1014 if (wrprot && fault->write) in tdp_mmu_map_handle_target_level()
1505 gfn_t gfn, unsigned long mask, bool wrprot) in clear_dirty_pt_masked() argument
1507 const u64 dbit = (wrprot || tdp_mmu_need_write_protect(root)) ? PT_WRITABLE_MASK : in clear_dirty_pt_masked()
1552 bool wrprot) in kvm_tdp_mmu_clear_dirty_pt_masked() argument
1557 clear_dirty_pt_masked(kvm, root, gfn, mask, wrprot); in kvm_tdp_mmu_clear_dirty_pt_masked()
H A Dmmu.c2827 bool wrprot; in mmu_set_spte() local
2863 wrprot = make_spte(vcpu, sp, slot, pte_access, gfn, pfn, *sptep, prefetch, in mmu_set_spte()
2873 if (wrprot && write_fault) in mmu_set_spte()
/linux/drivers/pcmcia/
H A Dsa1111_generic.c79 state->wrprot = status & PCSR_S0_WP ? 1 : 0; in sa1111_pcmcia_socket_state()
89 state->wrprot = status & PCSR_S1_WP ? 1 : 0; in sa1111_pcmcia_socket_state()
H A Dpxa2xx_sharpsl.c94 state->wrprot = (csr & 0x0008) ? 1 : 0; in sharpsl_pcmcia_socket_state()
/linux/include/pcmcia/
H A Dsoc_common.h17 wrprot: 1, member
/linux/drivers/block/
H A Damiflop.c1679 int wrprot; in floppy_open() local
1683 wrprot = !(ciaa.pra & DSKPROT); in floppy_open()
1687 if (wrprot) { in floppy_open()