Home
last modified time | relevance | path

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

/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/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/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/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/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/ltp/include/
Dtime64_variants.h43 struct io_event *events, void *timeout, sigset_t *sigmask);
51 const sigset_t *sigmask, size_t sigsetsize);
/third_party/eudev/src/udev/
Dudev-event.c410 const char *cmd, char *const argv[], char **envp, const sigset_t *sigmask, in spawn_exec() argument
439 if (sigmask) in spawn_exec()
440 sigprocmask(SIG_SETMASK, sigmask, NULL); in spawn_exec()
710 const char *cmd, char **envp, const sigset_t *sigmask, in udev_event_spawn() argument
766 spawn_exec(event, cmd, argv, envp, sigmask, in udev_event_spawn()
878 const sigset_t *sigmask) { argument
895 sigmask);
914 sigmask);
1051 …struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, const sigset_t *sigmask) { argument
1074 … udev_event_spawn(event, timeout_usec, timeout_warn_usec, program, envp, sigmask, NULL, 0);
Dudev.h78 const sigset_t *sigmask);
92 const char *cmd, char **envp, const sigset_t *sigmask,
Dudev-rules.c642 const char *program, const sigset_t *sigmask) { in import_program_into_properties() argument
650 …err = udev_event_spawn(event, timeout_usec, timeout_warn_usec, program, envp, sigmask, result, siz… in import_program_into_properties()
1902 const sigset_t *sigmask) { in udev_rules_apply_to_event() argument
2138 …(udev_event_spawn(event, timeout_usec, timeout_warn_usec, program, envp, sigmask, result, sizeof(r… in udev_rules_apply_to_event()
2174 … if (import_program_into_properties(event, timeout_usec, timeout_warn_usec, import, sigmask) != 0) in udev_rules_apply_to_event()
/third_party/boost/tools/build/src/engine/
Dexecunix.cpp492 sigset_t sigmask; in exec_wait() local
493 sigemptyset(&sigmask); in exec_wait()
494 sigaddset(&sigmask, SIGCHLD); in exec_wait()
495 sigprocmask(SIG_BLOCK, &sigmask, NULL); in exec_wait()
505 sigprocmask(SIG_UNBLOCK, &sigmask, NULL); in exec_wait()
/third_party/node/tools/
Dvalgrind.supp93 epoll_pwait(sigmask)
/third_party/e2fsprogs/lib/ss/
Dss_internal.h102 #define sigmask(x) (1L<<(x)-1) macro
/third_party/musl/porting/liteos_a/user/src/signal/
Dsigaction.c24 unsigned char sigmask; member
/third_party/eudev/src/shared/
Dutil.c1093 …back(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout_ts, const sigset_t *sigmask) { in ppoll_fallback() argument
1100 sigprocmask(SIG_SETMASK, sigmask, &origmask); in ppoll_fallback()
/third_party/python/Doc/library/
Dsignal.rst68 signal (SIG*), handler (:const:`SIG_DFL`, :const:`SIG_IGN`) and sigmask
/third_party/libuv/
DChangeLog3621 * linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
3676 * linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
3770 * linux: fix sigmask size arg in epoll_pwait() call (Ben Noordhuis)
3815 * linux: fix sigmask size arg in epoll_pwait() call (Ben Noordhuis)