Lines Matching refs:tail
46 unsigned int head, tail, call_head, call_tail;
70 tail = READ_ONCE(b->peer_backlog_tail);
71 if (CIRC_CNT(head, tail, size) < max) {
83 tail = READ_ONCE(b->conn_backlog_tail);
84 if (CIRC_CNT(head, tail, size) < max) {
182 unsigned int size = RXRPC_BACKLOG_MAX, head, tail;
195 tail = b->peer_backlog_tail;
196 while (CIRC_CNT(head, tail, size) > 0) {
197 struct rxrpc_peer *peer = b->peer_backlog[tail];
200 tail = (tail + 1) & (size - 1);
204 tail = b->conn_backlog_tail;
205 while (CIRC_CNT(head, tail, size) > 0) {
206 struct rxrpc_connection *conn = b->conn_backlog[tail];
214 tail = (tail + 1) & (size - 1);
218 tail = b->call_backlog_tail;
219 while (CIRC_CNT(head, tail, size) > 0) {
220 struct rxrpc_call *call = b->call_backlog[tail];
232 tail = (tail + 1) & (size - 1);