Linux Kernel
3.7.1
|
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/dma-mapping.h>
#include <linux/idr.h>
#include <linux/interrupt.h>
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/ctype.h>
#include <scsi/scsi.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport_fc.h>
#include "lpfc_hw4.h"
#include "lpfc_hw.h"
#include "lpfc_sli.h"
#include "lpfc_sli4.h"
#include "lpfc_nl.h"
#include "lpfc_disc.h"
#include "lpfc_scsi.h"
#include "lpfc.h"
#include "lpfc_logmsg.h"
#include "lpfc_crtn.h"
#include "lpfc_vport.h"
#include "lpfc_version.h"
#include "lpfc_compat.h"
#include "lpfc_debugfs.h"
#include "lpfc_bsg.h"
Go to the source code of this file.
Functions | |
void | lpfc_debugfs_disc_trc (struct lpfc_vport *vport, int mask, char *fmt, uint32_t data1, uint32_t data2, uint32_t data3) |
void | lpfc_debugfs_slow_ring_trc (struct lpfc_hba *phba, char *fmt, uint32_t data1, uint32_t data2, uint32_t data3) |
void | lpfc_idiag_mbxacc_dump_bsg_mbox (struct lpfc_hba *phba, enum nemb_type nemb_tp, enum mbox_type mbox_tp, enum dma_type dma_tp, enum sta_type sta_tp, struct lpfc_dmabuf *dmabuf, uint32_t ext_buf) |
void | lpfc_idiag_mbxacc_dump_issue_mbox (struct lpfc_hba *phba, MAILBOX_t *pmbox) |
void | lpfc_debugfs_initialize (struct lpfc_vport *vport) |
void | lpfc_debugfs_terminate (struct lpfc_vport *vport) |
void | lpfc_debug_dump_all_queues (struct lpfc_hba *phba) |
lpfc_debug_dump_all_queues - dump all the queues with a hba : Pointer to HBA context object.
This function dumps entries of all the queues asociated with the .
Definition at line 4575 of file lpfc_debugfs.c.
|
inline |
lpfc_debugfs_disc_trc - Store discovery trace log : The vport to associate this trace string with for retrieval. : Log entry classification. : Format string to be displayed when dumping the log. : 1st data parameter to be applied to . : 2nd data parameter to be applied to . : 3rd data parameter to be applied to .
Description: This routine is used by the driver code to add a debugfs log entry to the discovery trace buffer associated with . Only entries with a that match the current debugfs discovery mask will be saved. Entries that do not match will be thrown away. , , , and are used like printf when displaying the log.
Definition at line 635 of file lpfc_debugfs.c.
|
inline |
lpfc_debugfs_initialize - Initialize debugfs for a vport : The vport pointer to initialize.
Description: When Debugfs is configured this routine sets up the lpfc debugfs file system. If not already created, this routine will create the lpfc directory, and lpfcX directory (for this HBA), and vportX directory for this vport. It will also create each file used to access lpfc specific debugfs information.
Definition at line 3938 of file lpfc_debugfs.c.
|
inline |
lpfc_debugfs_slow_ring_trc - Store slow ring trace log : The phba to associate this trace string with for retrieval. : Format string to be displayed when dumping the log. : 1st data parameter to be applied to . : 2nd data parameter to be applied to . : 3rd data parameter to be applied to .
Description: This routine is used by the driver code to add a debugfs log entry to the discovery trace buffer associated with . , , , and are used like printf when displaying the log.
Definition at line 676 of file lpfc_debugfs.c.
|
inline |
lpfc_debugfs_terminate - Tear down debugfs infrastructure for this vport : The vport pointer to remove from debugfs.
Description: When Debugfs is configured this routine removes debugfs file system elements that are specific to this vport. It also checks to see if there are any users left for the debugfs directories associated with the HBA and driver. If this is the last user of the HBA directory or driver directory then it will remove those from the debugfs infrastructure as well.
Definition at line 4402 of file lpfc_debugfs.c.
void lpfc_idiag_mbxacc_dump_bsg_mbox | ( | struct lpfc_hba * | phba, |
enum nemb_type | nemb_tp, | ||
enum mbox_type | mbox_tp, | ||
enum dma_type | dma_tp, | ||
enum sta_type | sta_tp, | ||
struct lpfc_dmabuf * | dmabuf, | ||
uint32_t | ext_buf | ||
) |
Definition at line 3740 of file lpfc_debugfs.c.