Lines Matching defs:set

47  * When we have signals to deliver, we set up on the user stack,
109 #define unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region, label)\
111 if (__unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region))\
115 struct task_struct *tsk, int signr, sigset_t *set,
118 /* When CONFIG_ALTIVEC is set, we _always_ setup v_regs even if the
121 * don't lose the VRSAVE content that may have been set prior to
144 /* set MSR_VEC in the MSR value in the frame to indicate that sc->v_reg)
161 * to this context, except in the specific case below where we set it.
173 /* set MSR_VSX in the MSR value in the frame to
185 if (set != NULL)
186 unsafe_put_user(set->sig[0], &sc->oldmask, efault_out);
200 * registers and set up the 'normal' sigcontext registers with rolled-back
209 int signr, sigset_t *set, unsigned long handler,
212 /* When CONFIG_ALTIVEC is set, we _always_ setup v_regs even if the
215 * don't lose the VRSAVE content that may have been set prior to
260 /* set MSR_VEC in the MSR value in the frame to indicate
307 /* set MSR_VSX in the MSR value in the frame to
323 if (set != NULL)
324 err |= __put_user(set->sig[0], &sc->oldmask);
333 #define unsafe_restore_sigcontext(tsk, set, sig, sc, label) do { \
334 if (__unsafe_restore_sigcontext(tsk, set, sig, sc)) \
337 static long notrace __unsafe_restore_sigcontext(struct task_struct *tsk, sigset_t *set,
368 /* Don't allow userspace to set SOFTE */
376 if (set != NULL)
377 unsafe_get_user(set->sig[0], &sc->oldmask, efault_out);
383 * uses FP/VEC/VSX, and this process has the MSR bits set, then the
463 * TEXASR was set by the signal delivery reclaim, as was TFIAR.
494 /* Don't allow userspace to set SOFTE */
571 * with MSR[TS] set without recheckpointing.
591 * to be de-scheduled with MSR[TS] set but without calling
655 * Handle {get,set,swap}_context operations
660 sigset_t set;
714 if (__get_user_sigset(&set, &new_ctx->uc_sigmask)) {
718 set_current_blocked(&set);
748 sigset_t set;
757 if (__get_user_sigset(&set, &uc->uc_sigmask))
759 set_current_blocked(&set);
827 * MSR[TS] set, but without CPU in the proper state,
857 int handle_rt_signal64(struct ksignal *ksig, sigset_t *set,
913 unsafe_copy_to_user(&frame->uc.uc_sigmask, set, sizeof(*set), badframe_block);