Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A 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()
H A Dlpfc_crtn.h96 int lpfc_rx_monitor_create_ring(struct lpfc_rx_info_monitor *rx_monitor,
98 void lpfc_rx_monitor_destroy_ring(struct lpfc_rx_info_monitor *rx_monitor);
99 void lpfc_rx_monitor_record(struct lpfc_rx_info_monitor *rx_monitor,
102 struct lpfc_rx_info_monitor *rx_monitor, char *buf,
H A Dlpfc_sli.c8026 * lpfc_rx_monitor_create_ring - Initialize ring buffer for rx_monitor
8027 * @rx_monitor: Pointer to lpfc_rx_info_monitor object
8034 int lpfc_rx_monitor_create_ring(struct lpfc_rx_info_monitor *rx_monitor, in lpfc_rx_monitor_create_ring() argument
8037 rx_monitor->ring = kmalloc_array(entries, sizeof(struct rx_info_entry), in lpfc_rx_monitor_create_ring()
8039 if (!rx_monitor->ring) in lpfc_rx_monitor_create_ring()
8042 rx_monitor->head_idx = 0; in lpfc_rx_monitor_create_ring()
8043 rx_monitor->tail_idx = 0; in lpfc_rx_monitor_create_ring()
8044 spin_lock_init(&rx_monitor->lock); in lpfc_rx_monitor_create_ring()
8045 rx_monitor->entries = entries; in lpfc_rx_monitor_create_ring()
8051 * lpfc_rx_monitor_destroy_ring - Free ring buffer for rx_monitor
8056 lpfc_rx_monitor_destroy_ring(struct lpfc_rx_info_monitor *rx_monitor) lpfc_rx_monitor_destroy_ring() argument
8077 lpfc_rx_monitor_record(struct lpfc_rx_info_monitor *rx_monitor, struct rx_info_entry *entry) lpfc_rx_monitor_record() argument
8113 lpfc_rx_monitor_report(struct lpfc_hba *phba, struct lpfc_rx_info_monitor *rx_monitor, char *buf, u32 buf_len, u32 max_read_entries) lpfc_rx_monitor_report() argument
[all...]
H A Dlpfc.h1536 struct lpfc_rx_info_monitor *rx_monitor; member
H A Dlpfc_init.c5583 if (!phba->rx_monitor) { in lpfc_cgn_dump_rxmonitor()
5587 lpfc_rx_monitor_report(phba, phba->rx_monitor, NULL, 0, in lpfc_cgn_dump_rxmonitor()
6068 if (phba->rx_monitor) { in lpfc_cmf_timer()
6091 lpfc_rx_monitor_record(phba->rx_monitor, &entry); in lpfc_cmf_timer()
H A Dlpfc_debugfs.c5563 if (!phba->rx_monitor) { in lpfc_rx_monitor_read()
5567 lpfc_rx_monitor_report(phba, phba->rx_monitor, buffer, in lpfc_rx_monitor_read()
6096 scnprintf(name, sizeof(name), "rx_monitor"); in lpfc_debugfs_initialize()
6104 "rx_monitor\n"); in lpfc_debugfs_initialize()

Completed in 69 milliseconds