Home
last modified time | relevance | path

Searched defs:sig (Results 1 – 25 of 722) sorted by relevance

12345678910>>...29

/kernel/linux/linux-4.19/include/linux/
Dsignal.h52 unsigned long sig = _sig - 1; in sigaddset() local
61 unsigned long sig = _sig - 1; in sigdelset() local
70 unsigned long sig = _sig - 1; in sigismember() local
112 #define sigmask(sig) (1UL << ((sig) - 1)) argument
241 static inline void init_sigpending(struct sigpending *sig) in init_sigpending()
250 static inline int valid_signal(unsigned long sig) in valid_signal()
278 static inline void allow_signal(int sig) in allow_signal()
288 static inline void allow_kernel_signal(int sig) in allow_kernel_signal()
298 static inline void disallow_signal(int sig) in disallow_signal()
388 #define rt_sigmask(sig) (1ULL << ((sig)-1)) argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsignal.h64 unsigned long sig = _sig - 1; in sigaddset() local
73 unsigned long sig = _sig - 1; in sigdelset() local
82 unsigned long sig = _sig - 1; in sigismember() local
124 #define sigmask(sig) (1UL << ((sig) - 1)) argument
261 static inline void init_sigpending(struct sigpending *sig) in init_sigpending()
270 static inline int valid_signal(unsigned long sig) in valid_signal()
298 static inline void allow_signal(int sig) in allow_signal()
308 static inline void allow_kernel_signal(int sig) in allow_kernel_signal()
318 static inline void disallow_signal(int sig) in disallow_signal()
408 #define rt_sigmask(sig) (1ULL << ((sig)-1)) argument
[all …]
/kernel/linux/linux-4.19/arch/x86/include/asm/
Dsignal.h24 unsigned long sig[_NSIG_WORDS]; member
49 #define sigaddset(set,sig) \ argument
61 unsigned long sig = _sig - 1; in __const_sigaddset() local
65 #define sigdelset(set, sig) \ argument
78 unsigned long sig = _sig - 1; in __const_sigdelset() local
84 unsigned long sig = _sig - 1; in __const_sigismember() local
96 #define sigismember(set, sig) \ argument
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsignal.h24 unsigned long sig[_NSIG_WORDS]; member
48 #define sigaddset(set,sig) \ argument
60 unsigned long sig = _sig - 1; in __const_sigaddset() local
64 #define sigdelset(set, sig) \ argument
77 unsigned long sig = _sig - 1; in __const_sigdelset() local
83 unsigned long sig = _sig - 1; in __const_sigismember() local
95 #define sigismember(set, sig) \ argument
/kernel/linux/linux-4.19/kernel/
Dsignal.c63 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler()
68 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored()
75 static bool sig_task_ignored(struct task_struct *t, int sig, bool force) in sig_task_ignored()
97 static bool sig_ignored(struct task_struct *t, int sig, bool force) in sig_ignored()
205 int sig = 0; in next_signal() local
248 static inline void print_dropped_signal(int sig) in print_dropped_signal()
362 struct signal_struct *sig = task->signal; in task_participate_group_stop() local
391 struct signal_struct *sig = current->signal; in task_join_group_stop() local
406 __sigqueue_alloc(int sig, struct task_struct *t, gfp_t flags, int override_rlimit) in __sigqueue_alloc()
490 int sig = q->info.si_signo; in __flush_itimer_signals() local
[all …]
/kernel/liteos_m/kal/posix/src/
Dsignal.c54 int raise(int sig) in raise()
64 void (*signal(int sig, void (*func)(int)))(int) in signal() argument
90 int sigaction(int sig, const struct sigaction *act, struct sigaction *oldact) in sigaction()
113 int sigwait(const sigset_t *set, int *sig) in sigwait()
156 int pthread_kill(pthread_t pid, int sig) in pthread_kill()
167 int kill(pid_t pid, int sig) in kill()
/kernel/linux/linux-5.10/kernel/
Dsignal.c67 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler()
72 static inline bool sig_handler_ignored(void __user *handler, int sig) in sig_handler_ignored()
79 static bool sig_task_ignored(struct task_struct *t, int sig, bool force) in sig_task_ignored()
101 static bool sig_ignored(struct task_struct *t, int sig, bool force) in sig_ignored()
211 int sig = 0; in next_signal() local
254 static inline void print_dropped_signal(int sig) in print_dropped_signal()
368 struct signal_struct *sig = task->signal; in task_participate_group_stop() local
395 struct signal_struct *sig = current->signal; in task_join_group_stop() local
413 __sigqueue_alloc(int sig, struct task_struct *t, gfp_t flags, int override_rlimit) in __sigqueue_alloc()
498 int sig = q->info.si_signo; in __flush_itimer_signals() local
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/
Dpinmux-aspeed.h514 #define SIG_DESC_LIST_SYM(sig, group) sig_descs_ ## sig ## _ ## group argument
515 #define SIG_DESC_LIST_DECL(sig, group, ...) \ argument
519 #define SIG_EXPR_SYM(sig, group) sig_expr_ ## sig ## _ ## group argument
520 #define SIG_EXPR_DECL_(sig, group, func) \ argument
546 #define SIG_EXPR_DECL(sig, group, func, ...) \ argument
556 #define SIG_EXPR_PTR(sig, group) (&SIG_EXPR_SYM(sig, group)) argument
558 #define SIG_EXPR_LIST_SYM(sig, group) sig_exprs_ ## sig ## _ ## group argument
575 #define SIG_EXPR_LIST_DECL(sig, group, ...) \ argument
595 #define SIG_EXPR_LIST_ALIAS(pin, sig, group) \ argument
613 #define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \ argument
[all …]
/kernel/linux/linux-4.19/drivers/pinctrl/aspeed/
Dpinctrl-aspeed.h351 #define SIG_DESC_LIST_SYM(sig, func) sig_descs_ ## sig ## _ ## func argument
352 #define SIG_DESC_LIST_DECL(sig, func, ...) \ argument
356 #define SIG_EXPR_SYM(sig, func) sig_expr_ ## sig ## _ ## func argument
357 #define SIG_EXPR_DECL_(sig, func) \ argument
383 #define SIG_EXPR_DECL(sig, func, ...) \ argument
393 #define SIG_EXPR_PTR(sig, func) (&SIG_EXPR_SYM(sig, func)) argument
395 #define SIG_EXPR_LIST_SYM(sig) sig_exprs_ ## sig argument
412 #define SIG_EXPR_LIST_DECL(sig, ...) \ argument
427 #define SIG_EXPR_LIST_DECL_SINGLE(sig, func, ...) \ argument
432 #define SIG_EXPR_LIST_DECL_DUAL(sig, f0, f1) \ argument
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/x86/
Dsysret_rip.c50 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
62 static void clearhandler(int sig) in clearhandler()
77 static void sigsegv_for_sigreturn_test(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_sigreturn_test()
93 static void sigusr1(int sig, siginfo_t *info, void *ctx_void) in sigusr1()
121 static void sigsegv_for_fallthrough(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_fallthrough()
Dmov_ss_trap.c98 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
117 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap()
126 static void handle_and_return(int sig, siginfo_t *si, void *ctx_void) in handle_and_return()
134 static void handle_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in handle_and_longjmp()
Dsyscall_arg_fault.c29 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
46 static void sigsegv(int sig, siginfo_t *info, void *ctx_void) in sigsegv()
61 static void sigill(int sig, siginfo_t *info, void *ctx_void) in sigill()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
Dsysret_rip.c42 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
54 static void clearhandler(int sig) in clearhandler()
69 static void sigsegv_for_sigreturn_test(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_sigreturn_test()
85 static void sigusr1(int sig, siginfo_t *info, void *ctx_void) in sigusr1()
113 static void sigsegv_for_fallthrough(int sig, siginfo_t *info, void *ctx_void) in sigsegv_for_fallthrough()
Dsyscall_arg_fault.c23 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
48 static void sigsegv_or_sigbus(int sig, siginfo_t *info, void *ctx_void) in sigsegv_or_sigbus()
67 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap()
90 static void sigill(int sig, siginfo_t *info, void *ctx_void) in sigill()
Dsingle_step_syscall.c36 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
48 static void clearhandler(int sig) in clearhandler()
72 static void sigtrap(int sig, siginfo_t *info, void *ctx_void) in sigtrap()
99 static void print_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in print_and_longjmp()
Dmov_ss_trap.c98 static void sethandler(int sig, void (*handler)(int, siginfo_t *, void *), in sethandler() argument
117 static void sigtrap(int sig, siginfo_t *si, void *ctx_void) in sigtrap()
126 static void handle_and_return(int sig, siginfo_t *si, void *ctx_void) in handle_and_return()
134 static void handle_and_longjmp(int sig, siginfo_t *si, void *ctx_void) in handle_and_longjmp()
/kernel/linux/linux-5.10/arch/x86/lib/
Dcpu.c6 unsigned int x86_family(unsigned int sig) in x86_family()
19 unsigned int x86_model(unsigned int sig) in x86_model()
34 unsigned int x86_stepping(unsigned int sig) in x86_stepping()
/kernel/linux/linux-4.19/arch/x86/lib/
Dcpu.c5 unsigned int x86_family(unsigned int sig) in x86_family()
18 unsigned int x86_model(unsigned int sig) in x86_model()
33 unsigned int x86_stepping(unsigned int sig) in x86_stepping()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dsignal_test_016.cpp34 static void SigPrint(int sig) in SigPrint()
45 int sig; in ThreadSetFunc2() local
63 int sig; in ThreadSetDfl() local
108 int sig; in TestMultiPthreadKillPendNormal() local
Dsignal_test_017.cpp34 static void SigPrint(int sig) in SigPrint()
45 int sig; in ThreadSetFunc2() local
63 int sig; in ThreadSetDfl() local
81 int sig; in ThreadKill() local
Dsignal_test_010.cpp35 static void SigPrint(int sig) in SigPrint()
40 static void SigPrint1(int sig) in SigPrint1()
48 int sig, fpid, retValue, status; in TestSigWait() local
/kernel/linux/linux-4.19/tools/lib/subcmd/
Dsigchain.c15 static void check_signum(int sig) in check_signum()
21 static int sigchain_push(int sig, sigchain_fun f) in sigchain_push()
34 int sigchain_pop(int sig) in sigchain_pop()
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dsigchain.c15 static void check_signum(int sig) in check_signum()
21 static int sigchain_push(int sig, sigchain_fun f) in sigchain_push()
34 int sigchain_pop(int sig) in sigchain_pop()
/kernel/linux/linux-4.19/arch/um/os-Linux/
Dsignal.c32 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common()
75 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler()
107 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler()
161 static void hard_handler(int sig, siginfo_t *si, void *p) in hard_handler()
204 void set_handler(int sig) in set_handler()
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dsignal.c32 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common()
69 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler()
97 void timer_alarm_handler(int sig, struct siginfo *unused_si, mcontext_t *mc) in timer_alarm_handler()
151 static void hard_handler(int sig, siginfo_t *si, void *p) in hard_handler()
194 void set_handler(int sig) in set_handler()

12345678910>>...29