/linux-4.1.27/arch/score/include/uapi/asm/ |
H A D | signal.h | 4 #include <asm-generic/signal.h>
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
/linux-4.1.27/include/uapi/linux/ |
H A D | signal.h | 4 #include <asm/signal.h>
|
H A D | elfcore.h | 5 #include <linux/signal.h> 13 int si_signo; /* signal number */ 43 struct elf_siginfo pr_info; /* Info associated with signal */ 44 short pr_cursig; /* Current signal */
|
H A D | vt.h | 22 short relsig; /* signal to raise on release req */ 23 short acqsig; /* signal to raise on acquisition */ 34 unsigned short v_signal; /* signal to send */ 38 #define VT_SENDSIG 0x5604 /* signal to send to bitmask of vts */
|
H A D | sonet.h | 49 #define SONET_INS_LAIS 32 /* line alarm indication signal */ 50 #define SONET_INS_PAIS 64 /* path alarm indication signal */
|
/linux-4.1.27/arch/blackfin/include/uapi/asm/ |
H A D | signal.h | 5 #include <asm-generic/signal.h>
|
/linux-4.1.27/arch/arm/mach-spear/ |
H A D | pl080.c | 32 unsigned int signal = cd->min_signal, val; pl080_get_signal() local 37 /* Return if signal is already acquired by somebody else */ pl080_get_signal() 38 if (signals[signal].busy && pl080_get_signal() 39 (signals[signal].val != cd->muxval)) { pl080_get_signal() 45 if (!signals[signal].busy) { pl080_get_signal() 51 * value by 2 * signal number. pl080_get_signal() 53 val &= ~(0x3 << (signal * 2)); pl080_get_signal() 54 val |= cd->muxval << (signal * 2); pl080_get_signal() 58 signals[signal].busy++; pl080_get_signal() 59 signals[signal].val = cd->muxval; pl080_get_signal() 62 return signal; pl080_get_signal() 65 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) pl080_put_signal() argument 71 /* if signal is not used */ pl080_put_signal() 72 if (!signals[signal].busy) pl080_put_signal() 75 signals[signal].busy--; pl080_put_signal()
|
H A D | pl080.h | 19 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal);
|
/linux-4.1.27/drivers/staging/dgnc/ |
H A D | dgnc_utils.c | 11 * Returns 0 if timed out, !0 (showing signal) if interrupted by a signal.
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | signal-defs.h | 13 #define SIG_SETMASK 2 /* for setting the signal mask */ 23 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */ 24 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */ 25 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
|
H A D | signal.h | 60 * SA_RESETHAND clears the handler when the signal is delivered. 62 * SA_NODEFER prevents the current signal from being masked in the handler. 94 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/score/kernel/ |
H A D | Makefile | 8 setup.o signal.o sys_score.o time.o traps.o \
|
H A D | sys_call_table.c | 2 #include <linux/signal.h>
|
H A D | signal.c | 2 * arch/score/kernel/signal.c 27 #include <linux/signal.h> 39 u32 rs_code[2]; /* signal trampoline */ 129 /* This is the X/Open sanctioned signal stack switching. */ get_sigframe() 263 /* Actually deliver the signal. */ do_signal() 288 * If there's no signal to deliver, we just put the saved sigmask do_signal() 301 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/arch/sh/include/uapi/asm/ |
H A D | signal.h | 6 #include <asm-generic/signal.h>
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | Makefile | 8 traps.o time.o irq.o entry.o ptrace.o signal.o \
|
H A D | sys_call_table.c | 18 #include <linux/signal.h>
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | signal.h | 5 #include <uapi/asm/signal.h>
|
/linux-4.1.27/include/asm-generic/ |
H A D | signal.h | 4 #include <uapi/asm-generic/signal.h>
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_parallel.h | 16 #define LIRC_PORT_TIMER_BIT LP_PBUSY /* busy signal */ 18 #define LIRC_PORT_SIGNAL_BIT LP_PACK /* ack signal */
|
H A D | lirc_parallel.c | 4 * lirc_parallel - device driver for infra-red signal receiving and 32 #include <linux/signal.h> 206 static void rbuf_write(int signal) rbuf_write() argument 217 rbuf[wptr] = signal; rbuf_write() 226 long signal; lirc_lirc_irq_handler() local 249 signal = tv.tv_sec - lasttv.tv_sec; lirc_lirc_irq_handler() 250 if (signal > 15) lirc_lirc_irq_handler() 254 data = (int) (signal*1000000 + lirc_lirc_irq_handler() 262 * wake up; we'll lose this signal, but it will be lirc_lirc_irq_handler() 273 signal = 1; lirc_lirc_irq_handler() 278 signal++; lirc_lirc_irq_handler() 282 if (signal > timeout lirc_lirc_irq_handler() 284 signal = 0; lirc_lirc_irq_handler() 290 if (signal != 0) { lirc_lirc_irq_handler() 294 helper = ((__u64) signal)*1000000; lirc_lirc_irq_handler() 296 signal = (long) helper; lirc_lirc_irq_handler() 298 if (signal > LIRC_SFH506_DELAY) lirc_lirc_irq_handler() 299 data = signal - LIRC_SFH506_DELAY; lirc_lirc_irq_handler()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | signal.h | 2 * include/asm-xtensa/signal.h 15 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | signal.h | 4 * Derived from "include/asm-i386/signal.h" 9 #include <uapi/asm/signal.h>
|
/linux-4.1.27/tools/perf/util/ |
H A D | sigchain.c | 16 die("BUG: signal out of range: %d", sig); check_signum() 25 s->old[s->n] = signal(sig, f); sigchain_push() 39 if (signal(sig, s->old[s->n - 1]) == SIG_ERR) sigchain_pop()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | Makefile | 7 obj-y := process.o traps.o irq.o signal.o ptrace.o
|
H A D | signal.c | 24 * Do a signal return, undo the signal stack. 74 * Since we stacked the signal on a dword boundary, do_rt_sigreturn() 192 /* Change user context to branch to signal handler */ setup_rt_frame() 197 /* Give the signal number to the handler */ setup_rt_frame() 202 * arguments for the signal handler. setup_rt_frame() 236 * handle the actual delivery of a signal to userspace 271 * handle a potential signal 306 /* if there's no signal to deliver, we just put the saved sigmask do_signal() 318 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | Makefile | 9 process.o setup.o signal.o traps.o time.o ptrace.o \
|
H A D | signal.c | 2 * linux/arch/cris/kernel/signal.c 4 * Based on arch/i386/kernel/signal.c by 20 #include <linux/signal.h> 45 * Do a signal return; undo the signal stack. 111 * Since we stacked the signal on a dword boundary, sys_sigreturn() 147 * Since we stacked the signal on a dword boundary, sys_rt_sigreturn() 175 * Set up a signal frame. 189 the signal handler. The frametype will be restored to its previous setup_sigcontext() 202 /* Figure out where we want to put the new signal frame 217 /* grab and setup a signal frame. 264 /* Set up registers for signal handler */ setup_frame() 324 /* Set up registers for signal handler */ setup_rt_frame() 361 * the signal, and since we only get here if there handle_signal() 376 * be called again after the signal handler returns. */ handle_signal() 416 /* Whee! Actually deliver the signal. */ do_signal() 435 /* if there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
H A D | Makefile | 9 process.o ptrace.o setup.o signal.o traps.o time.o \
|
H A D | signal.c | 9 #include <linux/signal.h> 99 * Since the signal is stacked on a dword boundary, the frame sys_sigreturn() 140 * Since the signal is stacked on a dword boundary, the frame sys_rt_sigreturn() 170 /* Setup a signal frame. */ 193 /* Figure out where to put the new signal frame - usually on the stack. */ 205 /* Grab and setup a signal frame. 245 /* Trampoline - the desired return ip is in the signal return page. */ setup_frame() 253 * signal handler stack frames. setup_frame() 264 * Set up registers for signal handler. setup_frame() 316 /* Trampoline - the desired return ip is in the signal return page. */ setup_rt_frame() 324 * signal handler stack frames. setup_rt_frame() 338 * Set up registers for signal handler. setup_rt_frame() 358 /* Invoke a signal handler to, well, handle the signal. */ 374 * handler for the signal, and since handle_signal() 398 * be called again after the signal handle_signal() 442 /* Whee! Actually deliver the signal. */ do_signal() 462 /* if there's no signal to deliver, we just put the saved sigmask do_signal() 493 in the signal trampoline: keep the Q flag. */ keep_debug_flags() 504 /* If a h/w bp was set in the signal handler we need keep_debug_flags() 510 /* If we were single-stepping *before* the signal was taken, keep_debug_flags() 518 /* Set up the trampolines on the signal return page. */
|
/linux-4.1.27/arch/m32r/kernel/ |
H A D | Makefile | 8 m32r_ksyms.o sys_m32r.o signal.o ptrace.o
|
H A D | signal.c | 2 * linux/arch/m32r/kernel/signal.c 17 #include <linux/signal.h> 31 * Do a signal return; undo the signal stack. 118 * Set up a signal frame. 204 /* Set up registers for signal handler */ setup_rt_frame() 206 regs->r0 = sig; /* Arg for signal handler */ setup_rt_frame() 289 * signal to user space. The processor register will do_signal() 294 /* Whee! Actually deliver the signal. */ do_signal() 327 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | sys.c | 3 #include <linux/signal.h>
|
H A D | signal.c | 42 * setup_frame( ) sets up PC,SP,BLINK to enable user space signal handler 44 * on resuming user mode, signal handler branches off to BTA of orig JMP 50 #include <linux/signal.h> 109 /* Since we stacked the signal on a word boundary, SYSCALL_DEFINE0() 138 * signal handler and/or restorer which clobberes the status32/ret SYSCALL_DEFINE0() 167 /* Check that we can actually write to the signal frame */ get_sigframe() 188 * during signal handler execution. This works for SA_SIGINFO as well setup_rt_frame() 195 * SA_SIGINFO requires 3 args to signal handler: setup_rt_frame() 224 /* setup PC of user space signal handler */ setup_rt_frame() 236 /* User Stack for signal handler will be above the frame just carved */ setup_rt_frame() 240 * Bug 94183, Clear the DE bit, so that when signal handler setup_rt_frame() 257 * the signal, and since we only get here if there arc_restart_syscall() 278 * be called again after the signal handler returns. arc_restart_syscall() 336 /* If there's no signal to deliver, restore the saved sigmask back */ do_signal()
|
H A D | Makefile | 12 obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
|
/linux-4.1.27/arch/um/os-Linux/ |
H A D | Makefile | 7 registers.o sigio.o signal.o start_up.o time.o tty.o \ 13 main.o mem.o process.o registers.o sigio.o signal.o start_up.o time.o \
|
H A D | util.c | 10 #include <signal.h> 102 signal(SIGWINCH, SIG_IGN); os_fix_helper_signals() 103 signal(SIGINT, SIG_DFL); os_fix_helper_signals() 104 signal(SIGTERM, SIG_DFL); os_fix_helper_signals() 111 signal(SIGSEGV, SIG_DFL); os_dump_core() 120 signal(SIGTERM, SIG_IGN); os_dump_core() 135 * processed in numeric order so the SIGTERM (signal 15 vs os_dump_core() 136 * SIGSEGV being signal 11) is never handled. os_dump_core()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | signal.h | 5 * Unfortunately, this file is being included by bits/signal.h in 11 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
H A D | signal.h | 49 * SA_RESETHAND clears the handler when the signal is delivered. 51 * SA_NODEFER prevents the current signal from being masked in the handler. 74 #define SIG_SETMASK 2 /* for setting the signal mask */ 76 #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ 77 #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ 78 #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ 87 /* Type of a signal handler. */
|
/linux-4.1.27/tools/perf/ui/tui/ |
H A D | setup.c | 1 #include <signal.h> 49 signal(SIGWINCH, ui__sigwinch); ui__setup_sigwinch() 148 signal(SIGSEGV, ui__signal_backtrace); ui__init() 149 signal(SIGFPE, ui__signal_backtrace); ui__init() 150 signal(SIGINT, ui__signal); ui__init() 151 signal(SIGQUIT, ui__signal); ui__init() 152 signal(SIGTERM, ui__signal); ui__init()
|
/linux-4.1.27/drivers/misc/echo/ |
H A D | echo.h | 43 adequately cover the duration of that impulse response. The signal transmitted 45 properly adapted, the resulting output is an estimate of the echo signal 46 received from the line. This is subtracted from the received signal. The result 47 is an estimate of the signal which originated at the far end of the line, free 48 from echos of our own transmitted signal. 54 very poorly for things like speech echo cancellation, where the signal level 55 varies widely. This is quite easy to fix. If the signal level is normalised - 56 similar to applying AGC - LMS can work as well for a signal of varying 57 amplitude as it does for a modem signal. This normalised least mean squares 64 to adapt best to the strongest parts of a signal. If the signal is white noise, 66 high frequency content. Pre-whitening (i.e. filtering the signal to flatten its 67 spectrum) the echo signal improves the adapt rate for speech, and ensures the 68 final residual signal is not heavily biased towards high frequencies. A very 75 - The transmitted signal has poor self-correlation. 76 - There is no signal being generated within the environment being 86 random signal - the impulse response of the line. For a repetitive signal, 95 The adaption process is based on trying to eliminate the received signal. When 96 there is any signal from within the environment being cancelled it may upset 97 the adaption process. Similarly, if the signal we are transmitting is small, 99 adaption is only performed when we are transmitting a significant signal level, 101 we are sending a significant signal. Telling, if the environment is generating 102 a significant signal, and doing it with sufficient speed that the adaption will 107 the received signal, there are a number of strategies which may be used to 108 assess whether that signal contains a strong far end component. However, by the 109 time that assessment is complete the far end signal will have already caused
|
/linux-4.1.27/include/linux/ |
H A D | scx200_gpio.h | 27 /* return the value driven on the GPIO signal (the value that will be 38 /* drive the GPIO signal high */ 49 /* drive the GPIO signal low */ 60 /* drive the GPIO signal to state */ 74 /* toggle the GPIO signal */ scx200_gpio_change()
|
H A D | oom.h | 37 current->signal->oom_flags |= OOM_FLAG_ORIGIN; set_current_oom_origin() 42 current->signal->oom_flags &= ~OOM_FLAG_ORIGIN; clear_current_oom_origin() 47 return !!(p->signal->oom_flags & OOM_FLAG_ORIGIN); oom_task_origin() 95 !(task->signal->flags & SIGNAL_GROUP_COREDUMP); task_will_free_mem()
|
H A D | signalfd.h | 16 * Deliver the signal to listening signalfd.
|
H A D | signal.h | 6 #include <uapi/linux/signal.h> 28 sigset_t signal; member in struct:sigpending 231 sigemptyset(&sig->signal); init_sigpending() 237 /* Test if 'sig' is valid signal. Use this instead of testing _NSIG directly */ valid_signal() 303 * Kernel threads handle their own signals. Let the signal code allow_signal() 320 * In POSIX a signal is sent either to a specific thread (Linux task) 321 * or to the process as a whole (Linux thread group). How the signal 323 * which determines which signal mask(s) are involved in blocking it 324 * from being delivered until later. When the signal is delivered, 328 * The possible effects an unblocked signal set to SIG_DFL can have are: 342 * | POSIX signal | default action | 377 * | non-POSIX signal | default action | 387 * catching, or ignoring SIGCONT. When any stop signal is sent, it clears 389 * catching, or ignored the stop signal, though (except for SIGSTOP) the
|
H A D | posix-timers.h | 68 int it_overrun; /* overrun on pending signal */ 69 int it_overrun_last; /* overrun on last delivered signal */ 75 struct pid *it_pid; /* pid of process to send signal to */ 78 struct sigqueue *sigq; /* signal queue entry. */
|
H A D | wait.h | 396 * @condition evaluates to true or a signal is received. 403 * signal and 0 if @condition evaluated to true. 426 * @condition evaluates to true or a signal is received. 437 * interrupted by a signal. 481 * @condition evaluates to true or a signal is received. 507 * @condition evaluates to true or a signal is received. 514 * interrupted by a signal, or -ETIME if the timeout elapsed. 590 * @condition evaluates to true or a signal is received. 605 * signal and 0 if @condition evaluated to true. 617 * @condition evaluates to true or a signal is received. 632 * signal and 0 if @condition evaluated to true. 644 * @condition evaluates to true or a signal is received. 663 * signal and 0 if @condition evaluated to true. 675 * @condition evaluates to true or a signal is received. 694 * signal and 0 if @condition evaluated to true. 710 * @condition evaluates to true or a signal is received. 717 * signal and 0 if @condition evaluated to true. 813 * @condition evaluates to true or a signal is received. The @condition is 823 * The macro will return -ERESTARTSYS if it was interrupted by a signal 845 * @condition evaluates to true or signal is received. The @condition is 854 * The macro will return -ERESTARTSYS if it was interrupted by a signal 885 * @condition evaluates to true or signal is received. The @condition is 895 * was interrupted by a signal, and the remaining jiffies otherwise 968 * if the process received a signal and the mode permitted wakeup 969 * on that signal. 993 * if the process received a signal and the mode permitted wakeup 994 * on that signal. 1020 * received a signal and the mode permitted wakeup on that signal. 1046 * if the process received a signal and the mode permitted wakeup 1047 * on that signal. 1074 * set. Returns non-zero if a signal was delivered to the process and 1075 * the @mode allows that signal to wake the process. 1098 * set. Returns non-zero if a signal was delivered to the process and 1099 * the @mode allows that signal to wake the process. 1124 * set. Returns non-zero if a signal was delivered to the process and 1125 * the @mode allows that signal to wake the process.
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_audit.c | 110 * Only needs to be called if current->signal->tty_audit_buf != %NULL. 116 buf = current->signal->tty_audit_buf; tty_audit_exit() 117 current->signal->tty_audit_buf = NULL; tty_audit_exit() 135 sig->audit_tty = current->signal->audit_tty; tty_audit_fork() 136 sig->audit_tty_log_passwd = current->signal->audit_tty_log_passwd; tty_audit_fork() 149 should_audit = current->signal->audit_tty; tty_audit_tiocsti() 150 buf = current->signal->tty_audit_buf; tty_audit_tiocsti() 190 if (tsk->signal->audit_tty) { tty_audit_push_current() 191 buf = tsk->signal->tty_audit_buf; tty_audit_push_current() 198 * Return 0 when signal->audit_tty set tty_audit_push_current() 199 * but tsk->signal->tty_audit_buf == NULL. tty_audit_push_current() 228 if (likely(!current->signal->audit_tty)) tty_audit_buf_get() 230 buf = current->signal->tty_audit_buf; tty_audit_buf_get() 246 if (!current->signal->audit_tty) tty_audit_buf_get() 248 buf = current->signal->tty_audit_buf; tty_audit_buf_get() 250 current->signal->tty_audit_buf = buf2; tty_audit_buf_get() 280 audit_log_tty_passwd = current->signal->audit_tty_log_passwd; tty_audit_add_data() 331 if (likely(!current->signal->audit_tty)) { tty_audit_push() 335 buf = current->signal->tty_audit_buf; tty_audit_push()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | syscalls.h | 15 #include <linux/signal.h> 26 /* kernel/signal.c */ 36 /* kernel/signal.c */
|
H A D | sighandling.h | 6 #include <linux/signal.h>
|
/linux-4.1.27/arch/arm/include/uapi/asm/ |
H A D | signal.h | 66 * SA_SIGINFO deliver the signal with SIGINFO structs 67 * SA_THIRTYTWO delivers the signal in 32-bit mode, even if the task 69 * SA_ONSTACK allows alternate signal stacks (see sigaltstack(2)). 71 * SA_NODEFER prevents the current signal from being masked in the handler. 72 * SA_RESETHAND clears the handler when the signal is delivered. 93 #include <asm-generic/signal-defs.h>
|
H A D | sigcontext.h | 6 * before the signal handler was invoked. Note: only add new entries
|
/linux-4.1.27/arch/tile/include/uapi/asm/ |
H A D | signal.h | 18 /* Do not notify a ptracer when this signal is handled. */ 24 #include <asm-generic/signal.h>
|
H A D | sigcontext.h | 18 /* Don't pollute the namespace since <signal.h> includes this file. */
|
/linux-4.1.27/drivers/atm/ |
H A D | adummy.c | 48 int signal; __set_signal() local 50 if (sscanf(buf, "%d", &signal) == 1) { __set_signal() 52 if (signal < ATM_PHY_SIG_LOST || signal > ATM_PHY_SIG_FOUND) __set_signal() 53 signal = ATM_PHY_SIG_UNKNOWN; __set_signal() 55 atm_dev_signal_change(atm_dev, signal); __set_signal() 65 return sprintf(buf, "%d\n", atm_dev->signal); __show_signal() 67 static DEVICE_ATTR(signal, 0644, __show_signal, __set_signal);
|
H A D | idt77105.c | 38 unsigned char old_mcr; /* storage of MCR reg while signal lost */ 122 if (dev->signal != ATM_PHY_SIG_LOST) idt77105_restart_timer_func() 127 /* Found signal again */ idt77105_restart_timer_func() 129 printk(KERN_NOTICE "%s(itf %d): signal detected again\n", idt77105_restart_timer_func() 222 if (istat & IDT77105_ISTAT_GOODSIG) { /* signal detected again */ idt77105_int() 225 } else { /* signal lost */ idt77105_int() 238 printk(KERN_NOTICE "%s(itf %d): signal lost\n", idt77105_int() 273 /* initialise dev->signal from Good Signal Bit */ idt77105_start() 277 if (dev->signal == ATM_PHY_SIG_LOST) idt77105_start() 278 printk(KERN_WARNING "%s(itf %d): no signal\n",dev->type, idt77105_start() 294 /* enable interrupts, e.g. on loss of signal */ idt77105_start() 296 if (dev->signal == ATM_PHY_SIG_FOUND) { idt77105_start()
|
/linux-4.1.27/include/trace/events/ |
H A D | signal.h | 2 #define TRACE_SYSTEM signal 7 #include <linux/signal.h> 37 * signal_generate - called when a signal is generated 38 * @sig: signal number 44 * Current process sends a 'sig' signal to 'task' process with 83 * signal_deliver - called when a signal is delivered 84 * @sig: signal number 88 * A 'sig' signal is delivered to current process with 'info' siginfo,
|
H A D | task.h | 25 __entry->oom_score_adj = task->signal->oom_score_adj; 50 __entry->oom_score_adj = task->signal->oom_score_adj;
|
H A D | oom.h | 23 __entry->oom_score_adj = task->signal->oom_score_adj;
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | ucontext.h | 9 #include <asm/signal.h> 29 /* glibc has 1024-bit signal masks, ours are 64-bit */
|
H A D | signal.h | 68 * SA_RESETHAND clears the handler when the signal is delivered. 70 * SA_NODEFER prevents the current signal from being masked in the handler. 91 #include <asm-generic/signal-defs.h> 119 * disable certain debugging things that can be done from signal 121 * SA_SIGINFO signal so the ucontext can be passed to it. It takes an 123 * perform before returning from the signal.
|
/linux-4.1.27/arch/cris/include/uapi/asm/ |
H A D | sigcontext.h | 8 /* This struct is saved by setup_frame in signal.c, to keep the current context while 9 a signal handler is executed. It's restored by sys_sigreturn.
|
H A D | signal.h | 65 * SA_RESETHAND clears the handler when the signal is delivered. 67 * SA_NODEFER prevents the current signal from being masked in the handler. 89 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/frv/include/uapi/asm/ |
H A D | sigcontext.h | 1 /* sigcontext.h: FRV signal context 18 * before the signal handler was invoked. Note: only add new entries
|
H A D | signal.h | 16 #include <asm-generic/signal.h>
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | sigframe.h | 9 * Place signal handler args where user-level unwinder can find them easily. 20 void __user *handler; /* pointer to the plabel of the signal handler */
|
H A D | gate.S | 3 * region. For now, it contains the signal trampoline code only. 85 * The register stack looks _exactly_ the way it looked at the time the signal 91 * store. Once that is done, we invoke the signal handler which may modify some 92 * of the machine state. After returning from the signal handler, we return 93 * control to the previous context by executing a sigreturn system call. A signal 97 * restore preserved registers that may have been saved on the signal handler's 123 ld8 r17=[base0],(ARG0_OFF-SIGHANDLER_OFF) // get pointer to signal handler's plabel 137 ld8 r10=[r17],8 // get signal handler entry point 140 ld8 gp=[r17] // get signal handler's global pointer 163 br.call.sptk.many rp=b6 // call the signal handler 232 // r14 = bsp1 (bsp at the time of return from signal handler) 233 // r15 = bsp0 (bsp at the time the signal occurred)
|
/linux-4.1.27/scripts/rt-tester/ |
H A D | check-all.sh | 11 testit t2-l1-signal.tst 16 testit t3-l1-pi-signal.tst
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | compat_signal.h | 5 #include <asm/signal.h>
|
H A D | signal.h | 8 #include <uapi/asm/signal.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
H A D | priv.h | 8 struct nvkm_perfsig *signal[4]; member in struct:nvkm_perfctr 26 u8 signal; member in struct:nvkm_specsig 40 const struct nvkm_specsig *signal; member in struct:nvkm_specdom 56 struct nvkm_perfsig signal[]; member in struct:nvkm_perfdom
|
H A D | base.c | 45 if ( dom->signal[i].name && nvkm_perfsig_find_() 46 !strncmp(name, dom->signal[i].name, size)) nvkm_perfsig_find_() 47 return &dom->signal[i]; nvkm_perfsig_find_() 53 return &dom->signal[i]; nvkm_perfsig_find_() 95 ctr->signal[0] = sig; nvkm_perfsig_wrap() 140 if (raw || !(name = dom->signal[si].name)) { nvkm_perfctr_query() 150 if (all || dom->signal[si].name) { nvkm_perfctr_query() 302 ctr->signal[0] = sig[0]; nvkm_perfctr_ctor() 303 ctr->signal[1] = sig[1]; nvkm_perfctr_ctor() 304 ctr->signal[2] = sig[2]; nvkm_perfctr_ctor() 305 ctr->signal[3] = sig[3]; nvkm_perfctr_ctor() 398 sizeof(*dom->signal), GFP_KERNEL); nvkm_perfdom_new() 418 ssig = (sdom++)->signal; nvkm_perfdom_new() 420 dom->signal[ssig->signal].name = ssig->name; nvkm_perfdom_new()
|
H A D | daemon.c | 34 for (i = 0; i < ARRAY_SIZE(ctr->signal) && ctr->signal[i]; i++) pwr_perfctr_init() 35 mask |= 1 << (ctr->signal[i] - dom->signal); pwr_perfctr_init()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | net-cw1200.h | 17 int reset; /* GPIO to RSTn signal (0 disables) */ 18 int powerup; /* GPIO to POWERUP signal (0 disables) */ 33 int reset; /* GPIO to RSTn signal (0 disables) */ 34 int powerup; /* GPIO to POWERUP signal (0 disables) */
|
H A D | serial-sccnxp.h | 46 #define DIR_OP 24 /* Special signal for control RS-485. 51 /* Routing control signal 'sig' to line 'line' */
|
H A D | gpio-davinci.h | 48 /* Convert GPIO signal to GPIO pin number */
|
/linux-4.1.27/arch/s390/include/uapi/asm/ |
H A D | sigcontext.h | 21 /* Has to be at least _NSIG_WORDS from asm/signal.h */ 24 /* Size of stack frame allocated when calling signal handler. */ 29 /* Has to be at least _NSIG_WORDS from asm/signal.h */ 32 /* Size of stack frame allocated when calling signal handler. */
|
H A D | signal.h | 4 * Derived from "include/asm-i386/signal.h" 73 * SA_RESETHAND clears the handler when the signal is delivered. 75 * SA_NODEFER prevents the current signal from being masked in the handler. 96 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | syscalls.h | 16 #include <linux/signal.h>
|
H A D | signal.h | 11 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | Makefile | 10 obj-y += signal.o process.o time.o
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | Makefile | 5 obj-y += setup.o irq_cpu.o traps.o syscalltab.o signal.o time.o
|
H A D | signal.c | 30 #include <asm/signal.h> 105 * Setup signal stack frame with siginfo structure 122 /* The on-stack signal trampoline is no longer executed; setup_rt_frame() 123 * however, the libgcc signal frame unwinding code checks for setup_rt_frame() 146 * Setup invocation of signal handler 153 * If we're handling a signal that aborted a system call, handle_signal() 154 * set up the error return value before adding the signal handle_signal() 184 /* If there was an error on setup, no signal was delivered. */ handle_signal() 227 /* If there's no signal to deliver, put the saved sigmask back */ do_signal() 232 * Architecture-specific wrappers for signal-related system calls
|
/linux-4.1.27/arch/m32r/include/asm/ |
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
H A D | sigcontext.h | 11 #define IA64_SC_FLAG_ONSTACK_BIT 0 /* is handler running on signal stack? */ 12 #define IA64_SC_FLAG_IN_SYSCALL_BIT 1 /* did signal interrupt a syscall? */ 24 * signal was raised. If signal delivery required switching to an alternate signal stack 26 * imaginary "cover" instruction) is backed by the *alternate* signal stack, not the 66 sigset_t sc_mask; /* signal mask to restore after handler returns */
|
H A D | signal.h | 5 * Unfortunately, this file is being included by bits/signal.h in 48 /* signal 31 is no longer "unused", but the SIGUNUSED macro remains for backwards compatibility */ 61 * SA_RESETHAND clears the handler when the signal is delivered. 63 * SA_NODEFER prevents the current signal from being masked in the handler. 84 * on all future CPU models. The CPU model matters because the signal 104 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
H A D | trace-agent-ctl.c | 15 #include <signal.h> 97 /* Setup signal handlers */ rw_ctl_loop() 98 signal(SIGTERM, signal_handler); rw_ctl_loop() 99 signal(SIGINT, signal_handler); rw_ctl_loop() 100 signal(SIGQUIT, signal_handler); rw_ctl_loop()
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
H A D | signal.h | 8 /* On the Sparc the signal handlers get passed a 'sub-signal' code 9 * for certain signal types, which we document here. 123 #define _SV_SSTACK 1u /* This signal handler should use sig-stack */ 125 #define _SV_RESET 4u /* Set handler to SIG_DFL upon taken signal */ 130 * usage of signal stacks by using the (now obsolete) sa_restorer field in 132 * the changes in signal handling. LBT 010493. 148 #define SIG_SETMASK 0x04 /* for setting the signal mask */ 154 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | signal.c | 16 #include <linux/signal.h> 35 * Layout of an old-style signal-frame: 72 * Layout of an rt signal-frame: 104 /* Store registers needed to create the signal frame */ store_sigregs() 120 /* Load registers after signal return */ load_sigregs() 202 /* Save vector registers to signal stack */ save_sigregs_ext() 222 /* Restore vector registers from signal stack */ restore_sigregs_ext() 291 /* Overflow on alternate signal stack gives SIGSEGV. */ get_sigframe() 295 /* This is the X/Open sanctioned signal stack switching. */ get_sigframe() 316 * included in the signal frame on a 31-bit system. setup_frame() 329 /* Create struct sigcontext on the signal stack */ setup_frame() 335 /* Store registers needed to create the signal frame */ setup_frame() 338 /* Create _sigregs on the signal stack */ setup_frame() 342 /* Place signal number on stack to allow backtrace from handler. */ setup_frame() 346 /* Create _sigregs_ext on the signal stack */ setup_frame() 362 /* Set up registers for signal handler */ setup_frame() 398 * included in the signal frame on a 31-bit system. setup_rt_frame() 426 /* Create siginfo on the signal stack */ setup_rt_frame() 430 /* Store registers needed to create the signal frame */ setup_rt_frame() 433 /* Create ucontext on the signal stack. */ setup_rt_frame() 442 /* Set up registers for signal handler */ setup_rt_frame() 478 * the kernel can handle, and then we build all the user-level signal handling 487 * Get signal to deliver. When running under ptrace, at this point do_signal() 495 /* Whee! Actually deliver the signal. */ do_signal() 550 * If there's no signal to deliver, we just put the saved sigmask back. do_signal()
|
H A D | traps.c | 186 int signal = 0; illegal_op() local 201 signal = SIGILL; illegal_op() 207 signal = SIGILL; illegal_op() 217 signal = SIGILL; illegal_op() 219 if (signal) illegal_op() 220 do_trap(regs, signal, ILL_ILLOPC, "illegal operation"); illegal_op() 296 int signal = 0; data_exception() local 311 signal = SIGFPE; data_exception() 313 signal = SIGILL; data_exception() 314 if (signal == SIGFPE) data_exception() 316 else if (signal) data_exception() 317 do_trap(regs, signal, ILL_ILLOPN, "data exception"); data_exception()
|
H A D | compat_signal.c | 16 #include <linux/signal.h> 166 /* Store registers needed to create the signal frame */ store_sigregs() 182 /* Load registers after signal return */ load_sigregs() 266 /* Save high gprs to signal stack */ save_sigregs_ext32() 273 /* Save vector registers to signal stack */ save_sigregs_ext32() 294 /* Restore high gprs from signal stack */ restore_sigregs_ext32() 301 /* Restore vector registers from signal stack */ restore_sigregs_ext32() 362 * Set up a signal frame. 377 /* Overflow on alternate signal stack gives SIGSEGV. */ get_sigframe() 381 /* This is the X/Open sanctioned signal stack switching. */ get_sigframe() 416 /* Create struct sigcontext32 on the signal stack */ setup_frame32() 422 /* Store registers needed to create the signal frame */ setup_frame32() 425 /* Create _sigregs32 on the signal stack */ setup_frame32() 429 /* Place signal number on stack to allow backtrace from handler. */ setup_frame32() 433 /* Create _sigregs_ext32 on the signal stack */ setup_frame32() 450 /* Set up registers for signal handler */ setup_frame32() 518 /* Create siginfo on the signal stack */ setup_rt_frame32() 522 /* Store registers needed to create the signal frame */ setup_rt_frame32() 525 /* Create ucontext on the signal stack. */ setup_rt_frame32() 535 /* Set up registers for signal handler */ setup_rt_frame32()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | signal.c | 2 * Common signal handling code for both 32 and 64 bits 13 #include <linux/signal.h> 23 #include "signal.h" 25 /* Log an error when sending an unhandled signal to a process. Controlled 32 * Allocate space for the signal frame 69 * restarted if there was no handler for the signal, and since check_syscall_restart() 82 * called again after the signal handler returns. check_syscall_restart() 115 /* No signal to deliver -- put the saved sigmask back */ do_signal() 123 * Reenable the DABR before delivering the signal to do_signal() 131 /* Re-enable the breakpoints for the signal stack */ do_signal() 167 /* When in an active transaction that takes a signal, we need to be get_tm_stackpointer() 177 * To avoid this, when taking a signal in an active transaction, we get_tm_stackpointer() 179 * than the speculated state. This ensures that the signal context get_tm_stackpointer() 182 * so any memory written between the tbegin and the signal will be get_tm_stackpointer()
|
H A D | ppc32.h | 6 #include <asm/signal.h> 37 int signal; member in struct:sigcontext32 58 /* glibc has 1024-bit signal masks, ours are 64-bit */
|
/linux-4.1.27/drivers/staging/iio/trigger/ |
H A D | iio-trig-bfin-timer.h | 11 * timer trigger. If output_enable is set to true an external trigger signal 13 * converters which needs an external signal to start conversion. active_low and
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | syscalls.h | 7 #include <linux/signal.h> 9 /* kernel/signal.c */
|
/linux-4.1.27/arch/openrisc/include/uapi/asm/ |
H A D | sigcontext.h | 24 /* This struct is saved by setup_frame in signal.c, to keep the current 25 context while a signal handler is executed. It's restored by sys_sigreturn.
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | mainstone.h | 74 #define MST_MSCWR2_RADIO_WAKE (1 << 0) /* Radio module wake-up signal */ 80 #define MST_MSCRD_nPENIRQ (1 << 9) /* ADI7873* nPENIRQ signal */ 81 #define MST_MSCRD_nMEMSTK_CD (1 << 8) /* Memory Stick detection signal */ 82 #define MST_MSCRD_nMMC_CD (1 << 7) /* SD/MMC card detection signal */ 83 #define MST_MSCRD_nUSIM_CD (1 << 6) /* USIM card detection signal */ 106 #define MST_PCMCIA_nIRQ (1 << 10) /* IRQ / ready signal */ 111 #define MST_PCMCIA_nCD (1 << 5) /* Card detection signal */ 112 #define MST_PCMCIA_RESET (1 << 4) /* Card reset signal */
|
/linux-4.1.27/arch/arm/plat-orion/include/plat/ |
H A D | mpp.h | 25 /* may be input signal */ ((!!(_in)) << 12) | \ 26 /* may be output signal */ ((!!(_out)) << 13))
|
/linux-4.1.27/arch/arc/include/uapi/asm/ |
H A D | signal.h | 17 * which allows sigreturn based re-entry into kernel after handling signal. 25 #include <asm-generic/signal.h>
|
H A D | sigcontext.h | 16 * before the signal handler was invoked.
|
H A D | ptrace.h | 20 * -sigcontext (SA_SIGNINFO signal frame) 30 * save/restore for signal handling. However gdb also uses the same struct
|
/linux-4.1.27/kernel/ |
H A D | signal.c | 2 * linux/kernel/signal.c 24 #include <linux/signal.h> 39 #include <trace/events/signal.h> 49 * SLAB caches for signal bits. 74 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && sig_task_ignored() 85 * signal handler may change by the time it is sig_ignored() 104 static inline int has_pending_signals(sigset_t *signal, sigset_t *blocked) has_pending_signals() argument 112 ready |= signal->sig[i] &~ blocked->sig[i]; has_pending_signals() 115 case 4: ready = signal->sig[3] &~ blocked->sig[3]; has_pending_signals() 116 ready |= signal->sig[2] &~ blocked->sig[2]; has_pending_signals() 117 ready |= signal->sig[1] &~ blocked->sig[1]; has_pending_signals() 118 ready |= signal->sig[0] &~ blocked->sig[0]; has_pending_signals() 121 case 2: ready = signal->sig[1] &~ blocked->sig[1]; has_pending_signals() 122 ready |= signal->sig[0] &~ blocked->sig[0]; has_pending_signals() 125 case 1: ready = signal->sig[0] &~ blocked->sig[0]; has_pending_signals() 130 #define PENDING(p,b) has_pending_signals(&(p)->signal, (b)) 136 PENDING(&t->signal->shared_pending, &t->blocked)) { recalc_sigpending_tsk() 165 /* Given the mask, find the first available signal that should be serviced. */ 176 s = pending->signal.sig; next_signal() 227 printk(KERN_INFO "%s/%d: reached RLIMIT_SIGPENDING, dropped signal %d\n", print_dropped_signal() 331 struct signal_struct *sig = task->signal; task_participate_group_stop() 356 * allocate a new signal queue record 408 sigemptyset(&queue->signal); flush_sigqueue() 423 flush_sigqueue(&t->signal->shared_pending); __flush_signals() 437 sigset_t signal, retain; __flush_itimer_signals() local 440 signal = pending->signal; __flush_itimer_signals() 449 sigdelset(&signal, sig); __flush_itimer_signals() 455 sigorsets(&pending->signal, &signal, &retain); __flush_itimer_signals() 465 __flush_itimer_signals(&tsk->signal->shared_pending); flush_itimer_signals() 515 * signal will be acted upon after all. If the notifier routine returns 0, 516 * then then signal will be blocked. Only one block per process is 518 * can use to determine if the signal should be blocked or not. 551 * Collect the siginfo appropriate to this signal. Check if collect_signal() 552 * there is another siginfo for the same signal. collect_signal() 562 sigdelset(&list->signal, sig); collect_signal() 572 * a fast-pathed signal or we must have been collect_signal() 605 * Dequeue a signal and return the element to the caller, which is 619 signr = __dequeue_signal(&tsk->signal->shared_pending, dequeue_signal() 622 * itimer signal ? dequeue_signal() 625 * itimers in the signal delivery path to prevent DoS dequeue_signal() 628 * itimers, as the SIGALRM is a legacy signal and only dequeue_signal() 630 * restart the timer in the signal dequeue path is dequeue_signal() 635 struct hrtimer *tmr = &tsk->signal->real_timer; dequeue_signal() 638 tsk->signal->it_real_incr.tv64 != 0) { dequeue_signal() 640 tsk->signal->it_real_incr); dequeue_signal() 652 * Set a marker that we have dequeued a stop signal. Our dequeue_signal() 654 * stop signal it is about to process is no longer in the dequeue_signal() 658 * remain set after the signal we return is ignored or dequeue_signal() 660 * is to alert stop-signal processing code when another dequeue_signal() 680 * Tell a process that it has a new active signal.. 687 * No need to set need_resched since signal event passing 698 * handle its death signal. signal_wake_up_state() 715 sigandsets(&m, mask, &s->signal); flush_sigqueue_mask() 719 sigandnsets(&s->signal, &s->signal, mask); flush_sigqueue_mask() 761 * Bad permissions for sending the signal 776 error = audit_signal_info(sig, t); /* Let audit system see the signal */ check_kill_permission() 827 * the signal actions, these happen immediately at signal-generation 830 * signals. The process stop is done as a signal action for SIG_DFL. 832 * Returns true if the signal should be actually delivered, otherwise 837 struct signal_struct *signal = p->signal; prepare_signal() local 841 if (signal->flags & (SIGNAL_GROUP_EXIT | SIGNAL_GROUP_COREDUMP)) { prepare_signal() 842 if (signal->flags & SIGNAL_GROUP_COREDUMP) prepare_signal() 849 * This is a stop signal. Remove SIGCONT from all queues. prepare_signal() 852 flush_sigqueue_mask(&flush, &signal->shared_pending); prepare_signal() 861 flush_sigqueue_mask(&flush, &signal->shared_pending); for_each_thread() 880 if (signal->flags & SIGNAL_STOP_STOPPED) 882 else if (signal->group_stop_count) 891 signal->flags = why | SIGNAL_STOP_CONTINUED; 892 signal->group_stop_count = 0; 893 signal->group_exit_code = 0; 905 * as soon as they're available, so putting the signal on the shared queue 923 struct signal_struct *signal = p->signal; complete_signal() local 927 * Now find a thread we can wake up to take the signal off the queue. complete_signal() 929 * If the main thread wants the signal, it gets first crack. complete_signal() 944 t = signal->curr_target; complete_signal() 947 if (t == signal->curr_target) complete_signal() 951 * the signal in the queue soon. complete_signal() 955 signal->curr_target = t; complete_signal() 959 * Found a killable thread. If the signal will be fatal, complete_signal() 963 !(signal->flags & (SIGNAL_UNKILLABLE | SIGNAL_GROUP_EXIT)) && complete_signal() 967 * This signal will be fatal to the whole group. complete_signal() 974 * thread has the fatal signal pending. complete_signal() 976 signal->flags = SIGNAL_GROUP_EXIT; complete_signal() 977 signal->group_exit_code = sig; complete_signal() 978 signal->group_stop_count = 0; complete_signal() 982 sigaddset(&t->pending.signal, SIGKILL); complete_signal() 990 * The signal is already in the shared-pending queue. complete_signal() 999 return (sig < SIGRTMIN) && sigismember(&signals->signal, sig); legacy_queue() 1038 pending = group ? &t->signal->shared_pending : &t->pending; __send_signal() 1041 * exactly one non-rt signal, so that we can get more __send_signal() 1042 * detailed information about the cause of the signal. __send_signal() 1062 * make sure at least one signal gets delivered and don't __send_signal() 1103 * signal was rt and sent by user using something __send_signal() 1112 * send the signal, but the *info bits are lost. __send_signal() 1120 sigaddset(&pending->signal, sig); __send_signal() 1143 printk(KERN_INFO "potentially unexpected fatal signal %d.\n", signr); print_fatal_signal() 1200 * Force a signal that the process can't ignore: if necessary 1201 * we unblock the signal and change any SIG_IGN to SIG_DFL. 1203 * Note: If we unblock the signal, we always reset it to SIG_DFL, 1204 * since we do not want to have a signal handler that was blocked 1229 t->signal->flags &= ~SIGNAL_UNKILLABLE; force_sig_info() 1244 p->signal->group_stop_count = 0; zap_other_threads() 1253 sigaddset(&t->pending.signal, SIGKILL); while_each_thread() 1303 * send signal info to all the members of a group 1320 * __kill_pgrp_info() sends a signal to a process group: this is what the tty 1492 * When things go south during signal handling, we 1493 * will force a SIGSEGV. And if the signal that caused 1495 * make sure we don't even try to deliver the signal.. 1585 ret = 1; /* the signal is ignored */ send_sigqueue() 1604 pending = group ? &t->signal->shared_pending : &t->pending; send_sigqueue() 1606 sigaddset(&pending->signal, sig); send_sigqueue() 1668 info.si_utime = cputime_to_clock_t(utime + tsk->signal->utime); do_notify_parent() 1669 info.si_stime = cputime_to_clock_t(stime + tsk->signal->stime); do_notify_parent() 1692 * signal handler, we just set this to tell do_exit that we do_notify_parent() 1762 info.si_status = tsk->signal->group_exit_code & 0x7f; do_notify_parent_cldstop() 1813 return sigismember(&tsk->pending.signal, SIGKILL) || sigkill_pending() 1814 sigismember(&tsk->signal->shared_pending.signal, SIGKILL); sigkill_pending() 1841 * any signal bookkeeping like checking group_stop_count. 1934 * any signal-sending on another CPU that wants to examine it. 2000 struct signal_struct *sig = current->signal; 2017 * still in effect and then receive a stop signal and 2028 * an intervening stop signal is required to cause two 2105 * the stop signal; otherwise, %SIGTRAP. 2107 * When !PT_SEIZED, it's used only for group stop trap with stop signal 2116 struct signal_struct *signal = current->signal; do_jobctl_trap() local 2120 if (!signal->group_stop_count && do_jobctl_trap() 2121 !(signal->flags & SIGNAL_STOP_STOPPED)) do_jobctl_trap() 2156 * Update the siginfo structure if the signal has ptrace_signal() 2172 /* If the (new) signal is now blocked, requeue it. */ ptrace_signal() 2184 struct signal_struct *signal = current->signal; get_signal() local 2207 if (unlikely(signal->flags & SIGNAL_CLD_MASK)) { get_signal() 2210 if (signal->flags & SIGNAL_CLD_CONTINUED) get_signal() 2215 signal->flags &= ~SIGNAL_CLD_MASK; get_signal() 2280 * Now we are doing the default action for this signal. get_signal() 2291 * signal here, the signal must have been generated internally get_signal() 2293 * case, the signal cannot be dropped. get_signal() 2295 if (unlikely(signal->flags & SIGNAL_UNKILLABLE) && get_signal() 2369 * @ksig: kernel signal struct 2372 * This function should be called when a signal has successfully been 2374 * is always blocked, and the signal itself is blocked unless %SA_NODEFER 2381 /* A signal was successfully delivered, and the signal_delivered() 2382 saved sigmask was stored on the signal frame, signal_delivered() 2404 * group-wide signal. Other threads should be notified now to take 2412 sigandsets(&retarget, &tsk->signal->shared_pending.signal, which); retarget_shared_pending() 2445 if (thread_group_empty(tsk) || signal_group_exit(tsk->signal)) { exit_signals() 2530 * to ensure the process can't miss a shared signal we are going to block. 2586 * @oset: previous value of signal mask if non-null 2664 sigorsets(set, ¤t->pending.signal, do_sigpending() 2665 ¤t->signal->shared_pending.signal); do_sigpending() 2674 * sys_rt_sigpending - examine a pending signal that has been raised 2800 * @info: if non-null, the signal's siginfo is returned here 2861 * @uinfo: if non-null, the signal's siginfo is returned here 2897 * sys_kill - send a signal to a process 2899 * @sig: signal to be sent 2925 * The null signal is a permissions and process existence do_send_specific() 2926 * probe. No signal is actually delivered. do_send_specific() 2932 * dies after receiving the signal. The window is tiny, do_send_specific() 2933 * and the signal is private anyway. do_send_specific() 2958 * sys_tgkill - send signal to one specific thread 2961 * @sig: signal to be sent 2977 * sys_tkill - send signal to one specific task 2979 * @sig: signal to be sent 2981 * Send a signal to only one task, even if it's a CLONE_THREAD task. 3008 * sys_rt_sigqueueinfo - send signal information to a signal 3010 * @sig: signal to be sent 3011 * @uinfo: signal info to be sent 3093 flush_sigqueue_mask(&mask, ¤t->signal->shared_pending); kernel_sigaction() 3122 * "Setting a signal action to SIG_IGN for a signal that is do_sigaction() 3123 * pending shall cause the pending signal to be discarded, do_sigaction() 3126 * "Setting a signal action to SIG_DFL for a signal that is do_sigaction() 3127 * pending and whose default action is to ignore the signal do_sigaction() 3128 * (for example, SIGCHLD), shall cause the pending signal to do_sigaction() 3134 flush_sigqueue_mask(&mask, &p->signal->shared_pending); do_sigaction() 3284 * @set: where mask of pending signal is returned 3298 * @oset: previous value of signal mask if non-null 3347 * @sig: signal to be sent 3532 SYSCALL_DEFINE2(signal, int, sig, __sighandler_t, handler) SYSCALL_DEFINE2() 3572 * sys_rt_sigsuspend - replace the signal mask for a value with the 3573 * @unewset value until a signal is received 3574 * @unewset: new signal mask value 3643 * signal internals. This function checks if the required locks are 3644 * available before calling the main signal code, to avoid kdb 3662 kdb_printf("Process is not RUNNING, sending a signal from " kdb_send_sig_info() 3665 "The signal has _not_ been sent.\n" kdb_send_sig_info()
|
H A D | fork.c | 197 /* SLAB cache for signal_struct structures (tsk->signal) */ 258 put_signal_struct(tsk->signal); __put_task_struct() 307 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2; fork_init() 308 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2; fork_init() 309 init_task.signal->rlim[RLIMIT_SIGPENDING] = fork_init() 310 init_task.signal->rlim[RLIMIT_NPROC]; fork_init() 788 err = mutex_lock_killable(&task->signal->cred_guard_mutex); mm_access() 798 mutex_unlock(&task->signal->cred_guard_mutex); mm_access() 873 * requested. We leave this alone when dying by signal, to leave mm_release() 1117 tsk->signal = sig; copy_signal() 1139 memcpy(sig->rlim, current->signal->rlim, sizeof sig->rlim); copy_signal() 1151 sig->oom_score_adj = current->signal->oom_score_adj; copy_signal() 1152 sig->oom_score_adj_min = current->signal->oom_score_adj_min; copy_signal() 1154 sig->has_child_subreaper = current->signal->has_child_subreaper || copy_signal() 1155 current->signal->is_child_subreaper; copy_signal() 1263 * Shared signal handlers imply shared VM. By way of the above, copy_process() 1277 current->signal->flags & SIGNAL_UNKILLABLE) copy_process() 1282 * do not allow it to share a thread group or signal handlers or copy_process() 1544 * fork. Restart if a signal comes in before we add the new process to copy_process() 1546 * A fatal signal pending means that current will exit, so the new copy_process() 1567 p->signal->flags |= SIGNAL_UNKILLABLE; copy_process() 1570 p->signal->leader_pid = pid; copy_process() 1571 p->signal->tty = tty_kref_get(current->signal->tty); copy_process() 1578 current->signal->nr_threads++; copy_process() 1579 atomic_inc(¤t->signal->live); copy_process() 1580 atomic_inc(¤t->signal->sigcnt); copy_process() 1584 &p->signal->thread_head); copy_process() 1619 free_signal_struct(p->signal); copy_process() 1859 * signal handlers also need to unshare the signal queues (aka check_unshare_flags() 1940 * If unsharing vm, must also unshare signal handlers. SYSCALL_DEFINE1() 1945 * If unsharing a signal handlers, must also unshare the signal queues. SYSCALL_DEFINE1()
|
/linux-4.1.27/drivers/mtd/tests/ |
H A D | mtd_test.h | 8 pr_info("aborting test due to pending signal!\n"); mtdtest_relax()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | Makefile | 7 obj-y += setup.o signal.o sys.o stacktrace.o traps.o
|
H A D | ptrace.c | 16 #include <linux/signal.h> 138 * this isn't the same as continuing with a signal, but it will do syscall_trace() 139 * for normal use. strace only continues with a signal if the syscall_trace() 140 * stopping signal is not SIGTRAP. -brl syscall_trace()
|
H A D | signal.c | 2 * linux/arch/unicore32/kernel/signal.c 13 #include <linux/signal.h> 43 * Do a signal return; undo the signal stack. These are aligned to 64-bit. 111 * Since we stacked the signal on a 64-bit boundary, __sys_rt_sigreturn() 195 * This is the X/Open sanctioned signal stack switching. get_sigframe() 206 * Check that we can actually write to the signal frame. get_sigframe() 286 * arguments for the signal handler. setup_rt_frame() 354 * the kernel can handle, and then we build all the user-level signal handling 376 * No signal to deliver to the process - restart the syscall. do_signal() 398 /* If there's no signal to deliver, we just put the saved do_signal() 417 * Copy signal return handlers into the vector page, and
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | Makefile | 20 reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
|
H A D | signal.c | 14 * This file was was derived from the sh version, arch/sh/kernel/signal.c 25 #include <linux/signal.h> 45 * Do a signal return; undo the signal stack. 50 unsigned long tramp[2]; /* signal trampoline */ 56 unsigned long tramp[2]; /* signal trampoline */ 116 * Set up a signal frame. 222 /* Set up registers for signal handler */ setup_rt_frame() 287 * the kernel can handle, and then we build all the user-level signal handling 295 pr_info("do signal: %p %d\n", regs, in_syscall); do_signal() 301 /* Whee! Actually deliver the signal. */ do_signal() 312 * If there's no signal to deliver, we just put the saved sigmask do_signal()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | signal.h | 12 #include <uapi/asm/signal.h>
|
H A D | abi.h | 12 #include <asm/signal.h>
|
H A D | compat-signal.h | 8 #include <asm/signal.h>
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | rt_sigframe.h | 9 /* XXX: Must match trampoline size in arch/parisc/kernel/signal.c
|
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
H A D | thread_info.h | 47 #define TIF_SIGPENDING 1 /* signal pending */ 52 #define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */
|
/linux-4.1.27/arch/avr32/include/uapi/asm/ |
H A D | signal.h | 71 * SA_SIGINFO deliver the signal with SIGINFO structs 74 * SA_NODEFER prevents the current signal from being masked in the handler. 75 * SA_RESETHAND clears the handler when the signal is delivered. 95 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | Makefile | 11 process.o traps.o ptrace.o signal.o dma.o \
|
H A D | signal.c | 0 /* signal.c: FRV specific bits of signal handling 5 * - Derived from arch/m68k/kernel/signal.c 17 #include <linux/signal.h> 36 * Do a signal return; undo the signal stack. 138 * Set up a signal frame 216 /* Set up registers for the signal handler */ setup_frame() 297 /* Set up registers for signal handler */ setup_rt_frame() 400 /* if there's no signal to deliver, we just put the saved sigmask do_signal() 416 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | Makefile | 17 obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o
|
/linux-4.1.27/arch/arm/mach-ep93xx/include/mach/ |
H A D | hardware.h | 13 * loops (PLLs) to multiply the incoming external clock signal to much
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | signal.h | 4 #include <uapi/asm/signal.h>
|
/linux-4.1.27/Documentation/prctl/ |
H A D | disable-tsc-ctxt-sw-stress-test.c | 14 #include <signal.h> 50 signal(SIGSEGV, sigsegv_expect); segvtask() 71 signal(SIGSEGV, sigsegv_fail); rdtsctask()
|
H A D | disable-tsc-on-off-stress-test.c | 14 #include <signal.h> 61 signal(SIGSEGV, sigsegv_cb); task()
|
H A D | disable-tsc-test.c | 10 #include <signal.h> 64 signal(SIGSEGV, sigsegv_cb); main()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-xilinx.c | 82 * xgpio_get - Read the specified signal of the GPIO device. 84 * @gpio: GPIO signal number. 86 * This function reads the specified signal of the GPIO device. 106 * xgpio_set - Write the specified signal of the GPIO device. 108 * @gpio: GPIO signal number. 109 * @val: Value to be written to specified signal. 111 * This function writes the specified value in to the specified signal of the 125 /* Write to GPIO signal and set its direction to output */ xgpio_set() 138 * xgpio_dir_in - Set the direction of the specified GPIO signal as input. 140 * @gpio: GPIO signal number. 168 * xgpio_dir_out - Set the direction of the specified GPIO signal as output. 170 * @gpio: GPIO signal number. 171 * @val: Value to be written to specified signal. 173 * This function sets the direction of specified GPIO signal as output. 190 /* Write state of GPIO signal */ xgpio_dir_out()
|
H A D | gpio-mm-lantiq.c | 57 * @gpio: GPIO signal number. 58 * @val: Value to be written to specified signal. 78 * @gpio: GPIO signal number. 79 * @val: Value to be written to specified signal.
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | signal.c | 20 #include <linux/signal.h> 42 * Do a signal return; undo the signal stack. 105 * Set up a signal frame. 126 * If we are on the alternate signal stack and would overflow get_sigframe() 133 /* This is the X/Open sanctioned signal stack switching. */ get_sigframe() 160 /* Always write at least the signal number for the stack backtracer. */ setup_rt_frame() 184 * Set up registers for signal handler. setup_rt_frame() 186 * user-space at the time we took the signal. setup_rt_frame() 266 /* Whee! Actually deliver the signal. */ do_signal() 291 /* If there's no signal to deliver, just put the saved sigmask back. */ do_signal() 372 /* If the signal is handled, don't show it here. */ trace_unhandled_signal() 384 printk("%s%s[%d]: %s at %lx pc "REGFMT" signal %d", trace_unhandled_signal() 398 pr_err("User crash: signal %d, trap %ld, address 0x%lx\n", trace_unhandled_signal() 404 pr_err("User crash: signal %d, trap %ld\n", trace_unhandled_signal()
|
H A D | Makefile | 8 setup.o signal.o single_step.o stack.o sys.o \
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | signal.h | 19 * Linux/AXP has different signal numbers that Linux/i386: I'm trying 68 * SA_RESETHAND clears the handler when the signal is delivered. 70 * SA_NODEFER prevents the current signal from being masked in the handler. 92 #define SIG_SETMASK 3 /* for setting the signal mask */ 94 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/include/drm/ttm/ |
H A D | ttm_lock.h | 66 * @signal: Signal to send when kill_takers is true. 76 int signal; member in struct:ttm_lock 106 * -ERESTARTSYS If interrupted by a signal and interruptible is true. 123 * -ERESTARTSYS If interrupted by a signal and interruptible is true. 144 * -ERESTARTSYS If interrupted by a signal and interruptible is true. 184 * -ERESTARTSYS If interrupted by a signal and interruptible is true. 218 * -ERESTARTSYS If interrupted by a signal and interruptible is true. 227 * @signal: Signal to send to the process taking the lock. 240 int signal) ttm_lock_set_kill() 244 lock->signal = signal; ttm_lock_set_kill() 239 ttm_lock_set_kill(struct ttm_lock *lock, bool val, int signal) ttm_lock_set_kill() argument
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | signal_n32.c | 23 #include <linux/signal.h> 34 #include <asm/compat-signal.h> 43 #include "signal-common.h" 63 u32 rs_pad[2]; /* Was: signal trampoline */ 129 * Arguments to signal handler: setup_rt_frame_n32() 131 * a0 = signal number setup_rt_frame_n32() 135 * $25 and c0_epc point to the signal handler, $29 points to setup_rt_frame_n32()
|
H A D | signal.c | 19 #include <linux/signal.h> 42 #include "signal-common.h" 52 u32 sf_pad[2]; /* Was: signal trampoline */ 59 u32 rs_pad[2]; /* Was: signal trampoline */ 65 * Thread saved context copy to/from a signal context presumed to be on the 199 * Save FPU state to signal context. Signal handler setup_sigcontext() 215 * If the signal handler set some FPU exceptions, clear it and fpcsr_pending() 276 /* signal handler may have used FPU. Give it up. */ restore_sigcontext() 304 * Atomically swap in the new signal mask, and wait for a signal. 445 * Arguments to signal handler: setup_frame() 447 * a0 = signal number setup_frame() 451 * $25 and c0_epc point to the signal handler, $29 points to the setup_frame() 492 * Arguments to signal handler: setup_rt_frame() 494 * a0 = signal number setup_rt_frame() 498 * $25 and c0_epc point to the signal handler, $29 points to setup_rt_frame() 577 /* Whee! Actually deliver the signal. */ do_signal() 602 * If there's no signal to deliver, we just put the saved sigmask do_signal() 619 /* deal with pending signal delivery */ do_notify_resume()
|
H A D | signal32.c | 16 #include <linux/signal.h> 27 #include <asm/compat-signal.h> 37 #include "signal-common.h" 65 u32 sf_pad[2]; /* Was: signal trampoline */ 72 u32 rs_pad[2]; /* Was: signal trampoline */ 78 * Thread saved context copy to/from a signal context presumed to be on the 194 * Save FPU state to signal context. Signal handler setup_sigcontext32() 249 /* signal handler may have used FPU. Give it up. */ restore_sigcontext32() 308 * Atomically swap in the new signal mask, and wait for a signal. 508 * Arguments to signal handler: setup_frame_32() 510 * a0 = signal number setup_frame_32() 514 * $25 and c0_epc point to the signal handler, $29 points to the setup_frame_32() 555 * Arguments to signal handler: setup_rt_frame_32() 557 * a0 = signal number setup_rt_frame_32() 561 * $25 and c0_epc point to the signal handler, $29 points to setup_rt_frame_32()
|
/linux-4.1.27/include/linux/amba/ |
H A D | pl08x.h | 39 * @min_signal: the minimum DMA signal number to be muxed in for this 41 * static assignments, make sure this is set to the assigned signal 45 * @max_signal: the maximum DMA signal number to be muxed in for 49 * mux in the signal to this channel 79 * @get_xfer_signal: request a physical signal to be used for a DMA transfer 82 * else it returns the allocated signal number 83 * @put_xfer_signal: indicate to the platform that this physical signal is not
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | signal.c | 16 #include <linux/signal.h> 35 * do a signal return; undo the signal stack. 92 * standard signal return syscall 124 * realtime signal return syscall 154 * store the userspace context into a signal frame 199 * set up a normal signal frame 245 /* set up registers for signal handler */ setup_frame() 261 * set up a realtime signal frame 311 /* Set up registers for signal handler */ setup_rt_frame() 333 * handle the actual delivery of a signal to userspace 373 * handle a potential signal 402 /* if there's no signal to deliver, we just put the saved sigmask do_signal() 423 /* deal with pending signal delivery */ do_notify_resume()
|
H A D | Makefile | 9 obj-y := process.o signal.o entry.o traps.o irq.o \
|
/linux-4.1.27/drivers/staging/unisys/uislib/ |
H A D | uisqueue.c | 37 * Tries to insert the prebuilt signal pointed to by pSignal into the nth 43 * pSignal: (IN) pointer to the signal 78 /* copy signal to the head location from the area pointed to spar_signal_insert() 95 * Removes one signal from Channel pChannel's nth Queue at the 133 /* copy signal from tail location to the area pointed to by pSignal */ spar_signal_remove() 187 /* copy signal from tail location to the area pointed spar_signal_remove_all() 208 * Determine whether a signal queue is empty. 215 * 1 if the signal queue is empty, 0 otherwise. 266 void *signal, do_locked_client_insert() 276 if (spar_signal_insert(queueinfo->chan, whichqueue, signal)) { do_locked_client_insert() 264 do_locked_client_insert(struct uisqueue_info *queueinfo, unsigned int whichqueue, void *signal, spinlock_t *lock, u8 *channel_id) do_locked_client_insert() argument
|
/linux-4.1.27/arch/metag/tbx/ |
H A D | tbidefr.S | 62 * Replace the signal number and at the same time, prepare 66 * D1Ar3 -- The signal number 73 MOVLE D1Ar3, D1RtP /* Collapse FPE triggers to a single signal */ 77 /* Get the handler using the signal number 79 * D1Ar3 -- The signal number 125 * Replace the signal number and at the same time, prepare 137 * D1Ar3 -- The signal number 143 MOVLE D1Ar3, D0Re0 /* Collapse FPE triggers to a single signal */ 159 /* Get the handler using the signal number 161 * D1Ar3 -- The signal number
|
/linux-4.1.27/drivers/staging/vt6656/ |
H A D | baseband.c | 217 phy->signal = 0x00; vnt_get_phy_field() 224 phy->signal = 0x09; vnt_get_phy_field() 226 phy->signal = 0x01; vnt_get_phy_field() 237 phy->signal = 0x0a; vnt_get_phy_field() 239 phy->signal = 0x02; vnt_get_phy_field() 254 phy->signal = 0x0b; vnt_get_phy_field() 256 phy->signal = 0x03; vnt_get_phy_field() 261 phy->signal = 0x9b; vnt_get_phy_field() 263 phy->signal = 0x8b; vnt_get_phy_field() 268 phy->signal = 0x9f; vnt_get_phy_field() 270 phy->signal = 0x8f; vnt_get_phy_field() 275 phy->signal = 0x9a; vnt_get_phy_field() 277 phy->signal = 0x8a; vnt_get_phy_field() 282 phy->signal = 0x9e; vnt_get_phy_field() 284 phy->signal = 0x8e; vnt_get_phy_field() 289 phy->signal = 0x99; vnt_get_phy_field() 291 phy->signal = 0x89; vnt_get_phy_field() 296 phy->signal = 0x9d; vnt_get_phy_field() 298 phy->signal = 0x8d; vnt_get_phy_field() 303 phy->signal = 0x98; vnt_get_phy_field() 305 phy->signal = 0x88; vnt_get_phy_field() 310 phy->signal = 0x9c; vnt_get_phy_field() 312 phy->signal = 0x8c; vnt_get_phy_field() 316 phy->signal = 0x9c; vnt_get_phy_field() 318 phy->signal = 0x8c; vnt_get_phy_field()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
H A D | scan.c | 83 s32 signal; orinoco_add_hostscan_result() local 124 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); orinoco_add_hostscan_result() 128 beacon_interval, ie_buf, ie_len, signal, orinoco_add_hostscan_result() 142 s32 signal; orinoco_add_extscan_result() local 158 signal = SIGNAL_TO_MBM(bss->level); orinoco_add_extscan_result() 162 beacon_interval, ie, ie_len, signal, orinoco_add_extscan_result()
|
/linux-4.1.27/drivers/hv/ |
H A D | channel.c | 594 bool signal = false; vmbus_sendpacket_ctl() local 612 ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3, &signal); vmbus_sendpacket_ctl() 617 * This is tracked by the variable "signal". vmbus_sendpacket_ctl() 619 * on the ring. We will not signal if more data is vmbus_sendpacket_ctl() 622 * If we cannot write to the ring-buffer; signal the host vmbus_sendpacket_ctl() 626 if (((ret == 0) && kick_q && signal) || (ret)) vmbus_sendpacket_ctl() 678 bool signal = false; vmbus_sendpacket_pagebuffer_ctl() local 715 ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3, &signal); vmbus_sendpacket_pagebuffer_ctl() 720 * This is tracked by the variable "signal". vmbus_sendpacket_pagebuffer_ctl() 722 * on the ring. We will not signal if more data is vmbus_sendpacket_pagebuffer_ctl() 725 * If we cannot write to the ring-buffer; signal the host vmbus_sendpacket_pagebuffer_ctl() 729 if (((ret == 0) && kick_q && signal) || (ret)) vmbus_sendpacket_pagebuffer_ctl() 768 bool signal = false; vmbus_sendpacket_mpb_desc() local 788 ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3, &signal); vmbus_sendpacket_mpb_desc() 790 if (ret == 0 && signal) vmbus_sendpacket_mpb_desc() 812 bool signal = false; vmbus_sendpacket_multipagebuffer() local 851 ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3, &signal); vmbus_sendpacket_multipagebuffer() 853 if (ret == 0 && signal) vmbus_sendpacket_multipagebuffer() 880 bool signal = false; vmbus_recvpacket() local 907 (desc.offset8 << 3), &signal); vmbus_recvpacket() 909 if (signal) vmbus_recvpacket() 926 bool signal = false; vmbus_recvpacket_raw() local 949 &signal); vmbus_recvpacket_raw() 951 if (signal) vmbus_recvpacket_raw()
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | signal.h | 40 #define SIGUSR1 16 /* User-defined signal 1 (POSIX). */ 41 #define SIGUSR2 17 /* User-defined signal 2 (POSIX). */ 69 * SA_RESETHAND clears the handler when the signal is delivered. 71 * SA_NODEFER prevents the current signal from being masked in the handler. 99 #define SIG_SETMASK 3 /* for setting the signal mask */ 101 #include <asm-generic/signal-defs.h>
|
H A D | termios.h | 34 char t_suspc; /* stop process signal */ 35 char t_dsuspc; /* delayed stop process signal */
|
/linux-4.1.27/tools/perf/tests/ |
H A D | bp_signal.c | 20 #include <signal.h> 119 /* setup SIGIO signal handler */ test__bp_signal() 125 pr_debug("failed setting up signal handler\n"); test__bp_signal() 133 * signal configured. We should get signal test__bp_signal() 146 * - we get stuck in signal handler because of debug test__bp_signal()
|
H A D | bp_signal_overflow.c | 19 #include <signal.h> 68 /* setup SIGIO signal handler */ test__bp_signal_overflow() 74 pr_debug("failed setting up signal handler\n"); test__bp_signal_overflow()
|
/linux-4.1.27/arch/x86/include/uapi/asm/ |
H A D | signal.h | 70 * SA_RESETHAND clears the handler when the signal is delivered. 72 * SA_NODEFER prevents the current signal from being masked in the handler. 93 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/um/kernel/ |
H A D | signal.c | 10 #include <asm/signal.h> 74 /* Whee! Actually deliver the signal. */ kern_do_signal() 108 * if there's no signal to deliver, we just put the saved sigmask kern_do_signal()
|
H A D | Makefile | 15 signal.o syscall.o sysrq.o time.o tlb.o trap.o \
|
/linux-4.1.27/include/linux/netfilter/ |
H A D | nf_conntrack_h323_asn1.h | 12 * necessary objects in a signal for Linux kernel NAT module use, so don't 18 * 2. Fast. Decoding Netmeeting's Setup signal 1 million times on a PIII 866 29 * If a Setup signal contains more than 30 faststart, the packet size will
|
/linux-4.1.27/arch/m32r/include/uapi/asm/ |
H A D | signal.h | 67 * SA_RESETHAND clears the handler when the signal is delivered. 69 * SA_NODEFER prevents the current signal from being masked in the handler. 90 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | signal.h | 65 * SA_RESETHAND clears the handler when the signal is delivered. 67 * SA_NODEFER prevents the current signal from being masked in the handler. 86 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/tools/testing/selftests/timers/ |
H A D | leapcrash.c | 24 #include <signal.h> 80 signal(SIGINT, handler); main() 81 signal(SIGKILL, handler); main()
|
H A D | posix_timers.c | 13 #include <signal.h> 100 signal(SIGVTALRM, sig_handler); check_itimer() 102 signal(SIGPROF, sig_handler); check_itimer() 104 signal(SIGALRM, sig_handler); check_itimer() 162 signal(SIGALRM, sig_handler); check_timer_create()
|
/linux-4.1.27/include/drm/ |
H A D | exynos_drm.h | 79 * @inv_vsync: if set 1. invert vsync signal for wb 80 * @inv_href: if set 1. invert href signal 81 * @inv_hsync: if set 1. invert hsync signal for wb
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | ad7780.h | 20 * power down reset signal of the AD7780.
|
/linux-4.1.27/drivers/staging/xgifb/ |
H A D | vb_struct.h | 109 unsigned char PSC_S1; /* Duration between CPL on and signal on */ 110 unsigned char PSC_S2; /* Duration signal on and Vdd on */ 111 unsigned char PSC_S3; /* Duration between CPL off and signal off */ 112 unsigned char PSC_S4; /* Duration signal off and Vdd off */
|
/linux-4.1.27/arch/x86/um/ |
H A D | Makefile | 12 ptrace_$(BITS).o ptrace_user.o setjmp_$(BITS).o signal.o \
|
/linux-4.1.27/arch/xtensa/include/uapi/asm/ |
H A D | signal.h | 2 * include/asm-xtensa/signal.h 80 * SA_RESETHAND clears the handler when the signal is delivered. 82 * SA_NODEFER prevents the current signal from being masked in the handler. 105 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/xtensa/kernel/ |
H A D | signal.c | 2 * arch/xtensa/kernel/signal.c 18 #include <linux/signal.h> 128 * first before we return to signal handler! This dbl.exc.handler might cause 130 * same as if we had returned to the signal handerl and got an interrupt 198 * Assume that all other bits are either the same as for the signal restore_sigcontext() 215 /* The signal handler may have used coprocessors in which restore_sigcontext() 220 * signal handler created. */ restore_sigcontext() 237 * Do a signal return; undo the signal stack. 281 * Set up a signal frame. 383 * Create signal handler execution context. setup_frame() 387 /* Set up registers for signal handler; preserve the threadptr */ setup_frame() 402 printk("SIG rt deliver (%s:%d): signal=%d sp=%p pc=%08x\n", setup_frame() 415 * the kernel can handle, and then we build all the user-level signal handling 457 /* Whee! Actually deliver the signal. */ do_signal() 484 /* If there's no signal to deliver, we just restore the saved mask. */ do_signal()
|
H A D | Makefile | 8 ptrace.o setup.o signal.o stacktrace.o syscall.o time.o traps.o \
|
/linux-4.1.27/arch/unicore32/include/uapi/asm/ |
H A D | sigcontext.h | 18 * before the signal handler was invoked. Note: only add new entries
|
/linux-4.1.27/include/sound/ |
H A D | wm0010.h | 21 * the reset signal and the device.
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | unwinder.h | 26 * Used by fault handling code to signal to the unwinder code that it
|
H A D | sh7760fb.h | 86 /* AC modulation signal enable */ 143 /* LDMTR includes display type and signal polarity. The 147 * Display Enable signal (default high-active) DISPEN_LOWACT 149 * AC Modulation signal (default off) MCNT 170 * signal is to toggle. Set to ZERO for TFTs or displays which
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | signal.h | 14 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | signal.h | 20 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/nios2/include/uapi/asm/ |
H A D | signal.h | 21 #include <asm-generic/signal.h>
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | Makefile | 10 signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
|
/linux-4.1.27/arch/arm64/include/uapi/asm/ |
H A D | signal.h | 22 #include <asm-generic/signal.h>
|
/linux-4.1.27/Documentation/filesystems/ |
H A D | dnotify_test.c | 4 #include <signal.h>
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | signal.c | 102 * App's signal handler can save/restore other segments if needed. */ restore_sigcontext() 179 * Set up a signal frame. 214 /* This is the X/Open sanctioned signal stack switching. */ get_sigframe() 222 /* This is the legacy signal stack switching. */ get_sigframe() 236 * If we are on the alternate signal stack and would overflow it, don't. get_sigframe() 315 * signal handler stack frames. __setup_frame() 322 /* Set up registers for signal handler */ __setup_frame() 375 * signal handler stack frames. __setup_rt_frame() 388 /* Set up registers for signal handler */ __setup_rt_frame() 446 /* Set up registers for signal handler */ __setup_rt_frame() 448 /* In case the signal handler was declared without prototypes */ __setup_rt_frame() 452 next argument after the signal number on the stack. */ __setup_rt_frame() 459 /* Set up the CS register to run signal handlers in 64-bit mode, __setup_rt_frame() 514 /* Set up registers for signal handler */ x32_setup_rt_frame() 534 * Do a signal return; undo the signal stack. 642 * then notify the tracer before entering the signal handler. handle_signal() 653 * Clear RF when entering the signal handler, because handle_signal() 655 * signal handler. handle_signal() 662 * Ensure the signal handler starts with the new fpu state. handle_signal() 690 /* Whee! Actually deliver the signal. */ do_signal() 714 * If there's no signal to deliver, we just put the saved sigmask do_signal() 732 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/drivers/staging/sm750fb/ |
H A D | ddk750_swi2c.c | 119 * resistor will pull the signal up. Do not use software to pull up the 120 * signal because the i2c will fail when other device try to drive the 121 * signal due to SM50x will drive the signal to always high. 131 /* Set direction as input. This will automatically pull the signal up. */ swI2CSCL() 137 /* Set the signal down */ swI2CSCL() 156 * resistor will pull the signal up. Do not use software to pull up the 157 * signal because the i2c will fail when other device try to drive the 158 * signal due to SM50x will drive the signal to always high. 168 /* Set direction as input. This will automatically pull the signal up. */ swI2CSDA() 174 /* Set the signal down */ swI2CSDA() 213 * This function sends ACK signal 464 /* Send the Start signal */ swI2CReadReg() 505 /* Send the Start signal */ swI2CWriteReg()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_intr.c | 37 mfc_err("Interrupted by a signal\n"); s5p_mfc_wait_for_done_dev() 75 mfc_err("Interrupted by a signal\n"); s5p_mfc_wait_for_done_ctx()
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | dtt200u.h | 26 * 88 - locking 2 bytes (0x80 0x40 == no signal, 0x89 0x20 == nice signal)
|
/linux-4.1.27/drivers/scsi/pcmcia/ |
H A D | nsp_message.c | 45 /* catch a next signal */ nsp_message_in() 72 /* catch a next signal */ nsp_message_out()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | signal.c | 13 #include <linux/signal.h> 120 * catch buffer will be restored when we go to call the signal setup_sigcontext() 188 /* Set up registers for signal handler */ setup_rt_frame() 234 * signal was taken (which may happen to be just before a syscall if do_signal() 264 * Get the signal to deliver. When running under ptrace, at this point do_signal() 270 * Depending on the signal settings we may need to revert the decision do_signal() 287 /* Whee! Actually deliver the signal. */ do_signal() 297 * If there's no signal to deliver, we just put the saved sigmask back. do_signal()
|
/linux-4.1.27/arch/cris/kernel/ |
H A D | irq.c | 18 * IRQs are in fact implemented a bit like signal handlers for the kernel. 27 #include <linux/signal.h>
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | thread_info.h | 67 #define TIF_SIGPENDING 6 /* signal pending */ 72 #define TIF_RESTORE_SIGMASK 18 /* restore signal mask in do_signal */
|
/linux-4.1.27/Documentation/watchdog/src/ |
H A D | watchdog-test.c | 10 #include <signal.h> 77 signal(SIGINT, term); main()
|
/linux-4.1.27/kernel/time/ |
H A D | itimer.c | 49 struct cpu_itimer *it = &tsk->signal->it[clock_id]; get_cpu_itimer() 86 value->it_value = itimer_get_remtime(&tsk->signal->real_timer); do_getitimer() 88 ktime_to_timeval(tsk->signal->it_real_incr); do_getitimer() 150 struct cpu_itimer *it = &tsk->signal->it[clock_id]; set_cpu_itimer() 207 timer = &tsk->signal->real_timer; do_setitimer() 211 = ktime_to_timeval(tsk->signal->it_real_incr); do_setitimer() 220 tsk->signal->it_real_incr = do_setitimer() 224 tsk->signal->it_real_incr.tv64 = 0; do_setitimer()
|
H A D | ntp.c | 82 * The following variables are used when a pulse-per-second (PPS) signal 84 * discipline loop when controlled by the PPS signal. 86 #define PPS_VALID 10 /* PPS signal watchdog max (s) */ 95 static int pps_valid; /* signal watchdog counter */ 105 * PPS signal quality monitors 146 * the last PPS signal. When it reaches 0, indicate that PPS signal is 168 /* PPS signal lost when either PPS time or is_error_status() 435 /* Check PPS signal */ second_overflow() 792 /* update clock frequency based on MONOTONIC_RAW clock PPS signal 856 /* correct REALTIME clock phase error against PPS signal */ hardpps_update_phase() 866 /* Nominal jitter is due to PPS signal noise. If it exceeds the hardpps_update_phase() 888 * __hardpps() - discipline CPU clock oscillator to external PPS signal 890 * This routine is called at each PPS signal arrival in order to 891 * discipline the CPU clock oscillator to the PPS signal. It takes two 908 /* indicate signal presence */ __hardpps() 922 /* check that the signal is in the range __hardpps() 934 /* signal is ok */ __hardpps()
|
/linux-4.1.27/samples/bpf/ |
H A D | tracex2_user.c | 4 #include <signal.h> 66 signal(SIGINT, int_exit); main()
|
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | fork_cleanup_test.c | 6 #include <signal.h> 14 #include <signal.h>
|
H A D | multi_ebb_procs_test.c | 9 #include <signal.h> 21 static void sigint_handler(int signal) sigint_handler() argument
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | signal_32.c | 2 * linux/arch/sh/kernel/signal.c 15 #include <linux/signal.h> 40 * The following define adds a 64 byte gap between the signal 50 * Do a signal return; undo the signal stack. 213 * Set up a signal frame. 307 /* Set up registers for signal handler */ setup_frame() 309 regs->regs[4] = sig; /* Arg for signal handler */ setup_frame() 377 /* Set up registers for signal handler */ setup_rt_frame() 379 regs->regs[4] = sig; /* Arg for signal handler */ setup_rt_frame() 452 * the kernel can handle, and then we build all the user-level signal handling 471 /* Whee! Actually deliver the signal. */ do_signal() 491 * If there's no signal to deliver, we just put the saved sigmask do_signal() 500 /* deal with pending signal delivery */ do_notify_resume()
|
/linux-4.1.27/tools/perf/ui/gtk/ |
H A D | annotate.c | 182 signal(SIGSEGV, perf_gtk__signal); symbol__gtk_annotate() 183 signal(SIGFPE, perf_gtk__signal); symbol__gtk_annotate() 184 signal(SIGINT, perf_gtk__signal); symbol__gtk_annotate() 185 signal(SIGQUIT, perf_gtk__signal); symbol__gtk_annotate() 186 signal(SIGTERM, perf_gtk__signal); symbol__gtk_annotate()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | signal.c | 2 * Based on arch/arm/kernel/signal.c 22 #include <linux/signal.h> 39 * Do a signal return; undo the signal stack. These are aligned to 128-bit. 137 * Since we stacked the signal on a 128-bit boundary, then 'sp' should sys_rt_sigreturn() 224 * Check that we can actually write to the signal frame. get_sigframe() 313 * Fast forward the stepping logic so we step into the signal handle_signal() 328 * the kernel can handle, and then we build all the user-level signal handling 367 * Get the signal to deliver. When running under ptrace, at this point do_signal() 372 * Depending on the signal settings, we may need to revert the do_signal()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | lgs8gxx.c | 49 MODULE_PARM_DESC(fake_signal_str, "fake signal strength for LGS8913." 777 static int lgs8gxx_read_signal_agc(struct lgs8gxx_state *priv, u16 *signal) lgs8gxx_read_signal_agc() argument 807 *signal = cat * 65535 / 5; lgs8gxx_read_signal_agc() 812 static int lgs8913_read_signal_strength(struct lgs8gxx_state *priv, u16 *signal) lgs8913_read_signal_strength() argument 827 dprintk("Fake signal strength\n"); lgs8913_read_signal_strength() 828 *signal = 0x7FFF; lgs8913_read_signal_strength() 830 *signal = 0; lgs8913_read_signal_strength() 846 *signal = max_strength; lgs8913_read_signal_strength() 847 dprintk("%s: signal=0x%02X\n", __func__, *signal); lgs8913_read_signal_strength() 855 static int lgs8g75_read_signal_strength(struct lgs8gxx_state *priv, u16 *signal) lgs8g75_read_signal_strength() argument 868 *signal = v; lgs8g75_read_signal_strength() 869 dprintk("%s: signal=0x%02X\n", __func__, *signal); lgs8g75_read_signal_strength() 874 static int lgs8gxx_read_signal_strength(struct dvb_frontend *fe, u16 *signal) lgs8gxx_read_signal_strength() argument 879 return lgs8913_read_signal_strength(priv, signal); lgs8gxx_read_signal_strength() 881 return lgs8g75_read_signal_strength(priv, signal); lgs8gxx_read_signal_strength() 883 return lgs8gxx_read_signal_agc(priv, signal); lgs8gxx_read_signal_strength()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | mux.h | 128 * @muxnames: available signal modes for a ball 169 * @name: signal name 189 #define OMAP_MUX_STATIC(signal, mode) \ 191 .name = (signal), \ 198 * omap_mux_init_gpio - initialize a signal based on the GPIO number 205 * omap_mux_init_signal - initialize a signal based on the signal name 213 * @bpads: Board specific device signal names 214 * @nr_pads: Number of signal names for the device
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | crw.c | 64 int ccode, signal; crw_collect_info() local 68 signal = wait_event_interruptible(crw_handler_wait_q, crw_collect_info() 70 if (unlikely(signal)) crw_collect_info()
|
/linux-4.1.27/arch/mn10300/include/uapi/asm/ |
H A D | signal.h | 75 * SA_RESETHAND clears the handler when the signal is delivered. 77 * SA_NODEFER prevents the current signal from being masked in the handler. 98 #include <asm-generic/signal-defs.h>
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | signal.c | 2 * linux/arch/arm/kernel/signal.c 12 #include <linux/signal.h> 130 * Do a signal return; undo the signal stack. These are aligned to 64-bit. 197 * Since we stacked the signal on a 64-bit boundary, sys_sigreturn() 227 * Since we stacked the signal on a 64-bit boundary, sys_rt_sigreturn() 313 * Check that we can actually write to the signal frame. get_sigframe() 333 * Maybe we need to deliver a 32-bit signal to a 26-bit task. setup_return() 342 * be using THUMB or ARM mode for this signal handler. setup_return() 350 * S4/Krait misbehaves on a Thumb=>ARM signal transition setup_return() 389 * 32-bit code can use the signal return page setup_return() 461 * arguments for the signal handler. setup_rt_frame() 501 * the kernel can handle, and then we build all the user-level signal handling 536 * Get the signal to deliver. When running under ptrace, at this do_signal() 540 * Depending on the signal settings we may need to revert the do_signal() 615 /* Give the signal return code some randomness */ get_signal_page() 620 * Copy signal return handlers into the vector page, and get_signal_page()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | signal.h | 17 #include <uapi/asm/signal.h>
|
/linux-4.1.27/arch/um/drivers/ |
H A D | ubd_user.c | 11 #include <signal.h>
|
/linux-4.1.27/arch/um/kernel/skas/ |
H A D | clone.c | 6 #include <signal.h>
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | ptrace.h | 32 * (used to maintain security in signal handlers)
|
/linux-4.1.27/arch/metag/include/uapi/asm/ |
H A D | sigcontext.h | 8 * user process so that it does not get trashed when we call the signal
|