Lines Matching refs:active
108 active:2, member
114 active:2,
1076 ehdr->rx_key_active = (__rx) ? __rx->key.active : 0; in tipc_ehdr_build()
1170 if (key.active && key.passive) in tipc_crypto_key_attach()
1180 if (key.active && pos != key_next(key.active)) { in tipc_crypto_key_attach()
1184 } else if (!key.active && !key.passive) { in tipc_crypto_key_attach()
1190 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1199 tipc_crypto_key_set_state(c, key.passive, key.active, in tipc_crypto_key_attach()
1271 if (key.active) in tipc_crypto_key_try_align()
1347 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1455 WARN_ON(!key.active || tx_key != key.active); in tipc_crypto_key_revoke()
1459 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_key_revoke()
1561 if (key.active && tipc_aead_users(tx->aead[key.active]) > 0) in tipc_crypto_timeout()
1569 if (key.active) in tipc_crypto_timeout()
1570 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_timeout()
1583 if (key.active) in tipc_crypto_timeout()
1584 key.passive = key.active; in tipc_crypto_timeout()
1585 key.active = key.pending; in tipc_crypto_timeout()
1587 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1597 tipc_crypto_key_set_state(rx, key.passive, key.active, 0); in tipc_crypto_timeout()
1604 if (!key.active) in tipc_crypto_timeout()
1607 tipc_aead_users(rx->aead[key.active]) > 0) in tipc_crypto_timeout()
1611 key.passive = key.active; in tipc_crypto_timeout()
1613 key.pending = key.active; in tipc_crypto_timeout()
1617 pr_debug("%s: key[%d] is deactivated\n", rx->name, key.active); in tipc_crypto_timeout()
1628 tipc_crypto_key_set_state(rx, 0, key.active, key.pending); in tipc_crypto_timeout()
1711 if (!tx->key_master && !key.active) in tipc_crypto_xmit()
1728 if (!key.active) in tipc_crypto_xmit()
1752 if (likely(key.active)) { in tipc_crypto_xmit()
1753 tx_key = key.active; in tipc_crypto_xmit()
1834 if (tx_key == key.active || tx_key == key.pending || in tipc_crypto_rcv()
2099 else if (k == key.active) in tipc_crypto_key_dump()
2141 else if (k == key->active) in tipc_key_change_dump()
2370 key = tx->key.pending ?: tx->key.active; in tipc_crypto_work_rx()
2458 aead = rcu_dereference(tx->aead[key.active ?: KEY_MASTER]); in tipc_crypto_work_tx()