Lines Matching refs:key
56 struct sysrq_key_op *__sysrq_get_key_op (int key);
57 void __sysrq_put_key_op (int key, struct sysrq_key_op *op_p);
60 __sysrq_swap_key_ops_nolock(int key, struct sysrq_key_op *insert_op_p, in __sysrq_swap_key_ops_nolock() argument
64 if (__sysrq_get_key_op(key) == remove_op_p) { in __sysrq_swap_key_ops_nolock()
65 __sysrq_put_key_op(key, insert_op_p); in __sysrq_swap_key_ops_nolock()
74 __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, in __sysrq_swap_key_ops() argument
78 retval = __sysrq_swap_key_ops_nolock(key, insert_op_p, remove_op_p); in __sysrq_swap_key_ops()
83 static inline int register_sysrq_key(int key, struct sysrq_key_op *op_p) in register_sysrq_key() argument
85 return __sysrq_swap_key_ops(key, op_p, NULL); in register_sysrq_key()
88 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op_p) in unregister_sysrq_key() argument
90 return __sysrq_swap_key_ops(key, NULL, op_p); in unregister_sysrq_key()