• Home
  • Raw
  • Download

Lines Matching refs:pending

107 			u8 pending:2,  member
115 pending:2;
1174 if (key.pending) { in tipc_crypto_key_attach()
1175 if (tipc_aead_users(c->aead[key.pending]) > 0) in tipc_crypto_key_attach()
1179 new_key = key.pending; in tipc_crypto_key_attach()
1187 key.pending = pos; in tipc_crypto_key_attach()
1192 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1193 new_key = key.pending; in tipc_crypto_key_attach()
1202 key.pending); in tipc_crypto_key_attach()
1269 if (key.pending == new_pending) { in tipc_crypto_key_try_align()
1275 if (!key.pending) in tipc_crypto_key_try_align()
1277 if (tipc_aead_users(rx->aead[key.pending]) > 0) in tipc_crypto_key_try_align()
1281 tmp1 = tipc_aead_rcu_ptr(rx->aead[key.pending], &rx->lock); in tipc_crypto_key_try_align()
1284 rcu_assign_pointer(rx->aead[key.pending], NULL); in tipc_crypto_key_try_align()
1289 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1300 pr_info_ratelimited("%s: key[%d] -> key[%d]\n", rx->name, key.pending, in tipc_crypto_key_try_align()
1348 k = (i == 0) ? key.pending : in tipc_crypto_key_pick_tx()
1460 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1565 if (!key.pending || tipc_aead_users(tx->aead[key.pending]) <= 0) in tipc_crypto_timeout()
1570 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1574 pr_info("%s: key[%d] is activated\n", tx->name, key.pending); in tipc_crypto_timeout()
1582 if (!key.pending || tipc_aead_users(rx->aead[key.pending]) <= 0) in tipc_crypto_timeout()
1587 key.active = key.pending; in tipc_crypto_timeout()
1591 pr_info("%s: key[%d] is activated\n", rx->name, key.pending); in tipc_crypto_timeout()
1596 if (!key.pending || tipc_aead_users(rx->aead[key.pending]) > -10) in tipc_crypto_timeout()
1600 tipc_crypto_key_detach(rx->aead[key.pending], &rx->lock); in tipc_crypto_timeout()
1601 pr_debug("%s: key[%d] is removed\n", rx->name, key.pending); in tipc_crypto_timeout()
1612 if (key.pending) in tipc_crypto_timeout()
1615 key.pending = key.active; in tipc_crypto_timeout()
1617 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1618 tipc_aead_users_set(rx->aead[key.pending], 0); in tipc_crypto_timeout()
1630 tipc_crypto_key_set_state(rx, 0, key.active, key.pending); in tipc_crypto_timeout()
1711 if (unlikely(key.pending)) { in tipc_crypto_xmit()
1712 tx_key = key.pending; in tipc_crypto_xmit()
1719 key.pending); in tipc_crypto_xmit()
1836 if (tx_key == key.active || tx_key == key.pending || in tipc_crypto_rcv()
2103 else if (k == key.pending) in tipc_crypto_key_dump()
2145 else if (k == key->pending) in tipc_key_change_dump()
2372 key = tx->key.pending ?: tx->key.active; in tipc_crypto_work_rx()
2455 if (unlikely(key.pending)) in tipc_crypto_work_tx()