/third_party/musl/src/signal/ |
D | block.c | 6 #if ULONG_MAX == 0xffffffff && _NSIG > 65 8 #elif ULONG_MAX == 0xffffffff || _NSIG > 65 17 #if _NSIG == 65 23 #if _NSIG == 65 33 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &all_mask, set, _NSIG/8); in __block_all_sigs() 38 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &app_mask, set, _NSIG/8); in __block_app_sigs() 43 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, set, 0, _NSIG/8); in __restore_sigs()
|
D | sigaction.c | 11 static unsigned long handler_set[_NSIG/(8*sizeof(long))]; 38 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction() 49 memcpy(&ksa.mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction() 51 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction() 55 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction() 62 unsigned long set[_NSIG/(8*sizeof(long))]; in __sigaction() 64 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
|
D | sigtimedwait.c | 16 ts ? ((long long[]){s, ns}) : 0, _NSIG/8); in do_sigtimedwait() 20 ts ? ((long[]){CLAMP(s), ns}) : 0, _NSIG/8);; in do_sigtimedwait() 22 return __syscall_cp(SYS_rt_sigtimedwait, mask, si, ts, _NSIG/8); in do_sigtimedwait()
|
D | sigemptyset.c | 7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; in sigemptyset() 8 if (sizeof(long)==4 && _NSIG > 65) { in sigemptyset()
|
D | sigfillset.c | 9 if (_NSIG > 65) { in sigfillset() 15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful; in sigfillset()
|
/third_party/musl/porting/linux/user/src/signal/ |
D | sigaction.c | 35 static unsigned long handler_set[_NSIG/(8*sizeof(long))]; 47 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction() 63 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction() 82 memcpy(&ksa.mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction() 84 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction() 92 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction() 99 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
|
/third_party/libunwind/src/setjmp/ |
D | siglongjmp.c | 34 #if !defined(_NSIG) 36 # define _NSIG (_SIG_MAXSIG - 1) macro 38 # define _NSIG NSIG macro 100 if (UNW_NUM_EH_REGS < 4 || _NSIG > 16 * sizeof (unw_word_t)) in siglongjmp() 107 || (_NSIG > 8 * sizeof (unw_word_t) in siglongjmp()
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
D | sigaction.c | 241 if (sig < SIGHUP || sig > (_NSIG - 1)) return -EINVAL; in __sig_action_opr() 275 static unsigned long handler_set[_NSIG/(8*sizeof(long))]; 304 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction() 315 memcpy(&ksa.sa_mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction() 319 return syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction() 326 memcpy(&old->sa_mask, &ksa_old.sa_mask, _NSIG/8); in __libc_sigaction() 333 unsigned long set[_NSIG/(8*sizeof(long))]; in __sigaction() 335 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
|
/third_party/musl/porting/linux/user/src/sigchain/ |
D | sigchain.c | 63 static struct sc_signal_chain sig_chains[_NSIG - 1]; 124 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); in sigchain_sigmask() 344 if (signo <= 0 || signo >= _NSIG) { in add_special_signal_handler() 363 if (signo <= 0 || signo >= _NSIG) { in remove_special_signal_handler() 382 if (signo <= 0 || signo >= _NSIG) { in remove_all_special_handler() 405 if (signo <= 0 || signo >= _NSIG) { in add_special_handler_at_last() 430 if (signo <= 0 || signo >= _NSIG) { in intercept_sigaction() 468 for (int i = 1; i < _NSIG; ++i) { in intercept_pthread_sigmask()
|
/third_party/musl/src/exit/ |
D | abort.c | 21 &(struct k_sigaction){.handler = SIG_DFL}, 0, _NSIG/8); in abort() 24 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
|
/third_party/musl/porting/liteos_a/user/src/exit/ |
D | abort.c | 16 __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, &set, 0, _NSIG / 8); in abort() 30 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
|
/third_party/ltp/include/lapi/ |
D | epoll.h | 29 timeout, sigmask, _NSIG / 8); in epoll_pwait() 46 NULL, sigmask, _NSIG / 8); in epoll_pwait2() 54 &ts, sigmask, _NSIG / 8); in epoll_pwait2()
|
/third_party/musl/src/linux/ |
D | signalfd.c | 9 int ret = __syscall(SYS_signalfd4, fd, sigs, _NSIG/8, flags); in signalfd() 12 ret = __syscall(SYS_signalfd, fd, sigs, _NSIG/8); in signalfd()
|
D | ppoll.c | 19 mask, _NSIG/8); in ppoll() 25 to ? ((long[]){s, ns}) : 0, mask, _NSIG/8); in ppoll()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_sigmask.c | 60 ret = -__syscall(SYS_rt_sigprocmask, how, new_set_ptr, old, _NSIG/8); in pthread_sigmask() 62 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); in pthread_sigmask()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
D | signal.h | 58 #define _NSIG 65 macro 60 #define SIGRTMAX (_NSIG - 1)
|
/third_party/musl/src/string/ |
D | strsignal.c | 104 #if _NSIG > 65 121 if (signum - 1U >= _NSIG-1) signum = 0; in strsignal()
|
/third_party/musl/porting/liteos_a/user/src/select/ |
D | select.c | 33 ((syscall_arg_t[]){ 0, _NSIG/8 })); in select() 42 tv ? ((long long[]){s, ns}) : 0, ((syscall_arg_t[]){ 0, _NSIG/8 })); in select()
|
/third_party/musl/src/select/ |
D | select.c | 33 ((syscall_arg_t[]){ 0, _NSIG/8 })); in select() 42 tv ? ((long[]){s, ns}) : 0, ((syscall_arg_t[]){ 0, _NSIG/8 })); in select()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigtimedwait/ |
D | rt_sigtimedwait01.c | 11 return tst_syscall(__NR_rt_sigtimedwait, set, info, timeout, _NSIG/8); in my_rt_sigtimedwait() 19 return tst_syscall(__NR_rt_sigtimedwait_time64, set, info, timeout, _NSIG/8); in my_rt_sigtimedwait_time64()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | pthread_impl.h | 73 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 76 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | pthread_impl.h | 73 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 76 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 76 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 79 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/python/Include/internal/ |
D | pycore_pylifecycle.h | 18 # if defined(_NSIG) 19 # define NSIG _NSIG /* For BSD/SysV */
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | signal.h | 176 #define SIGRTMAX (_NSIG - 1) 203 #define NSIG _NSIG
|