Lines Matching defs:thread
26 * other thread still find the access denied using the same keys.
316 void thread_pkey_regs_save(struct thread_struct *thread)
322 * TODO: Skip saving registers if @thread hasn't used any keys yet.
324 thread->amr = read_amr();
325 thread->iamr = read_iamr();
340 void thread_pkey_regs_init(struct thread_struct *thread)
345 thread->amr = default_amr;
346 thread->iamr = default_iamr;
418 * We only want to enforce protection keys on the current thread because we
423 * in a kernel thread.