Lines Matching defs:pkey
94 int pkey;
97 * We don't try to fetch the pkey from page table because reading
99 * Hence the pkey value that we return to userspace can be different
100 * from the pkey that actually caused access error.
105 * 1. T1 : mprotect_key(foo, PAGE_SIZE, pkey=4);
106 * 2. T1 : set AMR to deny access to pkey=4, touches, page
108 * 4. T2: mprotect_key(foo, PAGE_SIZE, pkey=5);
111 * faulted on a pte with its pkey=4.
113 pkey = vma_pkey(vma);
125 _exception_pkey(regs, address, pkey);
242 * faults just to hit a pkey fault as soon as we fill in a
279 * We should ideally do the vma pkey access check here. But in the