/external/squashfs-tools/squashfs-tools/ |
D | restore.c | 61 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()
|
D | unsquashfs_info.c | 99 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()
|
D | info.c | 136 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()
|
D | process_fragments.c | 253 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()
|
D | unsquashfs.c | 2176 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()
|
D | mksquashfs.c | 3345 sigset_t sigmask; in dir_scan() local 3348 sigemptyset(&sigmask); in dir_scan() 3349 sigaddset(&sigmask, SIGINT); in dir_scan() 3350 sigaddset(&sigmask, SIGTERM); in dir_scan() 3351 sigaddset(&sigmask, SIGUSR1); in dir_scan() 3352 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in dir_scan() 4311 sigset_t sigmask, old_mask; in initialise_threads() local 4368 sigemptyset(&sigmask); in initialise_threads() 4369 sigaddset(&sigmask, SIGQUIT); in initialise_threads() 4370 sigaddset(&sigmask, SIGHUP); in initialise_threads() [all …]
|
/external/dhcpcd-6.8.2/compat/ |
D | pollts.c | 43 const struct timespec *__restrict ts, const sigset_t *__restrict sigmask) in pollts() argument 56 if (sigmask && sigprocmask(SIG_SETMASK, sigmask, &oldset) == -1) in pollts() 59 if (sigmask && sigprocmask(SIG_SETMASK, &oldset, NULL) == -1) in pollts()
|
D | posix_spawn.c | 144 posix_spawnattr_setsigmask(posix_spawnattr_t *attr, const sigset_t *sigmask) in posix_spawnattr_setsigmask() argument 147 attr->posix_attr_sigmask = *sigmask; in posix_spawnattr_setsigmask() 152 posix_spawnattr_setsigdefault(posix_spawnattr_t *attr, const sigset_t *sigmask) in posix_spawnattr_setsigdefault() argument 155 attr->posix_attr_sigdefault = *sigmask; in posix_spawnattr_setsigdefault()
|
D | pselect.c | 40 const struct timespec *__restrict ts, const sigset_t *__restrict sigmask) in pollts() argument 56 r = pselect(maxfd + 1, &read_fds, NULL, NULL, ts, sigmask); in pollts()
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 177 sigset_t sigmask; variable 194 sigemptyset(&sigmask); in prep_args() 195 sigaddset(&sigmask, SIGINT); in prep_args() 196 sigaddset(&sigmask, SIGUSR2); in prep_args() 197 sigaddset(&sigmask, SIGRTMAX); in prep_args() 198 sigmask_desc.sp = &sigmask; in prep_args()
|
/external/openssh/openbsd-compat/ |
D | sigact.c | 107 *mask &= ~sigmask(sig); in sigdelset() 118 *mask |= sigmask(sig); in sigaddset() 129 return (*mask & sigmask(sig)) != 0; in sigismember()
|
/external/bison/lib/ |
D | spawnattr_setsigmask.c | 27 const sigset_t *sigmask) in posix_spawnattr_setsigmask() argument 30 memcpy (&attr->_ss, sigmask, sizeof (sigset_t)); in posix_spawnattr_setsigmask()
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait.h | 29 int timeout, const sigset_t *sigmask) in epoll_pwait() argument 32 timeout, sigmask, _NSIG / 8); in epoll_pwait()
|
D | epoll_pwait01.c | 153 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/ |
D | ppoll01.c | 47 sigset_t *sigmask; /* sigmask ppoll parameter */ member 108 .sigmask = &sigmask_sigint, 146 .sigmask = &sigmask_empty, 247 tc->sigmask, SIGSETSIZE); in do_test()
|
/external/valgrind/none/tests/ |
D | Makefile.am | 112 exec-sigmask.vgtest exec-sigmask.stdout.exp \ 113 exec-sigmask.stdout.exp2 exec-sigmask.stdout.exp3 \ 114 exec-sigmask.stdout.exp-solaris exec-sigmask.stderr.exp \ 206 discard exec-sigmask execve faultstatus fcntl_setown \
|
D | exec-sigmask.vgtest | 1 prog: exec-sigmask
|
/external/e2fsprogs/lib/ss/ |
D | ss_internal.h | 102 #define sigmask(x) (1L<<(x)-1) macro
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 704 vki_sigset_t sigmask; in leak_search_fault_catcher() local 716 VG_(sigprocmask)(VKI_SIG_SETMASK, NULL, &sigmask); in leak_search_fault_catcher() 718 VG_(sigdelset)(&sigmask, sigNo); in leak_search_fault_catcher() 719 VG_(sigprocmask)(VKI_SIG_SETMASK, &sigmask, NULL); in leak_search_fault_catcher()
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1221 sigmask, sigsetsize) \ argument 1224 (long)(sigmask), (long)(sigsetsize)) 1226 timeout, sigmask, sigsetsize) \ argument 1229 (long)(sigmask), (long)(sigsetsize)) 2697 long sigmask, long sigsetsize); 2700 long sigmask, long sigsetsize);
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 1745 void *sigmask) { in TSAN_INTERCEPTOR() argument 1746 SCOPED_TSAN_INTERCEPTOR(epoll_pwait, epfd, ev, cnt, timeout, sigmask); in TSAN_INTERCEPTOR() 1749 int res = BLOCK_REAL(epoll_pwait)(epfd, ev, cnt, timeout, sigmask); in TSAN_INTERCEPTOR()
|
/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 895 int timeout, void *sigmask) { in INTERCEPTOR() argument 897 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 1955 const kernel_sigset_t *sigmask, long sigsetsize) { 1956 if (sigmask) PRE_READ(sigmask, sigsetsize); 1960 long timeout, const void *sigmask, long sigsetsize) {
|
D | sanitizer_common_interceptors.inc | 3337 void *timeout_ts, __sanitizer_sigset_t *sigmask) { 3339 COMMON_INTERCEPTOR_ENTER(ctx, ppoll, fds, nfds, timeout_ts, sigmask); 3343 // FIXME: read sigmask when all of sigemptyset, etc are intercepted. 3345 COMMON_INTERCEPTOR_BLOCK_REAL(ppoll)(fds, nfds, timeout_ts, sigmask);
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-linux.c | 1304 struct vki_timespec *, tsp, vki_sigset_t *, sigmask, in PRE() 1409 int, maxevents, int, timeout, vki_sigset_t *, sigmask, in PRE() 3261 int, fd, vki_sigset_t *, sigmask, vki_size_t, sigsetsize); in PRE() 3281 int, fd, vki_sigset_t *, sigmask, vki_size_t, sigsetsize, int, flags); in PRE()
|