Lines Matching refs:op_p
565 const struct sysrq_key_op *op_p = NULL; in __sysrq_get_key_op() local
570 op_p = sysrq_key_table[i]; in __sysrq_get_key_op()
572 return op_p; in __sysrq_get_key_op()
575 static void __sysrq_put_key_op(u8 key, const struct sysrq_key_op *op_p) in __sysrq_put_key_op() argument
580 sysrq_key_table[i] = op_p; in __sysrq_put_key_op()
585 const struct sysrq_key_op *op_p; in __handle_sysrq() local
604 op_p = __sysrq_get_key_op(key); in __handle_sysrq()
605 if (op_p) { in __handle_sysrq()
610 if (!check_mask || sysrq_on_mask(op_p->enable_mask)) { in __handle_sysrq()
611 pr_info("%s\n", op_p->action_msg); in __handle_sysrq()
613 op_p->handler(key); in __handle_sysrq()
1148 int register_sysrq_key(u8 key, const struct sysrq_key_op *op_p) in register_sysrq_key() argument
1150 return __sysrq_swap_key_ops(key, op_p, NULL); in register_sysrq_key()
1154 int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op_p) in unregister_sysrq_key() argument
1156 return __sysrq_swap_key_ops(key, NULL, op_p); in unregister_sysrq_key()