Lines Matching refs:passive
109 passive:2, /* rx only */ member
113 passive:2, /* rx only */
1165 if (key.active && key.passive) in tipc_crypto_key_attach()
1176 key.passive = pos; in tipc_crypto_key_attach()
1179 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1185 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1194 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1280 if (key.passive) { in tipc_crypto_key_try_align()
1281 tmp2 = rcu_replace_pointer(rx->aead[key.passive], tmp2, lockdep_is_held(&rx->lock)); in tipc_crypto_key_try_align()
1282 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1342 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1453 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1563 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1579 key.passive = key.active; in tipc_crypto_timeout()
1582 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1592 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1606 key.passive = key.active; in tipc_crypto_timeout()
1610 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1617 if (!key.passive) in tipc_crypto_timeout()
1620 tipc_aead_users(rx->aead[key.passive]) > -10) in tipc_crypto_timeout()
1624 tipc_crypto_key_detach(rx->aead[key.passive], &rx->lock); in tipc_crypto_timeout()
1625 pr_debug("%s: key[%d] is freed\n", rx->name, key.passive); in tipc_crypto_timeout()
1830 tx_key == key.passive) in tipc_crypto_rcv()
1962 if (rx->key.passive && ehdr->tx_key == rx->key.passive) in tipc_crypto_rcv_complete()
2088 if (k == key.passive) in tipc_crypto_key_dump()
2130 if (k == key->passive) in tipc_key_change_dump()