/linux-4.4.14/drivers/tty/ |
D | sysrq.c | 733 struct sysrq_state *sysrq = in sysrq_reinject_alt_sysrq() local 735 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq() 736 unsigned int alt_code = sysrq->alt_use; in sysrq_reinject_alt_sysrq() 738 if (sysrq->need_reinject) { in sysrq_reinject_alt_sysrq() 740 sysrq->reinjecting = true; in sysrq_reinject_alt_sysrq() 753 sysrq->reinjecting = false; in sysrq_reinject_alt_sysrq() 757 static bool sysrq_handle_keypress(struct sysrq_state *sysrq, in sysrq_handle_keypress() argument 760 bool was_active = sysrq->active; in sysrq_handle_keypress() 769 if (sysrq->active && code == sysrq->alt_use) in sysrq_handle_keypress() 770 sysrq->active = false; in sysrq_handle_keypress() [all …]
|
D | Makefile | 6 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/linux-4.4.14/Documentation/devicetree/bindings/input/ |
D | input-reset.txt | 1 Input: sysrq reset sequence 5 sysrq driver. Upon holding the keys for a specified amount of time (if 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 15 sysrq-reset-seq: array of Linux keycodes, one keycode per cell. 19 generating a sysrq. If omitted the system is rebooted immediately when a valid 25 linux,sysrq-reset-seq {
|
/linux-4.4.14/Documentation/ |
D | sysrq.txt | 2 Documentation for sysrq.c 13 /proc/sys/kernel/sysrq controls the functions allowed to be invoked via 16 to 1. Here is the list of possible values in /proc/sys/kernel/sysrq: 17 0 - disable sysrq completely 18 1 - enable all functions of sysrq 19 >1 - bitmask of allowed sysrq functions (see below for detailed function 31 echo "number" >/proc/sys/kernel/sysrq 37 Note that the value of /proc/sys/kernel/sysrq influences only the invocation 38 via a keyboard. Invocation of any operation via /proc/sysrq-trigger is always 62 On all - write a character to /proc/sysrq-trigger. e.g.: [all …]
|
D | SAK.txt | 13 sysrq support. 16 `loadkeys'. This will work whether or not sysrq support is compiled
|
D | 00-INDEX | 434 sysrq.txt
|
D | kernel-parameters.txt | 1719 not using this parameter you use sysrq-g to break into 3664 Ignore sysrq setting - this boot parameter will 3665 neutralize any effect of /proc/sys/kernel/sysrq.
|
/linux-4.4.14/include/linux/ |
D | serial_core.h | 161 unsigned long sysrq; /* sysrq timeout */ member 433 if (port->sysrq) { in uart_handle_sysrq_char() 434 if (ch && time_before(jiffies, port->sysrq)) { in uart_handle_sysrq_char() 436 port->sysrq = 0; in uart_handle_sysrq_char() 439 port->sysrq = 0; in uart_handle_sysrq_char() 459 if (!port->sysrq) { in uart_handle_break() 460 port->sysrq = jiffies + HZ*5; in uart_handle_break() 463 port->sysrq = 0; in uart_handle_break()
|
/linux-4.4.14/tools/testing/selftests/pstore/ |
D | pstore_crash_test | 16 echo 1 > /proc/sys/kernel/sysrq 30 echo c > /proc/sysrq-trigger
|
/linux-4.4.14/drivers/s390/char/ |
D | ctrlchar.c | 22 struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work); in ctrlchar_handle_sysrq() local 24 handle_sysrq(sysrq->key); in ctrlchar_handle_sysrq()
|
D | keyboard.c | 304 if (kbd->sysrq) { in kbd_keycode() 305 if (kbd->sysrq == K(KT_LATIN, '-')) { in kbd_keycode() 306 kbd->sysrq = 0; in kbd_keycode() 311 kbd->sysrq = K(KT_LATIN, '-'); in kbd_keycode() 315 (*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq)); in kbd_keycode() 316 kbd->sysrq = 0; in kbd_keycode() 319 kbd->sysrq = K(type, value); in kbd_keycode()
|
D | keyboard.h | 30 unsigned short sysrq; member
|
D | sclp_vt220.c | 485 static struct sysrq_work sysrq; variable 507 sysrq.key = buffer[i]; in sclp_vt220_handle_input() 508 schedule_sysrq_work(&sysrq); in sclp_vt220_handle_input()
|
/linux-4.4.14/drivers/usb/serial/ |
D | generic.c | 336 if (!port->port.console || !port->sysrq) { in usb_serial_generic_process_read_urb() 543 if (port->sysrq && port->port.console) { in usb_serial_handle_sysrq_char() 544 if (ch && time_before(jiffies, port->sysrq)) { in usb_serial_handle_sysrq_char() 546 port->sysrq = 0; in usb_serial_handle_sysrq_char() 549 port->sysrq = 0; in usb_serial_handle_sysrq_char() 563 if (!port->sysrq) { in usb_serial_handle_break() 564 port->sysrq = jiffies + HZ*5; in usb_serial_handle_break() 567 port->sysrq = 0; in usb_serial_handle_break()
|
D | ssu100.c | 526 if (port->port.console && port->sysrq) { in ssu100_process_read_urb()
|
D | f81232.c | 327 if (port->port.console && port->sysrq) { in f81232_process_read_urb()
|
D | pl2303.c | 917 if (port->port.console && port->sysrq) { in pl2303_process_read_urb()
|
D | mxuport.c | 334 if (!port->port.console || !port->sysrq) { in mxuport_process_read_urb_data()
|
D | ftdi_sio.c | 2103 if (port->port.console && port->sysrq) { in ftdi_process_packet()
|
/linux-4.4.14/arch/nios2/ |
D | Kconfig.debug | 13 task has ever had available in the sysrq-T and sysrq-P debug output.
|
/linux-4.4.14/drivers/tty/serial/ |
D | sunhv.c | 151 if (port->sysrq != 0 && *con_read_page) { in receive_chars_read() 434 if (port->sysrq || oops_in_progress) in sunhv_console_write_paged() 489 if (port->sysrq || oops_in_progress) in sunhv_console_write_bychar() 493 if (port->sysrq) { in sunhv_console_write_bychar()
|
D | msm_serial.c | 377 int count = 0, i, sysrq; in msm_complete_rx_dma() local 424 sysrq = uart_handle_sysrq_char(port, dma->virt[i]); in msm_complete_rx_dma() 426 if (!sysrq) in msm_complete_rx_dma() 553 int sysrq, r_count, i; in msm_handle_rx_dm() local 579 sysrq = uart_handle_sysrq_char(port, buf[i]); in msm_handle_rx_dm() 581 if (!sysrq) in msm_handle_rx_dm() 619 int sysrq; in msm_handle_rx() local 642 sysrq = uart_handle_sysrq_char(port, c); in msm_handle_rx() 644 if (!sysrq) in msm_handle_rx()
|
D | meson_uart.c | 457 if (port->sysrq) { in meson_serial_console_write()
|
D | ar933x_uart.c | 550 if (up->port.sysrq) in ar933x_uart_console_write()
|
D | lpc32xx_hs.c | 148 if (up->port.sysrq) in lpc32xx_hsuart_console_write()
|
D | sprd_serial.c | 546 if (port->sysrq) in sprd_console_write()
|
D | stm32-usart.c | 625 if (port->sysrq) in stm32_console_write()
|
D | pnx8xxx_uart.c | 228 sport->port.sysrq = 0; in pnx8xxx_rx_chars()
|
D | bcm63xx_uart.c | 707 if (port->sysrq) { in bcm_console_write()
|
D | st-asc.c | 807 if (port->sysrq) in asc_console_write()
|
D | pmac_zilog.c | 267 uap->port.sysrq = jiffies + HZ*5; in pmz_receive_chars() 271 if (uap->port.sysrq) { in pmz_receive_chars()
|
D | pxa.c | 655 if (up->port.sysrq) in serial_pxa_console_write()
|
D | sa1100.c | 226 sport->port.sysrq = 0; in sa1100_rx_chars()
|
D | pch_uart.c | 607 if (port->sysrq) { in pch_uart_hal_read() 1661 if (priv->port.sysrq) { in pch_console_write()
|
D | fsl_lpuart.c | 688 sport->port.sysrq = 0; in lpuart_rxint() 752 sport->port.sysrq = 0; in lpuart32_rxint()
|
D | imx.c | 699 sport->port.sysrq = 0; in imx_rxint() 1642 if (sport->port.sysrq) in imx_console_write()
|
D | xilinx_uartps.c | 242 if (port->sysrq) { in cdns_uart_isr()
|
D | sunsab.c | 867 if (up->port.sysrq || oops_in_progress) in sunsab_console_write()
|
D | ucc_uart.c | 557 port->sysrq = 0; in qe_uart_int_rx()
|
D | sunsu.c | 1311 if (up->port.sysrq || oops_in_progress) in sunsu_console_write()
|
D | sunzilog.c | 1208 if (up->port.sysrq || oops_in_progress) in sunzilog_console_write()
|
D | mpc52xx_uart.c | 1390 port->sysrq = 0; in mpc52xx_uart_int_rx_chars()
|
D | omap-serial.c | 1261 if (up->port.sysrq) in serial_omap_console_write()
|
D | amba-pl011.c | 2071 if (uap->port.sysrq) in pl011_console_write()
|
D | sh-sci.c | 2408 if (port->sysrq) in serial_console_write()
|
/linux-4.4.14/arch/um/kernel/ |
D | Makefile | 15 signal.o syscall.o sysrq.o time.o tlb.o trap.o \
|
/linux-4.4.14/Documentation/video4linux/bttv/ |
D | README.freeze | 30 for each process using sysrq-t (see Documentation/sysrq.txt).
|
/linux-4.4.14/arch/um/ |
D | Kconfig.um | 78 On UML, this is accomplished by sending a "sysrq" command with 81 The keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvsi.c | 93 uint8_t sysrq; member 342 hp->sysrq = 1; in hvsi_insert_chars() 344 } else if (hp->sysrq) { in hvsi_insert_chars() 346 hp->sysrq = 0; in hvsi_insert_chars()
|
/linux-4.4.14/arch/mips/kernel/ |
D | Makefile | 79 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/linux-4.4.14/include/linux/usb/ |
D | serial.h | 119 unsigned long sysrq; /* sysrq timeout */ member
|
/linux-4.4.14/Documentation/x86/ |
D | exception-tables.txt | 58 the get_user call in drivers/char/sysrq.c for a detailed examination. 60 The original code in sysrq.c line 587:
|
D | earlyprintk.txt | 122 echo h > /proc/sysrq-trigger
|
/linux-4.4.14/Documentation/kdump/ |
D | kdump.txt | 424 die(), die_nmi() and in the sysrq handler (ALT-SysRq-c). 439 "echo c > /proc/sysrq-trigger" or write a module to force the panic.
|
/linux-4.4.14/lib/ |
D | Kconfig.debug | 373 keys are documented in <file:Documentation/sysrq.txt>. Don't say Y 383 to a bitmask as described in Documentation/sysrq.txt. 552 task has ever had available in the sysrq-T and sysrq-P debug output.
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 365 port->sysrq = 0; in cpm_uart_int_rx()
|
/linux-4.4.14/Documentation/sysctl/ |
D | kernel.txt | 83 - sysrq ==> Documentation/sysrq.txt
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | mn10300-serial.c | 1588 if (port->uart.sysrq) { in mn10300_serial_console_write()
|
/linux-4.4.14/Documentation/s390/ |
D | Debugging390.txt | 928 This types the starting keystrokes for a sysrq see SysRq below. 2103 echo "1" > /proc/sys/kernel/sysrq 2112 The sysrq key reading is very picky ( I have to type the keys in an 2119 Read Documentation/sysrq.txt for more info
|
/linux-4.4.14/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 81 10.5 sysrq 2313 o sysrq 2400 10.5. sysrq 2404 that argument. See the SysRq documentation in Documentation/sysrq.txt 2439 of UML filesystems, as the UML can be stopped, then synced via 'sysrq
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_port.c | 2846 if (port->sysrq) in serial8250_console_write()
|