Lines Matching defs:execute
159 * execute only key. Mark it unavailable.
171 * Allow execute in IAMR.
373 * If the currently associated pkey is execute-only, but the requested
374 * protection is not execute-only, move it back to the default pkey.
380 * The requested protection is execute-only. Hence let's use an
381 * execute-only pkey.
393 static bool pkey_access_permitted(int pkey, bool write, bool execute)
399 if (execute)
409 bool arch_pte_access_permitted(u64 pte, bool write, bool execute)
414 return pkey_access_permitted(pte_to_pkey_bits(pte), write, execute);
426 bool execute, bool foreign)
436 return pkey_access_permitted(vma_pkey(vma), write, execute);