Lines Matching defs:sctx
775 SignalContext *sctx = thr->signal_ctx;
776 if (sctx) {
778 UnmapOrDie(sctx, sizeof(*sctx));
1609 SignalContext *sctx = SigCtx(thr);
1614 (sctx && sig == sctx->int_signal_send) ||
1618 (sctx && sctx->in_blocking_func == 1 && thr->in_rtl == 1)) {
1633 if (sctx == 0)
1635 SignalDesc *signal = &sctx->pending_signals[sig];
1643 sctx->pending_signal_count++;
1694 SignalContext *sctx = SigCtx(thr);
1695 CHECK_NE(sctx, 0);
1696 int prev = sctx->int_signal_send;
1697 sctx->int_signal_send = sig;
1699 CHECK_EQ(sctx->int_signal_send, sig);
1700 sctx->int_signal_send = prev;
1706 SignalContext *sctx = SigCtx(thr);
1707 CHECK_NE(sctx, 0);
1708 int prev = sctx->int_signal_send;
1710 sctx->int_signal_send = sig;
1714 CHECK_EQ(sctx->int_signal_send, sig);
1715 sctx->int_signal_send = prev;
1722 SignalContext *sctx = SigCtx(thr);
1723 CHECK_NE(sctx, 0);
1724 int prev = sctx->int_signal_send;
1726 sctx->int_signal_send = sig;
1730 CHECK_EQ(sctx->int_signal_send, sig);
1731 sctx
1838 SignalContext *sctx = SigCtx(thr);
1839 if (sctx == 0 || sctx->pending_signal_count == 0 || thr->in_signal_handler)
1843 sctx->pending_signal_count = 0;
1849 SignalDesc *signal = &sctx->pending_signals[sig];