Lines Matching refs:op_p
477 struct sysrq_key_op *op_p = NULL; in __sysrq_get_key_op() local
482 op_p = sysrq_key_table[i]; in __sysrq_get_key_op()
484 return op_p; in __sysrq_get_key_op()
487 static void __sysrq_put_key_op(int key, struct sysrq_key_op *op_p) in __sysrq_put_key_op() argument
492 sysrq_key_table[i] = op_p; in __sysrq_put_key_op()
497 struct sysrq_key_op *op_p; in __handle_sysrq() local
513 op_p = __sysrq_get_key_op(key); in __handle_sysrq()
514 if (op_p) { in __handle_sysrq()
519 if (!check_mask || sysrq_on_mask(op_p->enable_mask)) { in __handle_sysrq()
520 printk("%s\n", op_p->action_msg); in __handle_sysrq()
522 op_p->handler(key); in __handle_sysrq()
846 int register_sysrq_key(int key, struct sysrq_key_op *op_p) in register_sysrq_key() argument
848 return __sysrq_swap_key_ops(key, op_p, NULL); in register_sysrq_key()
852 int unregister_sysrq_key(int key, struct sysrq_key_op *op_p) in unregister_sysrq_key() argument
854 return __sysrq_swap_key_ops(key, NULL, op_p); in unregister_sysrq_key()