Lines Matching refs:passive
109 passive:2, /* rx only */ member
113 passive:2, /* rx only */
1168 if (key.active && key.passive) in tipc_crypto_key_attach()
1179 key.passive = pos; in tipc_crypto_key_attach()
1182 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1188 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1197 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1283 if (key.passive) { in tipc_crypto_key_try_align()
1284 tmp2 = rcu_replace_pointer(rx->aead[key.passive], tmp2, lockdep_is_held(&rx->lock)); in tipc_crypto_key_try_align()
1285 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1345 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1456 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1566 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1582 key.passive = key.active; in tipc_crypto_timeout()
1585 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1595 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1609 key.passive = key.active; in tipc_crypto_timeout()
1613 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1620 if (!key.passive) in tipc_crypto_timeout()
1623 tipc_aead_users(rx->aead[key.passive]) > -10) in tipc_crypto_timeout()
1627 tipc_crypto_key_detach(rx->aead[key.passive], &rx->lock); in tipc_crypto_timeout()
1628 pr_debug("%s: key[%d] is freed\n", rx->name, key.passive); in tipc_crypto_timeout()
1833 tx_key == key.passive) in tipc_crypto_rcv()
1965 if (rx->key.passive && ehdr->tx_key == rx->key.passive) in tipc_crypto_rcv_complete()
2091 if (k == key.passive) in tipc_crypto_key_dump()
2133 if (k == key->passive) in tipc_key_change_dump()