Lines Matching defs:users
139 * @users: the number of the key users (TX/RX)
155 atomic_t users;
434 int users = 0;
439 users = atomic_read(&tmp->users);
442 return users;
452 atomic_add_unless(&tmp->users, 1, lim);
463 atomic_add_unless(&rcu_dereference(aead)->users, -1, lim);
476 cur = atomic_read(&tmp->users);
479 } while (atomic_cmpxchg(&tmp->users, cur, val) != cur);
605 atomic_set(&tmp->users, 0);
659 atomic_set(&aead->users, 0);
1218 /* RX stopping => decrease TX key users if any */
1222 /* Mark the point TX key users changed */
1372 * has changed, so the number of TX keys' users on this node are increased and
1419 /* Case 2: Peer RX active key has changed, let's update own TX users */
1431 /* Mark the point TX key users changed */
1434 pr_debug("%s: key users changed %d-- %d++, peer %s\n",
1549 /* TX pending: taking all users & stable -> active */
2106 atomic_read(&aead->users),