Lines Matching refs:ua_state
90 static void save_reset_user_access_state(struct user_access_state *ua_state) in save_reset_user_access_state() argument
98 ua_state->por_el0 = read_sysreg_s(SYS_POR_EL0); in save_reset_user_access_state()
121 static void restore_user_access_state(const struct user_access_state *ua_state) in restore_user_access_state() argument
124 write_sysreg_s(ua_state->por_el0, SYS_POR_EL0); in restore_user_access_state()
319 const struct user_access_state *ua_state) in preserve_poe_context() argument
325 __put_user_error(ua_state->por_el0, &ctx->por_el0, err); in preserve_poe_context()
331 struct user_access_state *ua_state) in restore_poe_context() argument
341 ua_state->por_el0 = por_el0; in restore_poe_context()
910 struct user_access_state *ua_state) in restore_sigframe() argument
959 err = restore_poe_context(&user, ua_state); in restore_sigframe()
968 struct user_access_state ua_state; in SYSCALL_DEFINE0() local
985 if (restore_sigframe(regs, frame, &ua_state)) in SYSCALL_DEFINE0()
991 restore_user_access_state(&ua_state); in SYSCALL_DEFINE0()
1099 const struct user_access_state *ua_state) in setup_sigframe() argument
1161 err |= preserve_poe_context(poe_ctx, ua_state); in setup_sigframe()
1313 struct user_access_state ua_state; in setup_rt_frame() local
1321 save_reset_user_access_state(&ua_state); in setup_rt_frame()
1328 err |= setup_sigframe(&user, regs, set, &ua_state); in setup_rt_frame()
1341 restore_user_access_state(&ua_state); in setup_rt_frame()