Searched refs:pfec (Results 1 – 2 of 2) sorted by relevance
176 unsigned int pfec = access; in permission_fault() local193 int index = (pfec | (not_smap ? PFERR_RSVD_MASK : 0)) >> 1; in permission_fault()201 WARN_ON(pfec & (PFERR_PK_MASK | PFERR_RSVD_MASK)); in permission_fault()214 offset = (pfec & ~1) | ((pte_access & PT_USER_MASK) ? PFERR_RSVD_MASK : 0); in permission_fault()
5256 unsigned pfec = byte << 1; in update_permission_bitmask() local5264 u8 wf = (pfec & PFERR_WRITE_MASK) ? (u8)~w : 0; in update_permission_bitmask()5266 u8 uf = (pfec & PFERR_USER_MASK) ? (u8)~u : 0; in update_permission_bitmask()5268 u8 ff = (pfec & PFERR_FETCH_MASK) ? (u8)~x : 0; in update_permission_bitmask()5276 u8 kf = (pfec & PFERR_USER_MASK) ? 0 : u; in update_permission_bitmask()5284 wf = (pfec & PFERR_USER_MASK) ? wf : 0; in update_permission_bitmask()5288 smepf = (pfec & PFERR_FETCH_MASK) ? kf : 0; in update_permission_bitmask()5307 smapf = (pfec & (PFERR_RSVD_MASK|PFERR_FETCH_MASK)) ? 0 : kf; in update_permission_bitmask()5351 unsigned pfec, pkey_bits; in update_pkru_bitmask() local5354 pfec = bit << 1; in update_pkru_bitmask()[all …]