Lines Matching defs:users
137 * @users: the number of the key users (TX/RX)
153 atomic_t users;
428 int users = 0;
433 users = atomic_read(&tmp->users);
436 return users;
446 atomic_add_unless(&tmp->users, 1, lim);
457 atomic_add_unless(&rcu_dereference(aead)->users, -1, lim);
470 cur = atomic_read(&tmp->users);
473 } while (atomic_cmpxchg(&tmp->users, cur, val) != cur);
598 atomic_set(&tmp->users, 0);
652 atomic_set(&aead->users, 0);
1222 /* RX stopping => decrease TX key users if any */
1226 /* Mark the point TX key users changed */
1376 * has changed, so the number of TX keys' users on this node are increased and
1423 /* Case 2: Peer RX active key has changed, let's update own TX users */
1435 /* Mark the point TX key users changed */
1438 pr_debug("%s: key users changed %d-- %d++, peer %s\n",
1553 /* TX pending: taking all users & stable -> active */
2110 atomic_read(&aead->users),