• Home
  • Raw
  • Download

Lines Matching refs:active

108 			   active:2,  member
114 active:2,
1078 ehdr->rx_key_active = (__rx) ? __rx->key.active : 0; in tipc_ehdr_build()
1172 if (key.active && key.passive) in tipc_crypto_key_attach()
1182 if (key.active && pos != key_next(key.active)) { 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()
1273 if (key.active) in tipc_crypto_key_try_align()
1349 ((i == 1) ? key.active : key.passive); in tipc_crypto_key_pick_tx()
1457 WARN_ON(!key.active || tx_key != key.active); in tipc_crypto_key_revoke()
1461 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_key_revoke()
1563 if (key.active && tipc_aead_users(tx->aead[key.active]) > 0) in tipc_crypto_timeout()
1571 if (key.active) in tipc_crypto_timeout()
1572 tipc_crypto_key_detach(tx->aead[key.active], &tx->lock); in tipc_crypto_timeout()
1585 if (key.active) in tipc_crypto_timeout()
1586 key.passive = key.active; in tipc_crypto_timeout()
1587 key.active = key.pending; 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()
1606 if (!key.active) in tipc_crypto_timeout()
1609 tipc_aead_users(rx->aead[key.active]) > 0) in tipc_crypto_timeout()
1613 key.passive = key.active; in tipc_crypto_timeout()
1615 key.pending = key.active; in tipc_crypto_timeout()
1619 pr_debug("%s: key[%d] is deactivated\n", rx->name, key.active); in tipc_crypto_timeout()
1630 tipc_crypto_key_set_state(rx, 0, key.active, key.pending); in tipc_crypto_timeout()
1713 if (!tx->key_master && !key.active) in tipc_crypto_xmit()
1730 if (!key.active) in tipc_crypto_xmit()
1754 if (likely(key.active)) { in tipc_crypto_xmit()
1755 tx_key = key.active; in tipc_crypto_xmit()
1836 if (tx_key == key.active || tx_key == key.pending || in tipc_crypto_rcv()
2101 else if (k == key.active) in tipc_crypto_key_dump()
2143 else if (k == key->active) in tipc_key_change_dump()
2372 key = tx->key.pending ?: tx->key.active; in tipc_crypto_work_rx()
2460 aead = rcu_dereference(tx->aead[key.active ?: KEY_MASTER]); in tipc_crypto_work_tx()