/linux-6.12.1/drivers/tty/ |
D | sysrq.c | 805 struct sysrq_state *sysrq = in sysrq_reinject_alt_sysrq() local 807 struct input_handle *handle = &sysrq->handle; in sysrq_reinject_alt_sysrq() 808 unsigned int alt_code = sysrq->alt_use; in sysrq_reinject_alt_sysrq() 810 if (sysrq->need_reinject) { in sysrq_reinject_alt_sysrq() 812 sysrq->reinjecting = true; in sysrq_reinject_alt_sysrq() 825 sysrq->reinjecting = false; in sysrq_reinject_alt_sysrq() 829 static bool sysrq_handle_keypress(struct sysrq_state *sysrq, in sysrq_handle_keypress() argument 832 bool was_active = sysrq->active; in sysrq_handle_keypress() 841 if (sysrq->active && code == sysrq->alt_use) in sysrq_handle_keypress() 842 sysrq->active = false; in sysrq_handle_keypress() [all …]
|
D | Makefile | 9 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/ |
D | sysrq.rst | 3 :Original: Documentation/admin-guide/sysrq.rst 18 針對 sysrq.c 的文檔說明 30 當運行一個編譯進 sysrq 功能的內核時,/proc/sys/kernel/sysrq 控制着被 32 配置符號設定,文件本身默認設置爲 1。以下是 /proc/sys/kernel/sysrq 中可能的 50 echo "number" >/proc/sys/kernel/sysrq 55 注意,``/proc/sys/kernel/sysrq`` 的值隻影響通過鍵盤觸發 SySRq 的調用,對於 56 通過 ``/proc/sysrq-trigger`` 的任何操作調用都是允許的 86 寫一個字符到 /proc/sysrq-trigger 文件,例如:: 88 echo t > /proc/sysrq-trigger 206 一個無效的 SysRq 鍵序列可以解決問題。(比如,像鍵盤組合鍵 :kbd:`alt-sysrq-z` ) [all …]
|
D | index.rst | 74 sysrq
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/ |
D | sysrq.rst | 3 :Original: Documentation/admin-guide/sysrq.rst 18 针对 sysrq.c 的文档说明 30 当运行一个编译进 sysrq 功能的内核时,/proc/sys/kernel/sysrq 控制着被 32 配置符号设定,文件本身默认设置为 1。以下是 /proc/sys/kernel/sysrq 中可能的 50 echo "number" >/proc/sys/kernel/sysrq 55 注意,``/proc/sys/kernel/sysrq`` 的值只影响通过键盘触发 SySRq 的调用,对于 56 通过 ``/proc/sysrq-trigger`` 的任何操作调用都是允许的 86 写一个字符到 /proc/sysrq-trigger 文件,例如:: 88 echo t > /proc/sysrq-trigger 206 一个无效的 SysRq 键序列可以解决问题。(比如,像键盘组合键 :kbd:`alt-sysrq-z` ) [all …]
|
D | index.rst | 72 sysrq
|
/linux-6.12.1/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 19 generating a sysrq. If omitted the system is rebooted immediately when a valid 25 linux,sysrq-reset-seq {
|
/linux-6.12.1/Documentation/admin-guide/ |
D | sysrq.rst | 4 Documentation for sysrq.c 17 /proc/sys/kernel/sysrq controls the functions allowed to be invoked via 20 to 1. Here is the list of possible values in /proc/sys/kernel/sysrq: 22 - 0 - disable sysrq completely 23 - 1 - enable all functions of sysrq 24 - >1 - bitmask of allowed sysrq functions (see below for detailed function 38 echo "number" >/proc/sys/kernel/sysrq 44 Note that the value of ``/proc/sys/kernel/sysrq`` influences only the invocation 45 via a keyboard. Invocation of any operation via ``/proc/sysrq-trigger`` is 78 Write a single character to /proc/sysrq-trigger. [all …]
|
D | index.rst | 131 sysrq
|
/linux-6.12.1/include/linux/ |
D | serial_core.h | 576 unsigned long sysrq; /* sysrq timeout */ member 1168 if (!port->sysrq) in uart_handle_sysrq_char() 1171 if (ch && time_before(jiffies, port->sysrq)) { in uart_handle_sysrq_char() 1174 port->sysrq = 0; in uart_handle_sysrq_char() 1180 port->sysrq = 0; in uart_handle_sysrq_char() 1187 if (!port->sysrq) in uart_prepare_sysrq_char() 1190 if (ch && time_before(jiffies, port->sysrq)) { in uart_prepare_sysrq_char() 1193 port->sysrq = 0; in uart_prepare_sysrq_char() 1199 port->sysrq = 0; in uart_prepare_sysrq_char() 1272 if (!port->sysrq) { in uart_handle_break() [all …]
|
/linux-6.12.1/tools/testing/selftests/pstore/ |
D | pstore_crash_test | 16 echo 1 > /proc/sys/kernel/sysrq 30 echo c > /proc/sysrq-trigger
|
/linux-6.12.1/drivers/s390/char/ |
D | keyboard.c | 331 if (kbd->sysrq) { in kbd_keycode() 332 if (kbd->sysrq == K(KT_LATIN, '-')) { in kbd_keycode() 333 kbd->sysrq = 0; in kbd_keycode() 338 kbd->sysrq = K(KT_LATIN, '-'); in kbd_keycode() 342 (*k_handler[KTYP(kbd->sysrq)])(kbd, KVAL(kbd->sysrq)); in kbd_keycode() 343 kbd->sysrq = 0; in kbd_keycode() 346 kbd->sysrq = K(type, value); in kbd_keycode()
|
D | ctrlchar.c | 23 struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work); in ctrlchar_handle_sysrq() local 25 handle_sysrq(sysrq->key); in ctrlchar_handle_sysrq()
|
D | keyboard.h | 42 unsigned short sysrq; member
|
D | sclp_vt220.c | 478 static struct sysrq_work sysrq; variable 500 sysrq.key = buffer[i]; in sclp_vt220_handle_input() 501 schedule_sysrq_work(&sysrq); in sclp_vt220_handle_input()
|
/linux-6.12.1/drivers/usb/serial/ |
D | generic.c | 357 if (port->sysrq) { in usb_serial_generic_process_read_urb() 576 if (port->sysrq) { in usb_serial_handle_sysrq_char() 577 if (ch && time_before(jiffies, port->sysrq)) { in usb_serial_handle_sysrq_char() 579 port->sysrq = 0; in usb_serial_handle_sysrq_char() 582 port->sysrq = 0; in usb_serial_handle_sysrq_char() 593 if (!port->sysrq) { in usb_serial_handle_break() 594 port->sysrq = jiffies + HZ*5; in usb_serial_handle_break() 597 port->sysrq = 0; in usb_serial_handle_break()
|
/linux-6.12.1/drivers/tty/serial/ |
D | sunhv.c | 154 if (port->sysrq != 0 && *con_read_page) { in receive_chars_read() 444 if (port->sysrq || oops_in_progress) in sunhv_console_write_paged() 499 if (port->sysrq || oops_in_progress) in sunhv_console_write_bychar()
|
D | msm_serial.c | 565 int count = 0, i, sysrq; in msm_complete_rx_dma() local 607 sysrq = uart_prepare_sysrq_char(port, dma->rx.virt[i]); in msm_complete_rx_dma() 608 if (!sysrq) in msm_complete_rx_dma() 755 int sysrq, r_count, i; in msm_handle_rx_dm() local 780 sysrq = uart_prepare_sysrq_char(port, buf[i]); in msm_handle_rx_dm() 781 if (!sysrq) in msm_handle_rx_dm() 818 int sysrq; in msm_handle_rx() local 840 sysrq = uart_prepare_sysrq_char(port, c); in msm_handle_rx() 841 if (!sysrq) in msm_handle_rx()
|
D | owl-uart.c | 202 bool sysrq; in owl_uart_receive_chars() local 221 sysrq = uart_prepare_sysrq_char(port, val); in owl_uart_receive_chars() 223 if (!sysrq && (stat & port->ignore_status_mask) == 0) in owl_uart_receive_chars()
|
/linux-6.12.1/Documentation/security/ |
D | sak.rst | 17 sysrq support. 20 ``loadkeys``. This will work whether or not sysrq support is compiled
|
/linux-6.12.1/arch/um/kernel/ |
D | Makefile | 19 signal.o sysrq.o time.o tlb.o trap.o \
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | Makefile | 60 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|
/linux-6.12.1/drivers/tty/hvc/ |
D | hvsi.c | 80 uint8_t sysrq; member 329 hp->sysrq = 1; in hvsi_insert_chars() 331 } else if (hp->sysrq) { in hvsi_insert_chars() 333 hp->sysrq = 0; in hvsi_insert_chars()
|
/linux-6.12.1/arch/um/ |
D | Kconfig | 184 On UML, this is accomplished by sending a "sysrq" command with 187 The keys are documented in <file:Documentation/admin-guide/sysrq.rst>. Don't say Y
|
/linux-6.12.1/arch/mips/kernel/ |
D | Makefile | 83 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
|