Home
last modified time | relevance | path

Searched refs:sigset_t (Results 1 – 25 of 139) sorted by relevance

123456

/linux-6.1.9/include/linux/
Dsignal.h64 static inline void sigaddset(sigset_t *set, int _sig) in sigaddset()
73 static inline void sigdelset(sigset_t *set, int _sig) in sigdelset()
82 static inline int sigismember(sigset_t *set, int _sig) in sigismember()
93 static inline int sigisemptyset(sigset_t *set) in sigisemptyset()
109 static inline int sigequalsets(const sigset_t *set1, const sigset_t *set2) in sigequalsets()
131 static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
170 static inline void name(sigset_t *set) \ in _SIG_SET_BINOP()
191 static inline void sigemptyset(sigset_t *set)
195 memset(set, 0, sizeof(sigset_t));
204 static inline void sigfillset(sigset_t *set) in sigfillset()
[all …]
Dsignal_types.h34 sigset_t signal;
48 sigset_t sa_mask; /* mask last for extensibility */
/linux-6.1.9/arch/x86/include/asm/
Dsignal.h25 } sigset_t; typedef
33 typedef sigset_t compat_sigset_t;
54 static inline void __gen_sigaddset(sigset_t *set, int _sig) in __gen_sigaddset()
59 static inline void __const_sigaddset(sigset_t *set, int _sig) in __const_sigaddset()
71 static inline void __gen_sigdelset(sigset_t *set, int _sig) in __gen_sigdelset()
76 static inline void __const_sigdelset(sigset_t *set, int _sig) in __const_sigdelset()
82 static inline int __const_sigismember(sigset_t *set, int _sig) in __const_sigismember()
88 static inline int __gen_sigismember(sigset_t *set, int _sig) in __gen_sigismember()
/linux-6.1.9/arch/m68k/include/asm/
Dsignal.h18 } sigset_t; typedef
27 static inline void sigaddset(sigset_t *set, int _sig) in sigaddset()
35 static inline void sigdelset(sigset_t *set, int _sig) in sigdelset()
43 static inline int __const_sigismember(sigset_t *set, int _sig) in __const_sigismember()
49 static inline int __gen_sigismember(sigset_t *set, int _sig) in __gen_sigismember()
/linux-6.1.9/tools/testing/selftests/arm64/bti/
Dsignal.h16 int sigemptyset(sigset_t *s);
17 int sigaddset(sigset_t *s, int n);
19 int sigprocmask(int how, const sigset_t *mask, sigset_t *old);
Dsignal.c10 int sigemptyset(sigset_t *s) in sigemptyset()
20 int sigaddset(sigset_t *s, int n) in sigaddset()
34 int sigprocmask(int how, const sigset_t *mask, sigset_t *old) in sigprocmask()
/linux-6.1.9/arch/s390/include/uapi/asm/
Ducontext.h25 sigset_t uc_sigmask;
27 unsigned char __unused[128 - sizeof(sigset_t)];
36 sigset_t uc_sigmask;
38 unsigned char __unused[128 - sizeof(sigset_t)];
/linux-6.1.9/fs/
Dsignalfd.c42 sigset_t sigmask;
235 sigset_t sigmask; in signalfd_show_fdinfo()
253 static int do_signalfd4(int ufd, sigset_t *mask, int flags) in do_signalfd4()
302 SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE4()
305 sigset_t mask; in SYSCALL_DEFINE4()
307 if (sizemask != sizeof(sigset_t)) in SYSCALL_DEFINE4()
314 SYSCALL_DEFINE3(signalfd, int, ufd, sigset_t __user *, user_mask, in SYSCALL_DEFINE3()
317 sigset_t mask; in SYSCALL_DEFINE3()
319 if (sizemask != sizeof(sigset_t)) in SYSCALL_DEFINE3()
331 sigset_t mask; in do_compat_signalfd4()
/linux-6.1.9/arch/powerpc/kernel/
Dsignal.h16 extern int handle_signal32(struct ksignal *ksig, sigset_t *oldset,
19 extern int handle_rt_signal32(struct ksignal *ksig, sigset_t *oldset,
22 static inline int __get_user_sigset(sigset_t *dst, const sigset_t __user *src) in __get_user_sigset()
24 BUILD_BUG_ON(sizeof(sigset_t) != sizeof(u64)); in __get_user_sigset()
29 sigset_t *__dst = dst; \
30 const sigset_t __user *__src = src; \
194 extern int handle_rt_signal64(struct ksignal *ksig, sigset_t *set,
199 static inline int handle_rt_signal64(struct ksignal *ksig, sigset_t *set, in handle_rt_signal64()
/linux-6.1.9/arch/arm64/include/asm/
Dsignal32.h57 int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set,
59 int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,
66 sigset_t *set, struct pt_regs *regs) in compat_setup_frame()
71 static inline int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set, in compat_setup_rt_frame()
/linux-6.1.9/kernel/
Dsignal.c126 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals()
207 int next_signal(struct sigpending *pending, sigset_t *mask) in next_signal()
491 sigset_t signal, retain; in __flush_itimer_signals()
613 static int __dequeue_signal(struct sigpending *pending, sigset_t *mask, in __dequeue_signal()
629 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, in dequeue_signal()
786 static void flush_sigqueue_mask(sigset_t *mask, struct sigpending *s) in flush_sigqueue_mask()
789 sigset_t m; in flush_sigqueue_mask()
910 sigset_t flush; in prepare_signal()
1180 sigset_t *signal = &delayed->signal; in __send_signal_locked()
2883 sigset_t blocked; in signal_delivered()
[all …]
/linux-6.1.9/arch/x86/include/uapi/asm/
Dsignal.h17 typedef unsigned long sigset_t; typedef
84 sigset_t sa_mask;
98 sigset_t sa_mask; /* mask last for extensibility */
/linux-6.1.9/arch/arm64/include/uapi/asm/
Ducontext.h26 sigset_t uc_sigmask;
28 __u8 __unused[1024 / 8 - sizeof(sigset_t)];
/linux-6.1.9/arch/loongarch/include/uapi/asm/
Ducontext.h18 sigset_t uc_sigmask;
23 __u8 __unused[1024 / 8 - sizeof(sigset_t)];
/linux-6.1.9/arch/riscv/include/uapi/asm/
Ducontext.h17 sigset_t uc_sigmask;
22 __u8 __unused[1024 / 8 - sizeof(sigset_t)];
/linux-6.1.9/arch/riscv/include/asm/
Dsignal32.h7 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set,
11 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, in compat_setup_rt_frame()
/linux-6.1.9/arch/um/include/shared/
Dframe_kern.h10 struct pt_regs *regs, sigset_t *mask);
12 struct pt_regs *regs, sigset_t *mask);
/linux-6.1.9/arch/mips/include/asm/
Dabi.h20 struct pt_regs *regs, sigset_t *set);
22 struct pt_regs *regs, sigset_t *set);
Dcompat-signal.h15 const sigset_t *s) in __copy_conv_sigset_to_user()
23 static inline int __copy_conv_sigset_from_user(sigset_t *d, in __copy_conv_sigset_from_user()
/linux-6.1.9/fs/ocfs2/
Dsuper.h31 void ocfs2_block_signals(sigset_t *oldset);
32 void ocfs2_unblock_signals(sigset_t *oldset);
/linux-6.1.9/arch/powerpc/include/uapi/asm/
Ducontext.h29 sigset_t uc_sigmask;
32 sigset_t __unused[15]; /* Allow for uc_sigmask growth */
/linux-6.1.9/arch/arm/include/asm/
Ducontext.h23 sigset_t uc_sigmask;
25 int __unused[32 - (sizeof (sigset_t) / sizeof (int))];
/linux-6.1.9/arch/riscv/kernel/
Dcompat_signal.c26 sigset_t uc_sigmask;
31 __u8 __unused[1024 / 8 - sizeof(sigset_t)];
124 sigset_t set; in COMPAT_SYSCALL_DEFINE0()
199 int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, in compat_setup_rt_frame()
/linux-6.1.9/arch/sparc/kernel/
Dsignal_32.c50 sigset_t mask;
78 sigset_t set; in do_sigreturn()
147 sigset_t set; in do_rt_sigreturn()
179 err |= __copy_from_user(&set, &sf->mask, sizeof(sigset_t)); in do_rt_sigreturn()
226 sigset_t *oldset) in setup_frame()
321 sigset_t *oldset) in setup_rt_frame()
370 err |= __copy_to_user(&sf->mask, &oldset->sig[0], sizeof(sigset_t)); in setup_rt_frame()
420 sigset_t *oldset = sigmask_to_save(); in handle_signal()
/linux-6.1.9/arch/m68k/include/uapi/asm/
Dsignal.h14 typedef unsigned long sigset_t; typedef
73 sigset_t sa_mask;

123456