Lines Matching refs:head_idx
8072 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring()
8090 rx_monitor->head_idx = 0; in lpfc_rx_monitor_destroy_ring()
8111 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_record() local
8121 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record()
8122 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_record()
8149 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_report() local
8173 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report()
8174 entry = &ring[*head_idx]; in lpfc_rx_monitor_report()
8182 *head_idx, entry->max_bytes_per_interval, in lpfc_rx_monitor_report()
8206 entry->timer_interval, *head_idx); in lpfc_rx_monitor_report()
8209 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_report()