Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/
H A Dsignalfd.c42 sigset_t sigmask; member
59 if (next_signal(&current->pending, &ctx->sigmask) || in signalfd_poll()
61 &ctx->sigmask)) in signalfd_poll()
163 ret = dequeue_signal(current, &ctx->sigmask, info, &type); in signalfd_dequeue()
235 sigset_t sigmask; in signalfd_show_fdinfo() local
237 sigmask = ctx->sigmask; in signalfd_show_fdinfo()
238 signotset(&sigmask); in signalfd_show_fdinfo()
239 render_sigset_t(m, "sigmask:\t", &sigmask); in signalfd_show_fdinfo()
264 sigdelsetmask(mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_signalfd4()
272 ctx->sigmask = *mask; in do_signalfd4()
[all …]
H A Dselect.c734 const sigset_t __user *sigmask, size_t sigsetsize, in do_pselect() argument
759 ret = set_user_sigmask(sigmask, sigsetsize); in do_pselect()
1117 ret = set_user_sigmask(sigmask, sigsetsize); in SYSCALL_DEFINE5()
1128 struct old_timespec32 __user *, tsp, const sigset_t __user *, sigmask, in SYSCALL_DEFINE5() argument
1143 ret = set_user_sigmask(sigmask, sigsetsize); in SYSCALL_DEFINE5()
1315 void __user *tsp, compat_sigset_t __user *sigmask, in do_compat_pselect() argument
1340 ret = set_compat_user_sigmask(sigmask, sigsetsize); in do_compat_pselect()
1401 const compat_sigset_t __user *, sigmask, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE5() argument
1415 ret = set_compat_user_sigmask(sigmask, sigsetsize); in COMPAT_SYSCALL_DEFINE5()
1427 const compat_sigset_t __user *, sigmask, compat_size_t, sigsetsize) in COMPAT_SYSCALL_DEFINE5() argument
[all …]
H A Deventpoll.c2376 const sigset_t __user *sigmask, size_t sigsetsize) in do_epoll_pwait() argument
2384 error = set_user_sigmask(sigmask, sigsetsize); in do_epoll_pwait()
2403 sigmask, sigsetsize); in SYSCALL_DEFINE6()
2408 const sigset_t __user *, sigmask, size_t, sigsetsize) in SYSCALL_DEFINE6() argument
2421 sigmask, sigsetsize); in SYSCALL_DEFINE6()
2427 const compat_sigset_t __user *sigmask, in do_compat_epoll_pwait() argument
2436 err = set_compat_user_sigmask(sigmask, sigsetsize); in do_compat_epoll_pwait()
2450 const compat_sigset_t __user *, sigmask, in COMPAT_SYSCALL_DEFINE6() argument
2457 sigmask, sigsetsize); in COMPAT_SYSCALL_DEFINE6()
2464 const compat_sigset_t __user *, sigmask, in COMPAT_SYSCALL_DEFINE6() argument
[all …]
H A Daio.c2232 const sigset_t __user *sigmask; member
2255 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6()
2291 ret = set_user_sigmask(ksig.sigmask, ksig.sigsetsize); in SYSCALL_DEFINE6()
2332 compat_uptr_t sigmask; member
2357 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6()
2392 ret = set_compat_user_sigmask(compat_ptr(ksig.sigmask), ksig.sigsetsize); in COMPAT_SYSCALL_DEFINE6()
/openbmc/linux/tools/testing/selftests/x86/
H A 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()
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.h57 …l_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask);
64 …wrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *sigmask);
66 …fds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const sigset_t *sigmask);
H A DEINTR_wrappers.c171 …ll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) in sigwrap_epoll_pwait() argument
187 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait()
354 …gwrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *sigmask)
366 int Result = ppoll(fds, nfds, tmo_p, sigmask);
399 const sigset_t *sigmask) in sigwrap_pselect() argument
411 int Result = pselect(nfds, readfds, writefds, exceptfds, timeout, sigmask); in sigwrap_pselect()
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.h57 …l_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask);
64 …wrap_ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *sigmask);
66 …fds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const sigset_t *sigmask);
H A DEINTR_wrappers.c144 …ll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) in sigwrap_epoll_pwait() argument
160 int Result = epoll_pwait(epfd, events, maxevents, timeout, sigmask); in sigwrap_epoll_pwait()
342 const sigset_t *sigmask) in sigwrap_pselect() argument
354 int Result = pselect(nfds, readfds, writefds, exceptfds, timeout, sigmask); in sigwrap_pselect()
/openbmc/linux/tools/usb/usbip/src/
H A Dusbipd.c499 sigset_t sigmask; in do_standalone_mode() local
554 sigfillset(&sigmask); in do_standalone_mode()
555 sigdelset(&sigmask, SIGTERM); in do_standalone_mode()
556 sigdelset(&sigmask, SIGINT); in do_standalone_mode()
562 r = ppoll(fds, nsockfd, &timeout, &sigmask); in do_standalone_mode()
/openbmc/linux/kernel/
H A Dcompat.c52 new_set &= ~(sigmask(SIGKILL) | sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE3()
H A Dsignal.c206 (sigmask(SIGSEGV) | sigmask(SIGBUS) | sigmask(SIGILL) | \
207 sigmask(SIGTRAP) | sigmask(SIGFPE) | sigmask(SIGSYS))
735 (sigmask(q->info.si_signo) & SYNCHRONOUS_MASK)) { in dequeue_synchronous_signal()
930 siginitset(&flush, sigmask(SIGCONT)); in prepare_signal()
3075 sigdelsetmask(newset, sigmask(SIGKILL) | sigmask(SIGSTOP)); in set_current_blocked()
3201 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in SYSCALL_DEFINE4()
3231 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in COMPAT_SYSCALL_DEFINE4()
3632 sigdelsetmask(&mask, sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigtimedwait()
4171 sigmask(SIGKILL) | sigmask(SIGSTOP)); in do_sigaction()
H A Dptrace.c1109 sigdelsetmask(&new_set, sigmask(SIGKILL)|sigmask(SIGSTOP)); in ptrace_request()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c526 struct kvm_signal_mask *sigmask = alloca(offsetof(struct kvm_signal_mask, sigset) in vcpu_worker() local
528 sigset_t *sigset = (sigset_t *) &sigmask->sigset; in vcpu_worker()
535 sigmask->len = 8; in vcpu_worker()
538 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/openbmc/linux/include/linux/
H A Dcompat.h588 const compat_sigset_t __user *sigmask,
594 const compat_sigset_t __user *sigmask,
655 const compat_sigset_t __user *sigmask,
660 const compat_sigset_t __user *sigmask,
663 const compat_sigset_t __user *sigmask,
818 const compat_sigset_t __user *sigmask,
H A Dsignal.h126 #define sigmask(sig) (1UL << ((sig) - 1)) macro
412 #define rt_sigmask(sig) sigmask(sig)
H A Dsyscalls.h366 const sigset_t __user *sigmask,
371 const sigset_t __user *sigmask,
/openbmc/linux/fs/jffs2/
H A Dbackground.c80 siginitset(&hupmask, sigmask(SIGHUP)); in jffs2_garbage_collect_thread()
/openbmc/linux/arch/nios2/kernel/
H A Dsignal.c23 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/openbmc/qemu/linux-user/
H A Dsignal.c966 void *sigmask; in host_signal_handler() local
1028 sigmask = host_signal_mask(uc); in host_signal_handler()
1029 memset(sigmask, 0xff, SIGSET_T_SIZE); in host_signal_handler()
1030 sigdelset(sigmask, SIGSEGV); in host_signal_handler()
1031 sigdelset(sigmask, SIGBUS); in host_signal_handler()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp6000_pcie.c1128 int sigmask = 0; in nfp6000_explicit_do() local
1133 sigmask |= 1 << cmd->siga; in nfp6000_explicit_do()
1135 sigmask |= 1 << cmd->sigb; in nfp6000_explicit_do()
1155 csr[0] = NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(sigmask) | in nfp6000_explicit_do()
1212 return sigmask; in nfp6000_explicit_do()
/openbmc/linux/arch/alpha/kernel/
H A Dsignal.c36 #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/openbmc/linux/include/uapi/linux/
H A Dio_uring.h695 __u64 sigmask; member
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3553 struct kvm_signal_mask *sigmask; in kvm_set_signal_mask() local
3556 sigmask = g_malloc(sizeof(*sigmask) + sizeof(*sigset)); in kvm_set_signal_mask()
3558 sigmask->len = s->sigmask_len; in kvm_set_signal_mask()
3559 memcpy(sigmask->sigset, sigset, sizeof(*sigset)); in kvm_set_signal_mask()
3560 r = kvm_vcpu_ioctl(cpu, KVM_SET_SIGNAL_MASK, sigmask); in kvm_set_signal_mask()
3561 g_free(sigmask); in kvm_set_signal_mask()
/openbmc/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c3171 sigset_t sigmask; in epoll60_wait_thread() local
3176 sigemptyset(&sigmask); in epoll60_wait_thread()
3177 sigaddset(&sigmask, SIGUSR1); in epoll60_wait_thread()
3178 sigprocmask(SIG_SETMASK, &sigmask, NULL); in epoll60_wait_thread()
3181 sigemptyset(&sigmask); in epoll60_wait_thread()
3194 ret = epoll_pwait(ctx->epfd, &e, 1, 2000, &sigmask); in epoll60_wait_thread()

12