Home
last modified time | relevance | path

Searched refs:pfec (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/
Dmmu.h179 unsigned pfec) in permission_fault() argument
198 int index = (pfec >> 1) + in permission_fault()
203 WARN_ON(pfec & (PFERR_PK_MASK | PFERR_RSVD_MASK)); in permission_fault()
216 offset = (pfec & ~1) + in permission_fault()
/arch/x86/kvm/mmu/
Dmmu.c4516 unsigned pfec = byte << 1; in update_permission_bitmask() local
4524 u8 wf = (pfec & PFERR_WRITE_MASK) ? (u8)~w : 0; in update_permission_bitmask()
4526 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask()
4528 u8 ff = (pfec & PFERR_FETCH_MASK) ? (u8)~x : 0; in update_permission_bitmask()
4536 u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; in update_permission_bitmask()
4544 wf = (pfec & PFERR_USER_MASK) ? wf : 0; in update_permission_bitmask()
4548 smepf = (pfec & PFERR_FETCH_MASK) ? kf : 0; in update_permission_bitmask()
4567 smapf = (pfec & (PFERR_RSVD_MASK|PFERR_FETCH_MASK)) ? 0 : kf; in update_permission_bitmask()
4611 unsigned pfec, pkey_bits; in update_pkru_bitmask() local
4614 pfec = bit << 1; in update_pkru_bitmask()
[all …]