Lines Matching defs:tail
47 unsigned int head, tail, call_head, call_tail;
71 tail = READ_ONCE(b->peer_backlog_tail);
72 if (CIRC_CNT(head, tail, size) < max) {
82 tail = READ_ONCE(b->conn_backlog_tail);
83 if (CIRC_CNT(head, tail, size) < max) {
184 unsigned int size = RXRPC_BACKLOG_MAX, head, tail;
197 tail = b->peer_backlog_tail;
198 while (CIRC_CNT(head, tail, size) > 0) {
199 struct rxrpc_peer *peer = b->peer_backlog[tail];
202 tail = (tail + 1) & (size - 1);
206 tail = b->conn_backlog_tail;
207 while (CIRC_CNT(head, tail, size) > 0) {
208 struct rxrpc_connection *conn = b->conn_backlog[tail];
216 tail = (tail + 1) & (size - 1);
220 tail = b->call_backlog_tail;
221 while (CIRC_CNT(head, tail, size) > 0) {
222 struct rxrpc_call *call = b->call_backlog[tail];
234 tail = (tail + 1) & (size - 1);