Searched refs:PKEY_DISABLE_WRITE (Results 1 – 17 of 17) sorted by relevance
21 #undef PKEY_DISABLE_WRITE22 #define PKEY_DISABLE_WRITE 0x2 macro114 if (amr_bits & PKEY_DISABLE_WRITE) \116 if (amr_bits & PKEY_DISABLE_ACCESS & ~PKEY_DISABLE_WRITE) \129 rights |= PKEY_DISABLE_WRITE; in next_pkey_rights()130 else if ((rights & PKEY_BITS_MASK) == PKEY_DISABLE_WRITE) in next_pkey_rights()
79 #define PKEY_DISABLE_WRITE 0x2 macro81 PKEY_DISABLE_WRITE)
113 #define PKEY_DISABLE_WRITE 0x2 macro115 PKEY_DISABLE_WRITE)
76 #define PKEY_DISABLE_WRITE 0x2 macro78 PKEY_DISABLE_WRITE)
78 #define PKEY_DISABLE_WRITE 0x2 macro80 PKEY_DISABLE_WRITE)
105 #define PKEY_DISABLE_WRITE 0x2 macro107 PKEY_DISABLE_WRITE)
51 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE);59 pkey_set(pkey, 0); // clear PKEY_DISABLE_WRITE61 pkey_set(pkey, PKEY_DISABLE_WRITE); // set PKEY_DISABLE_WRITE again84 pkey = pkey_alloc(0, PKEY_DISABLE_WRITE | PKEY_DISABLE_READ);
22 #undef PKEY_DISABLE_WRITE23 #define PKEY_DISABLE_WRITE 0x2 macro
40 #ifndef PKEY_DISABLE_WRITE41 # define PKEY_DISABLE_WRITE 0x2 macro
190 u32 mask = (PKEY_DISABLE_ACCESS|PKEY_DISABLE_WRITE); in hw_pkey_set()218 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_set()257 pkey_assert(flags & (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_disable_clear()281 pkey_disable_clear(pkey, PKEY_DISABLE_WRITE); in pkey_write_allow()285 pkey_disable_set(pkey, PKEY_DISABLE_WRITE); in pkey_write_deny()
96 #define PKEY_MASK (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)
160 (rights == PKEY_DISABLE_WRITE) ? "write" : "read", in protect_access()195 case PKEY_DISABLE_WRITE: in protect_access()308 r.rights = PKEY_DISABLE_WRITE; in test()
33 PKEY_DISABLE_WRITE |\
111 (PKEY_DISABLE_ACCESS | PKEY_DISABLE_WRITE)); in pkey_early_init_devtree()309 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
23 PKEY_DISABLE_WRITE | \
1018 if (init_val & PKEY_DISABLE_WRITE) in arch_set_user_pkey_access()