Home
last modified time | relevance | path

Searched refs:_NSIG (Results 1 – 25 of 94) sorted by relevance

1234

/third_party/musl/src/signal/
Dblock.c6 #if ULONG_MAX == 0xffffffff && _NSIG == 129
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()
Dsigaction.c17 static unsigned long handler_set[_NSIG/(8*sizeof(long))];
29 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction()
45 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction()
64 memcpy(&ksa.mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction()
66 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction()
74 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction()
81 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
Dsigtimedwait.c16 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()
Dsigemptyset.c7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; in sigemptyset()
8 if (sizeof(long)==4 && _NSIG > 65) { in sigemptyset()
Dsigfillset.c9 if (_NSIG > 65) { in sigfillset()
15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful; in sigfillset()
Dsigrtmax.c5 return _NSIG-1; in __libc_current_sigrtmax()
Dsigsuspend.c6 return syscall_cp(SYS_rt_sigsuspend, mask, _NSIG/8); in sigsuspend()
/third_party/libunwind/src/setjmp/
Dsiglongjmp.c34 #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/src/exit/
Dabort.c23 &(struct k_sigaction){.handler = SIG_DFL}, 0, _NSIG/8); in abort()
26 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
/third_party/musl/porting/liteos_a/user/src/exit/
Dabort.c18 __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, &set, 0, _NSIG / 8); in abort()
32 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
/third_party/musl/porting/liteos_a/user/src/signal/
Dsigaction.c246 if (sig < SIGHUP || sig > (_NSIG - 1)) return -EINVAL; in __sig_action_opr()
286 static unsigned long handler_set[_NSIG/(8*sizeof(long))];
298 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction()
316 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction()
335 memcpy(&ksa.sa_mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction()
339 return syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction()
350 memcpy(&old->sa_mask, &ksa_old.sa_mask, _NSIG/8); in __libc_sigaction()
357 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
/third_party/ltp/include/lapi/
Depoll.h29 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/
Dsignalfd.c9 int ret = __syscall(SYS_signalfd4, fd, sigs, _NSIG/8, flags); in signalfd()
12 ret = __syscall(SYS_signalfd, fd, sigs, _NSIG/8); in signalfd()
Dppoll.c19 mask, _NSIG/8); in ppoll()
25 to ? ((long[]){s, ns}) : 0, mask, _NSIG/8); in ppoll()
/third_party/musl/src/string/
Dstrsignal.c94 #if _NSIG > 65
111 if (signum - 1U >= _NSIG-1) signum = 0; in strsignal()
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsignal.h58 #define _NSIG 65 macro
60 #define SIGRTMAX (_NSIG - 1)
/third_party/musl/porting/liteos_a/user/src/select/
Dselect.c33 ((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/
Dselect.c33 ((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/
Drt_sigtimedwait01.c11 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/uniproton/kernel/src/internal/
Dpthread_impl.h73 ((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/
Dpthread_impl.h72 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
75 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dpthread_impl.h73 ((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/include/
Dsignal.h160 #define SIGRTMAX (_NSIG - 1)
187 #define NSIG _NSIG
/third_party/python/Include/internal/
Dpycore_pylifecycle.h18 # if defined(_NSIG)
19 # define NSIG _NSIG /* For BSD/SysV */
/third_party/ltp/include/old/
Dltp_signal.h53 #define SIGSETSIZE (_NSIG / 8)

1234