Lines Matching refs:head_idx
7898 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring()
7916 rx_monitor->head_idx = 0; in lpfc_rx_monitor_destroy_ring()
7937 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_record() local
7947 if (*tail_idx == *head_idx) in lpfc_rx_monitor_record()
7948 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_record()
7975 u32 *head_idx = &rx_monitor->head_idx; in lpfc_rx_monitor_report() local
7999 while (*head_idx != *tail_idx) { in lpfc_rx_monitor_report()
8000 entry = &ring[*head_idx]; in lpfc_rx_monitor_report()
8008 *head_idx, entry->max_bytes_per_interval, in lpfc_rx_monitor_report()
8032 entry->timer_interval, *head_idx); in lpfc_rx_monitor_report()
8035 *head_idx = (*head_idx + 1) % ring_size; in lpfc_rx_monitor_report()