Home
last modified time | relevance | path

Searched refs:op_p (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/tty/
Dsysrq.c550 const struct sysrq_key_op *op_p = NULL; in __sysrq_get_key_op() local
555 op_p = sysrq_key_table[i]; in __sysrq_get_key_op()
557 return op_p; in __sysrq_get_key_op()
560 static void __sysrq_put_key_op(int key, const struct sysrq_key_op *op_p) in __sysrq_put_key_op() argument
565 sysrq_key_table[i] = op_p; in __sysrq_put_key_op()
570 const struct sysrq_key_op *op_p; in __handle_sysrq() local
589 op_p = __sysrq_get_key_op(key); in __handle_sysrq()
590 if (op_p) { in __handle_sysrq()
595 if (!check_mask || sysrq_on_mask(op_p->enable_mask)) { in __handle_sysrq()
596 pr_info("%s\n", op_p->action_msg); in __handle_sysrq()
[all …]
/Linux-v5.10/Documentation/admin-guide/
Dsysrq.rst236 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);`` this will
237 register the operation pointed to by ``op_p`` at table key 'key',
239 the function ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)``,
240 which will remove the key op pointed to by 'op_p' from the key 'key', if and