Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/
Dio_pgetevents02.c14 static sigset_t sigmask; variable
29 sigset_t *sigmask; member
32 {"invalid ctx", &invalid_ctx, 1, 1, events, &to, &sigmask, EINVAL},
33 {"invalid min_nr", &ctx, -1, 1, events, &to, &sigmask, EINVAL},
34 {"invalid max_nr", &ctx, 1, -1, events, &to, &sigmask, EINVAL},
35 {"invalid events", &ctx, 1, 1, NULL, &to, &sigmask, EFAULT},
36 {"invalid timeout", &ctx, 1, 1, events, NULL, &sigmask, EFAULT},
63 sigemptyset(&sigmask); in setup()
97 sigset_t *const sigmask = tc->sigmask ? tc->sigmask : bad_addr; in run() local
100 sigmask)); in run()
Dio_pgetevents01.c44 sigset_t sigmask; in run() local
49 sigemptyset(&sigmask); in run()
65 ret = tv->io_pgetevents(ctx, 1, 1, events, tst_ts_get(&to), &sigmask); in run()
/third_party/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c41 sigset_t *sigmask; /* sigmask ppoll parameter */ member
95 .sigmask = &sigmask_sigint,
133 .sigmask = &sigmask_empty,
159 const sigset_t *sigmask, in libc_ppoll() argument
162 return ppoll(fds, nfds, tmo_p, sigmask); in libc_ppoll()
166 const sigset_t *sigmask, size_t sigsetsize) in sys_ppoll() argument
168 return tst_syscall(__NR_ppoll, fds, nfds, tmo_p, sigmask, sigsetsize); in sys_ppoll()
172 const sigset_t *sigmask, size_t sigsetsize) in sys_ppoll_time64() argument
174 return tst_syscall(__NR_ppoll_time64, fds, nfds, tmo_p, sigmask, in sys_ppoll_time64()
260 sys_ret = tv->ppoll(tc->fds, tc->nfds, tst_ts_get(tsp), tc->sigmask, in do_test()
/third_party/ltp/include/lapi/
Depoll.h26 const sigset_t *sigmask) in epoll_pwait() argument
29 timeout, sigmask, _NSIG / 8); in epoll_pwait()
42 const sigset_t *sigmask) in epoll_pwait2() argument
46 NULL, sigmask, _NSIG / 8); in epoll_pwait2()
54 &ts, sigmask, _NSIG / 8); in epoll_pwait2()
Dio_pgetevents.h20 struct io_event *events, void *timeout, sigset_t *sigmask) in sys_io_pgetevents() argument
23 timeout, sigmask); in sys_io_pgetevents()
27 struct io_event *events, void *timeout, sigset_t *sigmask) in sys_io_pgetevents_time64() argument
30 events, timeout, sigmask); in sys_io_pgetevents_time64()
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/
Depoll_pwait_var.h17 maxevents, int timeout, const sigset_t *sigmask) in do_epoll_pwait() argument
20 return epoll_pwait(epfd, events, maxevents, timeout, sigmask); in do_epoll_pwait()
25 return epoll_pwait2(epfd, events, maxevents, NULL, sigmask); in do_epoll_pwait()
31 return epoll_pwait2(epfd, events, maxevents, &ts, sigmask); in do_epoll_pwait()
/third_party/musl/libc-test/src/functionalext/supplement/select/
Dpselect.c98 sigset_t sigmask; in pselect_timeout_0100() local
104 sigemptyset(&sigmask); in pselect_timeout_0100()
105 sigaddset(&sigmask, SIGINT); in pselect_timeout_0100()
106 int ret = pselect(STDOUT_FILENO + 1, &set, NULL, NULL, &timeout, &sigmask); in pselect_timeout_0100()
/third_party/rust/crates/nix/src/
Dpoll.rs184 sigmask: Option<crate::sys::signal::SigSet>
188 let sigmask = sigmask.as_ref().map_or(core::ptr::null(), |r| r.as_ref()); localVariable
193 sigmask)
Ducontext.rs41 pub fn sigmask(&self) -> &SigSet { in sigmask() method
/third_party/libuv/src/unix/
Depoll.c124 uint64_t sigmask; in uv__io_poll() local
178 sigmask = 0; in uv__io_poll()
182 sigmask |= 1 << (SIGPROF - 1); in uv__io_poll()
221 if (sigmask != 0 && no_epoll_pwait != 0) in uv__io_poll()
225 if (no_epoll_wait != 0 || (sigmask != 0 && no_epoll_pwait == 0)) { in uv__io_poll()
246 if (sigmask != 0 && no_epoll_pwait != 0) in uv__io_poll()
/third_party/node/src/
Dnode_watchdog.cc298 sigset_t sigmask; in Start() local
299 sigfillset(&sigmask); in Start()
301 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sigmask, &savemask)); in Start()
302 sigmask = savemask; in Start()
304 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sigmask, nullptr)); in Start()
Dinspector_agent.cc113 sigset_t sigmask; in StartDebugSignalHandler() local
115 sigfillset(&sigmask); in StartDebugSignalHandler()
117 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sigmask, &savemask)); in StartDebugSignalHandler()
118 sigmask = savemask; in StartDebugSignalHandler()
123 CHECK_EQ(0, pthread_sigmask(SIG_SETMASK, &sigmask, nullptr)); in StartDebugSignalHandler()
135 sigemptyset(&sigmask); in StartDebugSignalHandler()
136 sigaddset(&sigmask, SIGUSR1); in StartDebugSignalHandler()
137 CHECK_EQ(0, pthread_sigmask(SIG_UNBLOCK, &sigmask, nullptr)); in StartDebugSignalHandler()
Dnode.cc581 sigset_t sigmask; in PlatformInit() local
582 sigemptyset(&sigmask); in PlatformInit()
583 sigaddset(&sigmask, SIGUSR1); in PlatformInit()
584 const int err = pthread_sigmask(SIG_SETMASK, &sigmask, nullptr); in PlatformInit()
/third_party/rust/crates/nix/src/sys/
Dselect.rs264 sigmask: S) -> Result<c_int>
276 let sigmask = sigmask.into(); localVariable
292 let sigmask = sigmask.map(|sm| sm.as_ref() as *const libc::sigset_t).unwrap_or(null()); localVariable
295 libc::pselect(nfds, readfds, writefds, errorfds, timeout, sigmask)
/third_party/ltp/include/
Dtime64_variants.h43 struct io_event *events, void *timeout, sigset_t *sigmask);
51 const sigset_t *sigmask, size_t sigsetsize);
/third_party/rust/crates/nix/test/sys/
Dtest_select.rs19 let sigmask = SigSet::empty(); in test_pselect() localVariable
22 pselect(None, &mut fd_set, None, None, &timeout, &sigmask).unwrap() in test_pselect()
/third_party/node/tools/
Dvalgrind.supp93 epoll_pwait(sigmask)
/third_party/musl/porting/liteos_a/user/src/signal/
Dsigaction.c23 unsigned char sigmask; member
/third_party/rust/crates/rustix/src/
Dio_uring.rs895 pub sigmask: u64, field
1143 check_struct!(io_uring_getevents_arg, sigmask, sigmask_sz, pad, ts); in io_uring_layouts()
/third_party/rust/crates/libc/src/unix/
Dmod.rs1487 sigmask: *const sigset_t,
1521 sigmask: *const sigset_t,
/third_party/python/Doc/library/
Dsignal.rst68 signal (SIG*), handler (:const:`SIG_DFL`, :const:`SIG_IGN`) and sigmask
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1556 sigmask: *const sigset_t, in ppoll()
/third_party/rust/crates/libc/src/unix/haiku/
Dmod.rs1978 sigmask: *const ::sigset_t, in posix_spawnattr_setsigmask()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs4022 sigmask: *const ::sigset_t, in epoll_pwait()
4176 sigmask: *const sigset_t, in ppoll()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3828 sigmask: *const sigset_t, in pselect()
4139 sigmask: *const sigset_t, in ppoll()

12