Home
last modified time | relevance | path

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

123

/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()
/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-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/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/linux-kselftest/tools/testing/selftests/x86/
Dtest_syscall_vdso.c176 sigset_t sigmask; variable
193 sigemptyset(&sigmask); in prep_args()
194 sigaddset(&sigmask, SIGINT); in prep_args()
195 sigaddset(&sigmask, SIGUSR2); in prep_args()
196 sigaddset(&sigmask, SIGRTMAX); in prep_args()
197 sigmask_desc.sp = &sigmask; in prep_args()
/external/llvm-project/lldb/source/Host/common/
DMainLoop.cpp149 sigset_t sigmask; in get_sigmask() local
151 sigmask = 0; in get_sigmask()
153 sigemptyset(&sigmask); in get_sigmask()
155 int ret = pthread_sigmask(SIG_SETMASK, nullptr, &sigmask); in get_sigmask()
160 sigdelset(&sigmask, sig.first); in get_sigmask()
162 return sigmask; in get_sigmask()
202 sigset_t sigmask = get_sigmask(); in Poll() local
212 if (ppoll(read_fds.data(), read_fds.size(), nullptr, &sigmask) == -1 && in Poll()
/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/strace/
Dprint_aio_sigset.c33 sigset_t *sigmask; member
48 print_sigset_addr_len(tcp, (uintptr_t) sigset.sigmask, in MPERS_PRINTER_DECL()
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c39 sigset_t *sigmask; /* sigmask ppoll parameter */ member
100 .sigmask = &sigmask_sigint,
138 .sigmask = &sigmask_empty,
227 tc->sigmask, SIGSETSIZE); in do_test()
/external/libiio/src/iiod/
Dthread-pool.c83 sigset_t sigmask, oldsigmask; in thread_pool_add_thread() local
96 sigfillset(&sigmask); in thread_pool_add_thread()
97 pthread_sigmask(SIG_BLOCK, &sigmask, &oldsigmask); in thread_pool_add_thread()
/external/igt-gpu-tools/runner/
Dexecutor.c910 int sigfd, sigset_t *sigmask) in execute_next_entry() argument
987 sigprocmask(SIG_UNBLOCK, sigmask, NULL); in execute_next_entry()
1286 sigset_t sigmask; in execute() local
1331 sigemptyset(&sigmask); in execute()
1332 sigaddset(&sigmask, SIGCHLD); in execute()
1333 sigaddset(&sigmask, SIGINT); in execute()
1334 sigaddset(&sigmask, SIGTERM); in execute()
1335 sigaddset(&sigmask, SIGQUIT); in execute()
1336 sigaddset(&sigmask, SIGHUP); in execute()
1337 sigfd = signalfd(-1, &sigmask, O_CLOEXEC); in execute()
[all …]
/external/rust/crates/nix/src/sys/
Dselect.rs234 sigmask: S) -> Result<c_int> in pselect()
246 let sigmask = sigmask.into(); in pselect() localVariable
262 let sigmask = sigmask.map(|sm| sm.as_ref() as *const libc::sigset_t).unwrap_or(null()); in pselect() localVariable
265 libc::pselect(nfds, readfds, writefds, errorfds, timeout, sigmask) in pselect()
/external/rust/crates/nix/test/sys/
Dtest_select.rs21 let sigmask = SigSet::empty(); in test_pselect() localVariable
24 pselect(None, &mut fd_set, None, None, &timeout, &sigmask).unwrap() in test_pselect()
/external/rust/crates/nix/src/
Dpoll.rs137 pub fn ppoll(fds: &mut [PollFd], timeout: Option<TimeSpec>, sigmask: SigSet) -> Result<libc::c_int>… in ppoll()
143 sigmask.as_ref()) in ppoll()
Ducontext.rs39 pub fn sigmask(&self) -> &SigSet { in sigmask() method
/external/adhd/cras/src/common/
Dcras_util.c179 const sigset_t *sigmask) in cras_poll() argument
204 rc = ppoll(fds, nfds, timeout, sigmask); in cras_poll()
/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

123