Searched refs:SR_KS (Results 1 – 5 of 5) sorted by relevance
35 mtsr(mfsr(addr) | SR_KS, addr); in kuap_lock_one()41 mtsr(mfsr(addr) & ~SR_KS, addr); in kuap_unlock_one()47 update_user_segments(mfsr(0) | SR_KS); in kuap_lock_all()53 update_user_segments(mfsr(0) & ~SR_KS); in kuap_unlock_all()
65 #define SR_KS 0x40000000 /* Supervisor key */ macro
25 init_mm.context.sr0 |= SR_KS; in setup_kuap()26 current->thread.sr0 |= SR_KS; in setup_kuap()
77 mm->context.sr0 |= SR_KS; in init_new_context()
938 rlwinm r3, r3, 0, ~SR_KS /* Ks = 0 */