Home
last modified time | relevance | path

Searched refs:rx_monitor (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_mem.c348 if (phba->rx_monitor) { in lpfc_mem_free_all()
349 lpfc_rx_monitor_destroy_ring(phba->rx_monitor); in lpfc_mem_free_all()
350 kfree(phba->rx_monitor); in lpfc_mem_free_all()
351 phba->rx_monitor = NULL; in lpfc_mem_free_all()
Dlpfc_crtn.h93 int lpfc_rx_monitor_create_ring(struct lpfc_rx_info_monitor *rx_monitor,
95 void lpfc_rx_monitor_destroy_ring(struct lpfc_rx_info_monitor *rx_monitor);
96 void lpfc_rx_monitor_record(struct lpfc_rx_info_monitor *rx_monitor,
99 struct lpfc_rx_info_monitor *rx_monitor, char *buf,
Dlpfc_sli.c7890 int lpfc_rx_monitor_create_ring(struct lpfc_rx_info_monitor *rx_monitor, in lpfc_rx_monitor_create_ring() argument
7893 rx_monitor->ring = kmalloc_array(entries, sizeof(struct rx_info_entry), in lpfc_rx_monitor_create_ring()
7895 if (!rx_monitor->ring) in lpfc_rx_monitor_create_ring()
7898 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring()
7899 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring()
7900 spin_lock_init(&rx_monitor->lock); in lpfc_rx_monitor_create_ring()
7901 rx_monitor->entries = entries; in lpfc_rx_monitor_create_ring()
7910 void lpfc_rx_monitor_destroy_ring(struct lpfc_rx_info_monitor *rx_monitor) in lpfc_rx_monitor_destroy_ring() argument
7912 spin_lock(&rx_monitor->lock); in lpfc_rx_monitor_destroy_ring()
7913 kfree(rx_monitor->ring); in lpfc_rx_monitor_destroy_ring()
[all …]
Dlpfc.h1562 struct lpfc_rx_info_monitor *rx_monitor; member
Dlpfc_init.c5431 if (!phba->rx_monitor) { in lpfc_cgn_dump_rxmonitor()
5435 lpfc_rx_monitor_report(phba, phba->rx_monitor, NULL, 0, in lpfc_cgn_dump_rxmonitor()
5959 if (phba->rx_monitor) { in lpfc_cmf_timer()
5982 lpfc_rx_monitor_record(phba->rx_monitor, &entry); in lpfc_cmf_timer()
Dlpfc_debugfs.c5548 if (!phba->rx_monitor) { in lpfc_rx_monitor_read()
5552 lpfc_rx_monitor_report(phba, phba->rx_monitor, buffer, in lpfc_rx_monitor_read()