Home
last modified time | relevance | path

Searched refs:current_key (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/hid/
H A Dhid-appleir.c112 spinlock_t lock; /* protects .current_key */
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()
[all...]
/linux/net/rxrpc/
H A Drxgk.c90 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 Dkey-management.c67 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_ke in try_delete_key()
[all...]
H A Dsetsockopt-closed.c41 __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 Dtcp_ao.c975 struct tcp_ao_key *current_key; in tcp_inbound_ao_hash() local
1000 current_key = READ_ONCE(info->current_key); in tcp_inbound_ao_hash()
1002 if (unlikely(aoh->rnext_keyid != current_key->sndid)) { in tcp_inbound_ao_hash()
1003 trace_tcp_ao_rnext_request(sk, skb, current_key->sndid, in tcp_inbound_ao_hash()
1010 WRITE_ONCE(info->current_key, key); in tcp_inbound_ao_hash()
1019 * current_key and rnext_key must not be used on tcp listen in tcp_inbound_ao_hash()
1125 if (key == ao_info->current_key) in tcp_ao_connect_init()
1126 ao_info->current_key = NULL; in tcp_ao_connect_init()
1136 /* if current_key o in tcp_ao_connect_init()
2111 struct tcp_ao_key *key, *current_key; tcp_ao_copy_mkts_to_user() local
2322 struct tcp_ao_key *current_key; tcp_ao_get_sock_info() local
[all...]
/linux/include/uapi/linux/
H A Dtcp.h407 __u32 set_current :1, /* corresponding ::current_key */
415 __u8 current_key; /* KeyID to set as Current_key */ member
422 __u32 set_current :1, /* in/out: corresponding ::current_key */
429 __u8 current_key; /* in/out: KeyID of Current_key */ member
/linux/Documentation/networking/
H A Dtcp_ao.rst167 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/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.h268 unsigned int current_key; member
H A Dps3_gelic_wireless.c1032 key_index = wl->current_key; in gelic_wl_set_encode()
1038 wl->current_key = key_index; in gelic_wl_set_encode()
1099 key_index = wl->current_key; in gelic_wl_get_encode()
1217 key_index = wl->current_key; in gelic_wl_set_encodeext()
1223 wl->current_key = key_index; in gelic_wl_set_encodeext()
1306 key_index = wl->current_key; in gelic_wl_get_encodeext()
2473 wl->current_key = 0; in gelic_wl_reset_state()
/linux/include/net/
H A Dtcp_ao.h94 /* current_key and rnext_key are maintained on sockets
99 * ::current_key may change in RX to the key that was requested by
105 struct tcp_ao_key *current_key; member
173 /* Established states are fast-path and there always is current_key/rnext_key */
/linux/include/trace/events/
H A Drxrpc.h2810 unsigned int current_key, unsigned int requested_key),
2812 TP_ARGS(conn, current_key, requested_key),
2816 __field(unsigned int, current_key)
2822 __entry->current_key = current_key;
2828 __entry->current_key,
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h1075 __le32 current_key[128]; member
1250 __le32 current_key[]; member