Searched refs:ss (Results 1 – 15 of 15) sorted by relevance
/hurd/ |
A D | thread-cancel.c | 42 if (! ss) in hurd_thread_cancel() 50 ss->cancel = 1; in hurd_thread_cancel() 56 __spin_lock (&ss->lock); in hurd_thread_cancel() 58 __spin_unlock (&ss->lock); in hurd_thread_cancel() 63 ss->cancel = 1; in hurd_thread_cancel() 73 if (ss->cancel_hook) in hurd_thread_cancel() 77 (*ss->cancel_hook) (); in hurd_thread_cancel() 93 __spin_lock (&ss->lock); in hurd_check_cancel() 95 cancel = ss->cancel; in hurd_check_cancel() 96 ss->cancel = 0; in hurd_check_cancel() [all …]
|
A D | hurd-raise.c | 28 _hurd_raise_signal (struct hurd_sigstate *ss, in _hurd_raise_signal() argument 33 if (ss) in _hurd_raise_signal() 34 __spin_unlock (&ss->lock); in _hurd_raise_signal() 38 if (ss == NULL) in _hurd_raise_signal() 40 ss = _hurd_self_sigstate (); in _hurd_raise_signal() 41 __spin_lock (&ss->lock); in _hurd_raise_signal() 45 __sigaddset (&ss->pending, signo); in _hurd_raise_signal() 46 ss->pending_data[signo] = *detail; in _hurd_raise_signal() 48 __spin_unlock (&ss->lock); in _hurd_raise_signal()
|
A D | hurdsig.c | 81 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next) in _hurd_thread_sigstate() 86 ss = malloc (sizeof (*ss)); in _hurd_thread_sigstate() 140 return ss; in _hurd_thread_sigstate() 156 ss = *ssp; in libc_hidden_def() 157 if (ss) in libc_hidden_def() 161 if (ss) in libc_hidden_def() 519 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next) in abort_all_rpcs() 525 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next, ++nthreads) in abort_all_rpcs() 1175 return _hurd_sigstate_pending (ss) & ~ss->blocked; in pending_signals() 1219 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next) in post_all_pending_signals() [all …]
|
A D | catch-exc.c | 38 struct hurd_sigstate *ss; in _S_catch_exception_raise() local 62 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next) in _S_catch_exception_raise() 63 if (ss->thread == thread) in _S_catch_exception_raise() 66 if (ss == NULL) in _S_catch_exception_raise() 67 ss = _hurd_thread_sigstate (thread); /* Allocate a fresh one. */ in _S_catch_exception_raise() 69 if (__spin_lock_locked (&ss->lock)) in _S_catch_exception_raise() 82 __spin_unlock (&ss->critical_section_lock); in _S_catch_exception_raise() 83 ss->context = NULL; in _S_catch_exception_raise() 84 __spin_unlock (&ss->lock); in _S_catch_exception_raise() 88 _hurd_internal_post_signal (ss, signo, &d, in _S_catch_exception_raise()
|
A D | sigunwind.c | 36 struct hurd_sigstate *ss = _hurd_self_sigstate (); in _hurdsig_longjmp_from_handler() local 57 __spin_lock (&ss->lock); in _hurdsig_longjmp_from_handler() 62 onstack = (ss->sigaltstack.ss_flags & SS_ONSTACK); in _hurdsig_longjmp_from_handler() 63 __spin_unlock (&ss->lock); in _hurdsig_longjmp_from_handler() 85 for (link = ss->active_resources; in _hurdsig_longjmp_from_handler() 115 scp->sc_mask = ss->blocked; in _hurdsig_longjmp_from_handler() 126 ss->active_resources = link; in _hurdsig_longjmp_from_handler() 133 __spin_lock (&ss->lock); in _hurdsig_longjmp_from_handler() 134 __spin_unlock (&ss->critical_section_lock); in _hurdsig_longjmp_from_handler() 136 __spin_unlock (&ss->lock); in _hurdsig_longjmp_from_handler() [all …]
|
A D | ctty-input.c | 45 struct hurd_sigstate *ss = _hurd_self_sigstate (); in _hurd_ctty_input() local 48 _hurd_sigstate_lock (ss); in _hurd_ctty_input() 49 actions = _hurd_sigstate_actions (ss); in _hurd_ctty_input() 50 if (__sigismember (&ss->blocked, SIGTTIN) in _hurd_ctty_input() 54 _hurd_sigstate_unlock (ss); in _hurd_ctty_input() 71 _hurd_sigstate_lock (ss); in _hurd_ctty_input() 72 actions = _hurd_sigstate_actions (ss); in _hurd_ctty_input() 75 _hurd_sigstate_unlock (ss); in _hurd_ctty_input()
|
A D | ctty-output.c | 32 struct hurd_sigstate *ss = _hurd_self_sigstate (); in _hurd_ctty_output() local 42 _hurd_sigstate_lock (ss); in _hurd_ctty_output() 43 actions = _hurd_sigstate_actions (ss); in _hurd_ctty_output() 44 if (__sigismember (&ss->blocked, SIGTTOU) in _hurd_ctty_output() 49 _hurd_sigstate_unlock (ss); in _hurd_ctty_output() 76 _hurd_sigstate_lock (ss); in _hurd_ctty_output() 77 actions = _hurd_sigstate_actions (ss); in _hurd_ctty_output() 80 _hurd_sigstate_unlock (ss); in _hurd_ctty_output()
|
A D | catch-signal.c | 56 __spin_lock (&ss->lock); in __hurd_catch_signal() 57 preemptor.next = ss->preemptors; in __hurd_catch_signal() 58 ss->preemptors = &preemptor; in __hurd_catch_signal() 59 __spin_unlock (&ss->lock); in __hurd_catch_signal() 69 __spin_lock (&ss->lock); in __hurd_catch_signal() 71 ss->preemptors = preemptor.next; in __hurd_catch_signal() 72 __spin_unlock (&ss->lock); in __hurd_catch_signal() 149 __spin_lock (&ss->lock); in hurd_safe_memmove() 152 __spin_unlock (&ss->lock); in hurd_safe_memmove() 162 __spin_lock (&ss->lock); in hurd_safe_memmove() [all …]
|
A D | hurdmsg.c | 127 __spin_lock (&ss->lock); in get_int() 128 *value = ss->pending; in get_int() 129 __spin_unlock (&ss->lock); in get_int() 137 __spin_lock (&ss->lock); in get_int() 142 __spin_unlock (&ss->lock); in get_int() 205 __spin_lock (&ss->lock); in set_int() 206 ss->pending = value; in set_int() 207 __spin_unlock (&ss->lock); in set_int() 215 __spin_lock (&ss->lock); in set_int() 219 ss->actions[sig].sa_handler = SIG_IGN; in set_int() [all …]
|
A D | report-wait.c | 130 struct hurd_sigstate *ss; in weak_extern() local 133 for (ss = _hurd_sigstates; ss != NULL; ss = ss->next) in weak_extern() 134 if (ss->thread == thread) in weak_extern() 137 if (ss == NULL) in weak_extern() 141 if (ss->suspended != MACH_PORT_NULL) in weak_extern() 175 if (send_port == ss->intr_port) in weak_extern()
|
A D | intr-msg.c | 41 struct hurd_sigstate *ss; in _hurd_intr_rpc_mach_msg() local 91 ss = _hurd_self_sigstate (); in _hurd_intr_rpc_mach_msg() 106 ss->intr_port = m->header.msgh_remote_port; in _hurd_intr_rpc_mach_msg() 120 &ss->cancel, &ss->intr_port); in _hurd_intr_rpc_mach_msg() 300 if (ss->intr_port != MACH_PORT_NULL) in _hurd_intr_rpc_mach_msg() 317 ss->cancel = 0; in _hurd_intr_rpc_mach_msg() 329 ss->cancel = 0; in _hurd_intr_rpc_mach_msg() 335 if (ss->intr_port == MACH_PORT_NULL) in _hurd_intr_rpc_mach_msg() 373 if (ss->intr_port != MACH_PORT_NULL) in _hurd_intr_rpc_mach_msg() 403 ss->cancel = 0; in _hurd_intr_rpc_mach_msg() [all …]
|
A D | hurdexec.c | 71 struct hurd_sigstate *ss; in _hurd_exec_paths() local 124 ss = _hurd_self_sigstate (); in _hurd_exec_paths() 127 assert (! __spin_lock_locked (&ss->critical_section_lock)); in _hurd_exec_paths() 128 __spin_lock (&ss->critical_section_lock); in _hurd_exec_paths() 130 _hurd_sigstate_lock (ss); in _hurd_exec_paths() 131 struct sigaction *actions = _hurd_sigstate_actions (ss); in _hurd_exec_paths() 132 ints[INIT_SIGMASK] = ss->blocked; in _hurd_exec_paths() 133 ints[INIT_SIGPENDING] = _hurd_sigstate_pending (ss); in _hurd_exec_paths() 147 _hurd_sigstate_unlock (ss); in _hurd_exec_paths() 432 _hurd_critical_section_unlock (ss); in _hurd_exec_paths()
|
A D | hurdselect.c | 70 struct hurd_sigstate *ss = NULL; in _hurd_select() local 127 ss = _hurd_self_sigstate (); in _hurd_select() 128 _hurd_sigstate_lock (ss); in _hurd_select() 130 ss->suspended = sigport; in _hurd_select() 131 _hurd_sigstate_unlock (ss); in _hurd_select() 135 _hurd_sigstate_lock (ss); in _hurd_select() 136 ss->suspended = MACH_PORT_NULL; in _hurd_select() 137 _hurd_sigstate_unlock (ss); in _hurd_select() 553 _hurd_sigstate_lock (ss); in _hurd_select() 554 ss->suspended = MACH_PORT_NULL; in _hurd_select() [all …]
|
/hurd/hurd/ |
A D | signal.h | 210 struct hurd_sigstate *ss; in _hurd_critical_section_lock() local 218 ss = THREAD_GETMEM (THREAD_SELF, _hurd_sigstate); in _hurd_critical_section_lock() 219 if (ss == NULL) in _hurd_critical_section_lock() 227 ss = _hurd_thread_sigstate (self); in _hurd_critical_section_lock() 228 THREAD_SETMEM (THREAD_SELF, _hurd_sigstate, ss); in _hurd_critical_section_lock() 232 if (! __spin_try_lock (&ss->critical_section_lock)) in _hurd_critical_section_lock() 239 return ss; in _hurd_critical_section_lock() 259 _hurd_sigstate_lock (ss); in _hurd_critical_section_unlock() 260 __spin_unlock (&ss->critical_section_lock); in _hurd_critical_section_unlock() 261 pending = _hurd_sigstate_pending(ss) & ~ss->blocked; in _hurd_critical_section_unlock() [all …]
|
A D | sigpreempt.h | 45 struct hurd_sigstate *ss,
|
Completed in 28 milliseconds