Lines Matching defs:index
38 unsigned int index;
43 index = rx_queue->page_remove & rx_queue->page_ptr_mask;
44 page = rx_queue->page_ring[index];
48 rx_queue->page_ring[index] = NULL;
79 unsigned int index;
85 index = rx_queue->page_add & rx_queue->page_ptr_mask;
86 if (rx_queue->page_ring[index] == NULL) {
94 if (read_index == index)
96 rx_queue->page_ring[index] = page;
292 unsigned int index = i & rx_queue->ptr_mask;
294 rx_buf = efx_rx_buffer(rx_queue, index);
374 unsigned int page_offset, index, count;
410 index = rx_queue->added_count & rx_queue->ptr_mask;
411 rx_buf = efx_rx_buffer(rx_queue, index);
1047 bool (*expire_one)(struct efx_nic *efx, u32 flow_id, unsigned int index);
1049 unsigned int index, size, start;
1055 index = channel->rfs_expire_index;
1056 start = index;
1059 flow_id = channel->rps_flow_id[index];
1063 if (expire_one(efx, flow_id, index)) {
1066 index, channel->channel, flow_id);
1067 channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID;
1071 if (++index == size)
1072 index = 0;
1078 if (index == start)
1082 channel->rfs_expire_index = index;