Lines Matching defs:chains
229 static SignalChain chains[_NSIG];
235 for (const auto& handler : chains[signo].special_handlers_) {
261 int handler_flags = chains[signo].action_.sa_flags;
264 sigorset(&mask, &ucontext->uc_sigmask, &chains[signo].action_.sa_mask);
271 chains[signo].action_.sa_sigaction(signo, siginfo, ucontext_raw);
273 auto handler = chains[signo].action_.sa_handler;
296 if (chains[signal].IsClaimed()) {
297 struct sigaction saved_action = chains[signal].GetAction();
299 chains[signal].SetAction(new_action);
328 if (chains[signo].IsClaimed()) {
329 oldhandler = reinterpret_cast<sighandler_t>(chains[signo].GetAction().sa_handler);
330 chains[signo].SetAction(&sa);
368 if (chains[i].IsClaimed() && sigismember(&tmpset, i)) {
387 chains[signal].AddSpecialHandler(sa);
388 chains[signal].Claim(signal);
398 chains[signal].RemoveSpecialHandler(fn);
416 chains[signal].Register(signal);