Searched refs:current_key (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/hid/ |
| H A D | hid-appleir.c | 113 int current_key; /* the currently pressed key */ member 175 if (appleir->current_key) { in key_up_tick() 176 key_up(hid, appleir, appleir->current_key); in key_up_tick() 177 appleir->current_key = 0; in key_up_tick() 202 if (appleir->current_key) in appleir_raw_event() 203 key_up(hid, appleir, appleir->current_key); in appleir_raw_event() 212 appleir->current_key = appleir->keymap[index]; in appleir_raw_event() 214 key_down(hid, appleir, appleir->current_key); in appleir_raw_event() 232 key_down(hid, appleir, appleir->current_key); in appleir_raw_event()
|
| /linux/net/rxrpc/ |
| H A D | rxgk.c | 90 unsigned int key_number, current_key, mask = ARRAY_SIZE(conn->rxgk.keys) - 1; in rxgk_rekey() local 97 current_key = conn->rxgk.key_number; in rxgk_rekey() 99 key_number = current_key; in rxgk_rekey() 101 if (*specific_key_number == (u16)current_key) in rxgk_rekey() 102 key_number = current_key; in rxgk_rekey() 103 else if (*specific_key_number == (u16)(current_key - 1)) in rxgk_rekey() 104 key_number = current_key - 1; in rxgk_rekey() 105 else if (*specific_key_number == (u16)(current_key + 1)) in rxgk_rekey() 125 trace_rxrpc_rxgk_rekey(conn, current_key, in rxgk_rekey() 127 if (current_key in rxgk_rekey() 171 unsigned int key_number, current_key, mask = ARRAY_SIZE(conn->rxgk.keys) - 1; rxgk_get_key() local [all...] |
| /linux/tools/testing/selftests/net/tcp_ao/ |
| H A D | key-management.c | 67 int current_key, int rnext_key) in test_del_key() argument 80 if (current_key >= 0) { in test_del_key() 82 del.current_key = (uint8_t)current_key; in test_del_key() 103 if (current_key < 0 && rnext_key < 0) in test_del_key() 107 if (current_key >= 0 && ao_info.current_key != (uint8_t)current_key) in test_del_key() 115 bool async, int current_key, int rnext_key, in try_delete_key() argument 120 err = test_del_key(sk, sndid, rcvid, async, current_key, rnext_key); in try_delete_key() 149 ao_info.current_key = (uint8_t)current_keyid; in test_set_key() 161 if (current_keyid >= 0 && ao_info.current_key != (uint8_t)current_keyid) in test_set_key() 206 if (set_current && ao_info.current_key != sndid) in __try_add_current_rnext_key() [all …]
|
| H A D | setsockopt-closed.c | 41 __cmp_ao(current_key); in test_vefify_ao_info() 464 del.current_key = 100; in test_einval_del_key() 474 del.current_key = 100; in test_einval_del_key() 564 info.current_key = 100; in test_einval_ao_info() 575 info.current_key = 100; in test_einval_ao_info()
|
| /linux/net/ipv4/ |
| H A D | tcp_ao.c | 974 struct tcp_ao_key *current_key; in tcp_inbound_ao_hash() local 999 current_key = READ_ONCE(info->current_key); in tcp_inbound_ao_hash() 1001 if (unlikely(aoh->rnext_keyid != current_key->sndid)) { in tcp_inbound_ao_hash() 1002 trace_tcp_ao_rnext_request(sk, skb, current_key->sndid, in tcp_inbound_ao_hash() 1009 WRITE_ONCE(info->current_key, key); in tcp_inbound_ao_hash() 1124 if (key == ao_info->current_key) in tcp_ao_connect_init() 1125 ao_info->current_key = NULL; in tcp_ao_connect_init() 1138 if (!ao_info->current_key) in tcp_ao_connect_init() 1139 ao_info->current_key = key; in tcp_ao_connect_init() 1263 new_ao->current_key = key; in tcp_ao_copy_all_matching() [all …]
|
| /linux/Documentation/networking/ |
| H A D | tcp_ao.rst | 167 Q: How is current_key set, and when does it change? Is it a user-triggered 171 A: current_key is set by RNextKeyID [6.1]:: 177 the current_key to change to a new MKT, then change back to a previously 187 a. Set current_key to the RNextKeyID MKT. 220 always have one current_key [3.3]:: 299 ``setsockopt(TCP_AO_DEL_KEY)`` command may specify ``tcp_ao_del::current_key`` 316 peer and/or sndid/rcvid, VRF L3 interface or get current_key/rnext_key.
|
| /linux/include/trace/events/ |
| H A D | rxrpc.h | 2814 unsigned int current_key, unsigned int requested_key), 2816 TP_ARGS(conn, current_key, requested_key), 2820 __field(unsigned int, current_key) 2826 __entry->current_key = current_key; 2832 __entry->current_key,
|
| /linux/include/net/ |
| H A D | tcp.h | 2472 out->ao_key = READ_ONCE(ao->current_key); in tcp_get_current_key()
|