Lines Matching refs:execute_only_pkey
17 int execute_only_pkey = mm->context.execute_only_pkey;
21 if (execute_only_pkey == -1) {
23 execute_only_pkey = mm_pkey_alloc(mm);
24 if (execute_only_pkey < 0)
37 !__pkru_allows_read(read_pkru(), execute_only_pkey)) {
38 return execute_only_pkey;
45 ret = arch_set_user_pkey_access(current, execute_only_pkey,
52 mm_set_pkey_free(mm, execute_only_pkey);
58 mm->context.execute_only_pkey = execute_only_pkey;
59 return execute_only_pkey;
67 if (vma_pkey(vma) != vma->vm_mm->context.execute_only_pkey)
92 pkey = execute_only_pkey(vma->vm_mm);