Searched refs:rx_monitor (Results 1 – 4 of 4) sorted by relevance
355 if (phba->rx_monitor) { in lpfc_mem_free_all()356 lpfc_rx_monitor_destroy_ring(phba->rx_monitor); in lpfc_mem_free_all()357 kfree(phba->rx_monitor); in lpfc_mem_free_all()358 phba->rx_monitor = NULL; in lpfc_mem_free_all()
8048 int lpfc_rx_monitor_create_ring(struct lpfc_rx_info_monitor *rx_monitor, in lpfc_rx_monitor_create_ring() argument8051 rx_monitor->ring = kmalloc_array(entries, sizeof(struct rx_info_entry), in lpfc_rx_monitor_create_ring()8053 if (!rx_monitor->ring) in lpfc_rx_monitor_create_ring()8056 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring()8057 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring()8058 spin_lock_init(&rx_monitor->lock); in lpfc_rx_monitor_create_ring()8059 rx_monitor->entries = entries; in lpfc_rx_monitor_create_ring()8070 void lpfc_rx_monitor_destroy_ring(struct lpfc_rx_info_monitor *rx_monitor) in lpfc_rx_monitor_destroy_ring() argument8072 kfree(rx_monitor->ring); in lpfc_rx_monitor_destroy_ring()8073 rx_monitor->ring = NULL; in lpfc_rx_monitor_destroy_ring()[all …]
1509 struct lpfc_rx_info_monitor *rx_monitor; member
5589 if (!phba->rx_monitor) { in lpfc_cgn_dump_rxmonitor()5593 lpfc_rx_monitor_report(phba, phba->rx_monitor, NULL, 0, in lpfc_cgn_dump_rxmonitor()6074 if (phba->rx_monitor) { in lpfc_cmf_timer()6097 lpfc_rx_monitor_record(phba->rx_monitor, &entry); in lpfc_cmf_timer()