Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/tty/
Dsysrq.c490 struct sysrq_key_op *op_p = NULL; in __sysrq_get_key_op() local
495 op_p = sysrq_key_table[i]; in __sysrq_get_key_op()
497 return op_p; in __sysrq_get_key_op()
500 static void __sysrq_put_key_op(int key, struct sysrq_key_op *op_p) in __sysrq_put_key_op() argument
505 sysrq_key_table[i] = op_p; in __sysrq_put_key_op()
510 struct sysrq_key_op *op_p; in __handle_sysrq() local
526 op_p = __sysrq_get_key_op(key); in __handle_sysrq()
527 if (op_p) { in __handle_sysrq()
532 if (!check_mask || sysrq_on_mask(op_p->enable_mask)) { in __handle_sysrq()
533 pr_cont("%s\n", op_p->action_msg); in __handle_sysrq()
[all …]
/linux-4.1.27/Documentation/
Dsysrq.txt204 register_sysrq_key(int key, struct sysrq_key_op *op_p); this will
205 register the operation pointed to by 'op_p' at table key 'key',
207 the function unregister_sysrq_key(int key, struct sysrq_key_op *op_p), which
208 will remove the key op pointed to by 'op_p' from the key 'key', if and only if