Home
last modified time | relevance | path

Searched refs:sysrq_key_op (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/tty/
Dsysrq.c110 static const struct sysrq_key_op sysrq_loglevel_op = {
124 static const struct sysrq_key_op sysrq_SAK_op = {
131 #define sysrq_SAK_op (*(const struct sysrq_key_op *)NULL)
140 static const struct sysrq_key_op sysrq_unraw_op = {
147 #define sysrq_unraw_op (*(const struct sysrq_key_op *)NULL)
157 static const struct sysrq_key_op sysrq_crash_op = {
170 static const struct sysrq_key_op sysrq_reboot_op = {
177 const struct sysrq_key_op *__sysrq_reboot_op = &sysrq_reboot_op;
183 static const struct sysrq_key_op sysrq_sync_op = {
195 static const struct sysrq_key_op sysrq_show_timers_op = {
[all …]
/linux-6.1.9/include/linux/
Dsysrq.h32 struct sysrq_key_op { struct
48 int register_sysrq_key(int key, const struct sysrq_key_op *op); argument
49 int unregister_sysrq_key(int key, const struct sysrq_key_op *op);
50 extern const struct sysrq_key_op *__sysrq_reboot_op;
65 static inline int register_sysrq_key(int key, const struct sysrq_key_op *op) in register_sysrq_key()
70 static inline int unregister_sysrq_key(int key, const struct sysrq_key_op *op) in unregister_sysrq_key()
/linux-6.1.9/Documentation/translations/zh_CN/admin-guide/
Dsysrq.rst224 文件,这个头文件定义了你所需要的所有东西。然后你必须创建一个 ``sysrq_key_op``
230 在 ``sysrq_key_op`` 结构体被创建后,你可以调用内核函数
231 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);``,
234 ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)`` 函数,该函数
/linux-6.1.9/kernel/power/
Dpoweroff.c32 static const struct sysrq_key_op sysrq_poweroff_op = {
/linux-6.1.9/arch/mips/kernel/
Dsysrq.c55 static const struct sysrq_key_op sysrq_tlbdump_op = {
/linux-6.1.9/arch/loongarch/kernel/
Dsysrq.c54 static struct sysrq_key_op sysrq_tlbdump_op = {
/linux-6.1.9/Documentation/admin-guide/
Dsysrq.rst232 Next, you must create a ``sysrq_key_op`` struct, and populate it with A) the key
237 After the ``sysrq_key_op`` is created, you can call the kernel function
238 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);`` this will
241 the function ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)``,
/linux-6.1.9/arch/sparc/kernel/
Dprocess_64.c302 static const struct sysrq_key_op sparc_globalreg_op = {
377 static const struct sysrq_key_op sparc_globalpmu_op = {
/linux-6.1.9/kernel/debug/
Ddebug_core.c989 static const struct sysrq_key_op sysrq_dbg_op = {
/linux-6.1.9/kernel/rcu/
Dtree_stall.h1012 static const struct sysrq_key_op sysrq_rcudump_op = {
/linux-6.1.9/arch/alpha/kernel/
Dsetup.c430 static const struct sysrq_key_op srm_sysrq_reboot_op = {
/linux-6.1.9/drivers/gpu/drm/
Ddrm_fb_helper.c311 static const struct sysrq_key_op sysrq_drm_fb_helper_restore_op = {
317 static const struct sysrq_key_op sysrq_drm_fb_helper_restore_op = { };
/linux-6.1.9/arch/powerpc/xmon/
Dxmon.c4015 static const struct sysrq_key_op sysrq_xmon_op = {