Lines Matching defs:index
45 unsigned int index;
50 index = rx_queue->page_remove & rx_queue->page_ptr_mask;
51 page = rx_queue->page_ring[index];
55 rx_queue->page_ring[index] = NULL;
86 unsigned int index;
92 index = rx_queue->page_add & rx_queue->page_ptr_mask;
93 if (rx_queue->page_ring[index] == NULL) {
101 if (read_index == index)
103 rx_queue->page_ring[index] = page;
305 unsigned int index = i & rx_queue->ptr_mask;
307 rx_buf = efx_rx_buffer(rx_queue, index);
387 unsigned int page_offset, index, count;
423 index = rx_queue->added_count & rx_queue->ptr_mask;
424 rx_buf = efx_rx_buffer(rx_queue, index);
1064 bool (*expire_one)(struct efx_nic *efx, u32 flow_id, unsigned int index);
1066 unsigned int index, size, start;
1072 index = channel->rfs_expire_index;
1073 start = index;
1076 flow_id = channel->rps_flow_id[index];
1080 if (expire_one(efx, flow_id, index)) {
1083 index, channel->channel, flow_id);
1084 channel->rps_flow_id[index] = RPS_FLOW_ID_INVALID;
1088 if (++index == size)
1089 index = 0;
1095 if (index == start)
1099 channel->rfs_expire_index = index;