• Home
  • Raw
  • Download

Lines Matching refs:pending

107 			u8 pending:2,  member
115 pending:2;
1167 if (key.pending) { in tipc_crypto_key_attach()
1168 if (tipc_aead_users(c->aead[key.pending]) > 0) in tipc_crypto_key_attach()
1172 new_key = key.pending; in tipc_crypto_key_attach()
1180 key.pending = pos; in tipc_crypto_key_attach()
1185 key.pending = key_next(key.active ?: key.passive); in tipc_crypto_key_attach()
1186 new_key = key.pending; in tipc_crypto_key_attach()
1195 key.pending); in tipc_crypto_key_attach()
1262 if (key.pending == new_pending) { in tipc_crypto_key_try_align()
1268 if (!key.pending) in tipc_crypto_key_try_align()
1270 if (tipc_aead_users(rx->aead[key.pending]) > 0) in tipc_crypto_key_try_align()
1274 tmp1 = tipc_aead_rcu_ptr(rx->aead[key.pending], &rx->lock); in tipc_crypto_key_try_align()
1277 rcu_assign_pointer(rx->aead[key.pending], NULL); in tipc_crypto_key_try_align()
1282 x = (key.passive - key.pending + new_pending) % KEY_MAX; in tipc_crypto_key_try_align()
1293 pr_info_ratelimited("%s: key[%d] -> key[%d]\n", rx->name, key.pending, in tipc_crypto_key_try_align()
1341 k = (i == 0) ? key.pending : in tipc_crypto_key_pick_tx()
1453 tipc_crypto_key_set_state(tx, key.passive, 0, key.pending); in tipc_crypto_key_revoke()
1558 if (!key.pending || tipc_aead_users(tx->aead[key.pending]) <= 0) in tipc_crypto_timeout()
1563 tipc_crypto_key_set_state(tx, key.passive, key.pending, 0); in tipc_crypto_timeout()
1567 pr_info("%s: key[%d] is activated\n", tx->name, key.pending); in tipc_crypto_timeout()
1575 if (!key.pending || tipc_aead_users(rx->aead[key.pending]) <= 0) in tipc_crypto_timeout()
1580 key.active = key.pending; in tipc_crypto_timeout()
1584 pr_info("%s: key[%d] is activated\n", rx->name, key.pending); in tipc_crypto_timeout()
1589 if (!key.pending || tipc_aead_users(rx->aead[key.pending]) > -10) in tipc_crypto_timeout()
1593 tipc_crypto_key_detach(rx->aead[key.pending], &rx->lock); in tipc_crypto_timeout()
1594 pr_debug("%s: key[%d] is removed\n", rx->name, key.pending); in tipc_crypto_timeout()
1605 if (key.pending) in tipc_crypto_timeout()
1608 key.pending = key.active; in tipc_crypto_timeout()
1610 tipc_crypto_key_set_state(rx, key.passive, 0, key.pending); in tipc_crypto_timeout()
1611 tipc_aead_users_set(rx->aead[key.pending], 0); in tipc_crypto_timeout()
1623 tipc_crypto_key_set_state(rx, 0, key.active, key.pending); in tipc_crypto_timeout()
1704 if (unlikely(key.pending)) { in tipc_crypto_xmit()
1705 tx_key = key.pending; in tipc_crypto_xmit()
1712 key.pending); in tipc_crypto_xmit()
1829 if (tx_key == key.active || tx_key == key.pending || in tipc_crypto_rcv()
2096 else if (k == key.pending) in tipc_crypto_key_dump()
2138 else if (k == key->pending) in tipc_key_change_dump()
2365 key = tx->key.pending ?: tx->key.active; in tipc_crypto_work_rx()
2448 if (unlikely(key.pending)) in tipc_crypto_work_tx()