Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/
H A Dsysrq.c553 const struct sysrq_key_op *op_p = NULL; in __sysrq_get_key_op() local
558 op_p = sysrq_key_table[i]; in __sysrq_get_key_op()
560 return op_p; in __sysrq_get_key_op()
568 sysrq_key_table[i] = op_p; in __sysrq_put_key_op()
573 const struct sysrq_key_op *op_p; in __handle_sysrq() local
592 op_p = __sysrq_get_key_op(key); in __handle_sysrq()
593 if (op_p) { in __handle_sysrq()
599 pr_info("%s\n", op_p->action_msg); in __handle_sysrq()
601 op_p->handler(key); in __handle_sysrq()
1140 return __sysrq_swap_key_ops(key, op_p, NULL); in register_sysrq_key()
[all …]
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dsysrq.rst231 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);``,
232 该函数在表中的 'key' 对应位置内容是空的情况下,将通过 ``op_p`` 指针注册这个操作
234 ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)`` 函数,该函数
235 只有在当前该键对应的处理函数被注册到了 'key' 对应位置时,才会移除 'op_p' 指针
/openbmc/linux/Documentation/admin-guide/
H A Dsysrq.rst238 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);`` this will
239 register the operation pointed to by ``op_p`` at table key 'key',
241 the function ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)``,
242 which will remove the key op pointed to by 'op_p' from the key 'key', if and