/third_party/ltp/testcases/kernel/syscalls/io_pgetevents/ |
D | io_pgetevents02.c | 14 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()
|
D | io_pgetevents01.c | 44 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/ |
D | ppoll01.c | 41 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/ |
D | epoll.h | 26 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()
|
D | io_pgetevents.h | 20 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/ |
D | epoll_pwait_var.h | 17 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/ |
D | pselect.c | 98 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/ |
D | poll.rs | 184 sigmask: Option<crate::sys::signal::SigSet> 188 let sigmask = sigmask.as_ref().map_or(core::ptr::null(), |r| r.as_ref()); localVariable 193 sigmask)
|
D | ucontext.rs | 41 pub fn sigmask(&self) -> &SigSet { in sigmask() method
|
/third_party/libuv/src/unix/ |
D | epoll.c | 124 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/ |
D | node_watchdog.cc | 298 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()
|
D | inspector_agent.cc | 113 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()
|
D | node.cc | 581 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/ |
D | select.rs | 264 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/ |
D | time64_variants.h | 43 struct io_event *events, void *timeout, sigset_t *sigmask); 51 const sigset_t *sigmask, size_t sigsetsize);
|
/third_party/rust/crates/nix/test/sys/ |
D | test_select.rs | 19 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/ |
D | valgrind.supp | 93 epoll_pwait(sigmask)
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
D | sigaction.c | 23 unsigned char sigmask; member
|
/third_party/rust/crates/rustix/src/ |
D | io_uring.rs | 895 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/ |
D | mod.rs | 1487 sigmask: *const sigset_t, 1521 sigmask: *const sigset_t,
|
/third_party/python/Doc/library/ |
D | signal.rst | 68 signal (SIG*), handler (:const:`SIG_DFL`, :const:`SIG_IGN`) and sigmask
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1556 sigmask: *const sigset_t, in ppoll()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | mod.rs | 1978 sigmask: *const ::sigset_t, in posix_spawnattr_setsigmask()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 4022 sigmask: *const ::sigset_t, in epoll_pwait() 4176 sigmask: *const sigset_t, in ppoll()
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | mod.rs | 3828 sigmask: *const sigset_t, in pselect() 4139 sigmask: *const sigset_t, in ppoll()
|