Lines Matching refs:passive

109 			   passive:2, /* rx only */  member
113 passive:2, /* rx only */
1161 if (key.active && key.passive) in tipc_crypto_key_attach()
1172 key.passive = pos; in tipc_crypto_key_attach()
1175 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1181 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1190 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1276 if (key.passive) { in tipc_crypto_key_try_align()
1277 tmp2 = rcu_replace_pointer(rx->aead[key.passive], tmp2, lockdep_is_held(&rx->lock)); in tipc_crypto_key_try_align()
1278 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1338 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1449 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1559 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1575 key.passive = key.active; in tipc_crypto_timeout()
1578 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1588 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1602 key.passive = key.active; in tipc_crypto_timeout()
1606 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1613 if (!key.passive) in tipc_crypto_timeout()
1616 tipc_aead_users(rx->aead[key.passive]) > -10) in tipc_crypto_timeout()
1620 tipc_crypto_key_detach(rx->aead[key.passive], &rx->lock); in tipc_crypto_timeout()
1621 pr_debug("%s: key[%d] is freed\n", rx->name, key.passive); in tipc_crypto_timeout()
1826 tx_key == key.passive) in tipc_crypto_rcv()
1958 if (rx->key.passive && ehdr->tx_key == rx->key.passive) in tipc_crypto_rcv_complete()
2087 if (k == key.passive) in tipc_crypto_key_dump()
2129 if (k == key->passive) in tipc_key_change_dump()