Home
last modified time | relevance | path

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

12

/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()
/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()
/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()
/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.c3348 sigset_t sigmask; in dir_scan() local
3351 sigemptyset(&sigmask); in dir_scan()
3352 sigaddset(&sigmask, SIGINT); in dir_scan()
3353 sigaddset(&sigmask, SIGTERM); in dir_scan()
3354 sigaddset(&sigmask, SIGUSR1); in dir_scan()
3355 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in dir_scan()
4314 sigset_t sigmask, old_mask; in initialise_threads() local
4371 sigemptyset(&sigmask); in initialise_threads()
4372 sigaddset(&sigmask, SIGQUIT); in initialise_threads()
4373 sigaddset(&sigmask, SIGHUP); in initialise_threads()
[all …]
/external/valgrind/none/tests/
Dpth_term_signal.c12 sigset_t sigmask; in slavethread() local
14 if (sigfillset(&sigmask)) in slavethread()
20 if (pthread_sigmask(SIG_UNBLOCK, &sigmask, 0)) in slavethread()
47 sigset_t sigmask; in main() local
49 if (sigfillset(&sigmask)) in main()
55 if (pthread_sigmask(SIG_BLOCK, &sigmask, 0)) in main()
DMakefile.am109 exec-sigmask.vgtest exec-sigmask.stdout.exp \
110 exec-sigmask.stdout.exp2 exec-sigmask.stdout.exp3 \
111 exec-sigmask.stdout.exp-solaris exec-sigmask.stderr.exp \
212 discard exec-sigmask execve faultstatus fcntl_setown \
Dexec-sigmask.vgtest1 prog: exec-sigmask
DMakefile.in150 coolo_strlen$(EXEEXT) discard$(EXEEXT) exec-sigmask$(EXEEXT) \
245 exec_sigmask_SOURCES = exec-sigmask.c
246 exec_sigmask_OBJECTS = exec-sigmask.$(OBJEXT)
563 coolo_strlen.c discard.c exec-sigmask.c execve.c faultstatus.c \
586 coolo_strlen.c discard.c exec-sigmask.c execve.c faultstatus.c \
1090 exec-sigmask.vgtest exec-sigmask.stdout.exp \
1091 exec-sigmask.stdout.exp2 exec-sigmask.stdout.exp3 \
1092 exec-sigmask.stdout.exp-solaris exec-sigmask.stderr.exp \
1340 exec-sigmask$(EXEEXT): $(exec_sigmask_OBJECTS) $(exec_sigmask_DEPENDENCIES) $(EXTRA_exec_sigmask_DE…
1341 @rm -f exec-sigmask$(EXEEXT)
[all …]
/external/dhcpcd-6.8.2/compat/
Dpollts.c43 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()
Dposix_spawn.c144 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()
Dpselect.c40 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/
Dtest_syscall_vdso.c177 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/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/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

12