Lines Matching refs:chains
289 static SignalChain chains[_NSIG + 1]; variable
295 for (const auto& handler : chains[signo].special_handlers_) { in Handler()
321 int handler_flags = chains[signo].action_.sa_flags; in Handler()
325 sigorset(&mask, &ucontext->uc_sigmask64, &chains[signo].action_.sa_mask); in Handler()
328 sigorset(&mask, &ucontext->uc_sigmask, &chains[signo].action_.sa_mask); in Handler()
341 chains[signo].action_.sa_sigaction(signo, siginfo, ucontext_raw); in Handler()
343 auto handler = chains[signo].action_.sa_handler; in Handler()
368 if (chains[signal].IsClaimed()) { in __sigaction()
369 SigactionType saved_action = chains[signal].GetAction<SigactionType>(); in __sigaction()
371 chains[signal].SetAction(new_action); in __sigaction()
414 if (chains[signo].IsClaimed()) { in signal()
416 chains[signo].GetAction<struct sigaction>().sa_handler); in signal()
417 chains[signo].SetAction(&sa); in signal()
455 if (chains[i].IsClaimed() && sigismember(&tmpset, i)) { in __sigprocmask()
488 chains[signal].AddSpecialHandler(sa); in AddSpecialSignalHandlerFn()
489 chains[signal].Claim(signal); in AddSpecialSignalHandlerFn()
499 chains[signal].RemoveSpecialHandler(fn); in RemoveSpecialSignalHandlerFn()
517 chains[signal].Register(signal); in EnsureFrontOfChain()