Searched refs:to_user_ptr (Results 1 – 1 of 1) sorted by relevance
151 #define to_user_ptr(p) ptr_to_compat(p) macro215 #define to_user_ptr(p) ((unsigned long)(p)) macro279 __put_user(to_user_ptr(old_ka.sa.sa_handler), in sys_sigaction()281 __put_user(to_user_ptr(old_ka.sa.sa_restorer), in sys_sigaction()631 ret = put_user(to_user_ptr(old_ka.sa.sa_handler), &oact->sa_handler); in compat_sys_rt_sigaction()862 || __put_user(to_user_ptr(&rt_sf->uc.uc_mcontext), in handle_rt_signal32()1007 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in sys_swapcontext()1208 if (__put_user(to_user_ptr(ka->sa.sa_handler), &sc->handler) in handle_signal32()1215 || __put_user(to_user_ptr(&frame->mctx), &sc->regs) in handle_signal32()