Lines Matching refs:passive
109 passive:2, /* rx only */ member
113 passive:2, /* rx only */
1172 if (key.active && key.passive) in tipc_crypto_key_attach()
1183 key.passive = pos; in tipc_crypto_key_attach()
1186 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1192 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1201 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1287 if (key.passive) { in tipc_crypto_key_try_align()
1288 tmp2 = rcu_replace_pointer(rx->aead[key.passive], tmp2, lockdep_is_held(&rx->lock)); in tipc_crypto_key_try_align()
1289 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1349 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1460 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1570 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1586 key.passive = key.active; in tipc_crypto_timeout()
1589 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1599 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1613 key.passive = key.active; in tipc_crypto_timeout()
1617 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1624 if (!key.passive) in tipc_crypto_timeout()
1627 tipc_aead_users(rx->aead[key.passive]) > -10) in tipc_crypto_timeout()
1631 tipc_crypto_key_detach(rx->aead[key.passive], &rx->lock); in tipc_crypto_timeout()
1632 pr_debug("%s: key[%d] is freed\n", rx->name, key.passive); in tipc_crypto_timeout()
1837 tx_key == key.passive) in tipc_crypto_rcv()
1969 if (rx->key.passive && ehdr->tx_key == rx->key.passive) in tipc_crypto_rcv_complete()
2095 if (k == key.passive) in tipc_crypto_key_dump()
2137 if (k == key->passive) in tipc_key_change_dump()