Searched refs:op_p (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/tty/ |
D | sysrq.c | 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() [all …]
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/ |
D | sysrq.rst | 231 ``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' 指針
|
/linux-6.12.1/Documentation/translations/zh_CN/admin-guide/ |
D | sysrq.rst | 231 ``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' 指针
|
/linux-6.12.1/Documentation/admin-guide/ |
D | sysrq.rst | 256 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);`` this will 257 register the operation pointed to by ``op_p`` at table key 'key', 259 the function ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)``, 260 which will remove the key op pointed to by 'op_p' from the key 'key', if and
|