Home
last modified time | relevance | path

Searched refs:sigmask (Results 1 – 25 of 48) sorted by relevance

12

/external/strace/tests-mx32/
Dppoll.c48 const kernel_ulong_t sigmask, in sys_ppoll() argument
51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize); in sys_ppoll()
74 void *const sigmask = tail_alloc(sigset_size); in main() local
132 memcpy(sigmask, &mask, sigset_size); in main()
136 (unsigned long) sigmask, sigset_size); in main()
167 (unsigned long) sigmask, sigset_size); in main()
203 memcpy(sigmask, &mask, sigset_size); in main()
207 (unsigned long) sigmask, sigset_size); in main()
221 f8ill_ptr_to_kulong(ts), f8ill_ptr_to_kulong(sigmask), in main()
228 (unsigned long long) f8ill_ptr_to_kulong(sigmask), in main()
Daio_pgetevents.c49 sigset_t *sigmask; member
148 ss->sigmask = sigs + 1; in main()
159 ss->sigmask = sigs; in main()
/external/strace/tests/
Dppoll.c48 const kernel_ulong_t sigmask, in sys_ppoll() argument
51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize); in sys_ppoll()
74 void *const sigmask = tail_alloc(sigset_size); in main() local
132 memcpy(sigmask, &mask, sigset_size); in main()
136 (unsigned long) sigmask, sigset_size); in main()
167 (unsigned long) sigmask, sigset_size); in main()
203 memcpy(sigmask, &mask, sigset_size); in main()
207 (unsigned long) sigmask, sigset_size); in main()
221 f8ill_ptr_to_kulong(ts), f8ill_ptr_to_kulong(sigmask), in main()
228 (unsigned long long) f8ill_ptr_to_kulong(sigmask), in main()
Daio_pgetevents.c49 sigset_t *sigmask; member
148 ss->sigmask = sigs + 1; in main()
159 ss->sigmask = sigs; in main()
/external/strace/tests-m32/
Dppoll.c48 const kernel_ulong_t sigmask, in sys_ppoll() argument
51 long rc = syscall(__NR_ppoll, ufds, nfds, tsp, sigmask, sigsetsize); in sys_ppoll()
74 void *const sigmask = tail_alloc(sigset_size); in main() local
132 memcpy(sigmask, &mask, sigset_size); in main()
136 (unsigned long) sigmask, sigset_size); in main()
167 (unsigned long) sigmask, sigset_size); in main()
203 memcpy(sigmask, &mask, sigset_size); in main()
207 (unsigned long) sigmask, sigset_size); in main()
221 f8ill_ptr_to_kulong(ts), f8ill_ptr_to_kulong(sigmask), in main()
228 (unsigned long long) f8ill_ptr_to_kulong(sigmask), in main()
Daio_pgetevents.c49 sigset_t *sigmask; member
148 ss->sigmask = sigs + 1; in main()
159 ss->sigmask = sigs; in main()
/external/squashfs-tools/squashfs-tools/
Drestore.c61 sigset_t sigmask, old_mask; in restore_thrd() local
64 sigemptyset(&sigmask); in restore_thrd()
65 sigaddset(&sigmask, SIGINT); in restore_thrd()
66 sigaddset(&sigmask, SIGTERM); in restore_thrd()
67 sigaddset(&sigmask, SIGUSR1); in restore_thrd()
68 pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask); in restore_thrd()
71 sigwait(&sigmask, &sig); in restore_thrd()
Dunsquashfs_info.c99 sigset_t sigmask; in info_thrd() local
102 sigemptyset(&sigmask); in info_thrd()
103 sigaddset(&sigmask, SIGQUIT); in info_thrd()
104 sigaddset(&sigmask, SIGHUP); in info_thrd()
105 sigaddset(&sigmask, SIGALRM); in info_thrd()
108 err = sigwait(&sigmask, &sig); in info_thrd()
Dinfo.c136 sigset_t sigmask; in info_thrd() local
139 sigemptyset(&sigmask); in info_thrd()
140 sigaddset(&sigmask, SIGQUIT); in info_thrd()
141 sigaddset(&sigmask, SIGHUP); in info_thrd()
142 sigaddset(&sigmask, SIGALRM); in info_thrd()
145 err = sigwait(&sigmask, &sig); in info_thrd()
Dprocess_fragments.c253 sigset_t sigmask, old_mask; in frag_thrd() local
257 sigemptyset(&sigmask); in frag_thrd()
258 sigaddset(&sigmask, SIGINT); in frag_thrd()
259 sigaddset(&sigmask, SIGTERM); in frag_thrd()
260 sigaddset(&sigmask, SIGUSR1); in frag_thrd()
261 pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask); in frag_thrd()
Dunsquashfs.c2176 sigset_t sigmask, old_mask; in initialise_threads() local
2179 sigemptyset(&sigmask); in initialise_threads()
2180 sigaddset(&sigmask, SIGQUIT); in initialise_threads()
2181 sigaddset(&sigmask, SIGHUP); in initialise_threads()
2182 sigaddset(&sigmask, SIGALRM); in initialise_threads()
2183 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in initialise_threads()
2191 sigemptyset(&sigmask); in initialise_threads()
2192 sigaddset(&sigmask, SIGINT); in initialise_threads()
2193 sigaddset(&sigmask, SIGTERM); in initialise_threads()
2194 if(pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask) == -1) in initialise_threads()
Dmksquashfs.c3388 sigset_t sigmask; in dir_scan() local
3391 sigemptyset(&sigmask); in dir_scan()
3392 sigaddset(&sigmask, SIGINT); in dir_scan()
3393 sigaddset(&sigmask, SIGTERM); in dir_scan()
3394 sigaddset(&sigmask, SIGUSR1); in dir_scan()
3395 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in dir_scan()
4354 sigset_t sigmask, old_mask; in initialise_threads() local
4411 sigemptyset(&sigmask); in initialise_threads()
4412 sigaddset(&sigmask, SIGQUIT); in initialise_threads()
4413 sigaddset(&sigmask, SIGHUP); in initialise_threads()
[all …]
/external/linux-kselftest/tools/testing/selftests/x86/
Dtest_syscall_vdso.c213 sigset_t sigmask; variable
230 sigemptyset(&sigmask); in prep_args()
231 sigaddset(&sigmask, SIGINT); in prep_args()
232 sigaddset(&sigmask, SIGUSR2); in prep_args()
233 sigaddset(&sigmask, SIGRTMAX); in prep_args()
234 sigmask_desc.sp = &sigmask; in prep_args()
/external/openssh/openbsd-compat/
Dsigact.c107 *mask &= ~sigmask(sig); in sigdelset()
118 *mask |= sigmask(sig); in sigaddset()
129 return (*mask & sigmask(sig)) != 0; in sigismember()
/external/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait.h29 int timeout, const sigset_t *sigmask) in epoll_pwait() argument
32 timeout, sigmask, _NSIG / 8); in epoll_pwait()
Depoll_pwait01.c153 static void do_test(sigset_t *sigmask) in do_test() argument
164 TEST(epoll_pwait(epfd, &epevs, 1, 100, sigmask)); in do_test()
166 if (sigmask != NULL) in do_test()
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c48 sigset_t *sigmask; /* sigmask ppoll parameter */ member
109 .sigmask = &sigmask_sigint,
147 .sigmask = &sigmask_empty,
236 tc->sigmask, SIGSETSIZE); in do_test()
/external/strace/
Dprint_aio_sigset.c33 sigset_t *sigmask; member
48 print_sigset_addr_len(tcp, (uintptr_t) sigset.sigmask, in MPERS_PRINTER_DECL()
/external/adhd/cras/src/common/
Dcras_util.c174 const sigset_t *sigmask) in cras_poll() argument
199 rc = ppoll(fds, nfds, timeout, sigmask); in cras_poll()
Dcras_util.h211 const sigset_t *sigmask);
/external/python/cpython2/Lib/plat-irix6/
DWAIT.py292 def sigmask(sig): return (1L << ((sig)-1)) function
294 def sigmask(sig): return (1L << ((sig)-1)) function
DFILE.py338 def sigmask(sig): return (1L << ((sig)-1)) function
340 def sigmask(sig): return (1L << ((sig)-1)) function
/external/e2fsprogs/lib/ss/
Dss_internal.h102 #define sigmask(x) (1L<<(x)-1) macro
/external/syzkaller/sys/fuchsia/
Dposix.txt43 …, array[pollfd]], nfds len[fds], tsp ptr[in, timespec], sigmask ptr[in, sigset], size len[sigmask])
/external/syzkaller/sys/freebsd/
Dsys.txt30 …, array[pollfd]], nfds len[fds], tsp ptr[in, timespec], sigmask ptr[in, sigset], size len[sigmask])

12