diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_debugfs.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_debugfs.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 81cdcf46c471..abb870e595b3 100644 --- a/drivers/scsi/lpfc/lpfc_debugfs.c +++ b/drivers/scsi/lpfc/lpfc_debugfs.c | |||
@@ -47,7 +47,7 @@ | |||
47 | #include "lpfc_debugfs.h" | 47 | #include "lpfc_debugfs.h" |
48 | 48 | ||
49 | #ifdef CONFIG_SCSI_LPFC_DEBUG_FS | 49 | #ifdef CONFIG_SCSI_LPFC_DEBUG_FS |
50 | /** | 50 | /* |
51 | * debugfs interface | 51 | * debugfs interface |
52 | * | 52 | * |
53 | * To access this interface the user should: | 53 | * To access this interface the user should: |
@@ -127,7 +127,7 @@ static atomic_t lpfc_debugfs_seq_trc_cnt = ATOMIC_INIT(0); | |||
127 | static unsigned long lpfc_debugfs_start_time = 0L; | 127 | static unsigned long lpfc_debugfs_start_time = 0L; |
128 | 128 | ||
129 | /** | 129 | /** |
130 | * lpfc_debugfs_disc_trc_data - Dump discovery logging to a buffer. | 130 | * lpfc_debugfs_disc_trc_data - Dump discovery logging to a buffer |
131 | * @vport: The vport to gather the log info from. | 131 | * @vport: The vport to gather the log info from. |
132 | * @buf: The buffer to dump log into. | 132 | * @buf: The buffer to dump log into. |
133 | * @size: The maximum amount of data to process. | 133 | * @size: The maximum amount of data to process. |
@@ -187,7 +187,7 @@ lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) | |||
187 | } | 187 | } |
188 | 188 | ||
189 | /** | 189 | /** |
190 | * lpfc_debugfs_slow_ring_trc_data - Dump slow ring logging to a buffer. | 190 | * lpfc_debugfs_slow_ring_trc_data - Dump slow ring logging to a buffer |
191 | * @phba: The HBA to gather the log info from. | 191 | * @phba: The HBA to gather the log info from. |
192 | * @buf: The buffer to dump log into. | 192 | * @buf: The buffer to dump log into. |
193 | * @size: The maximum amount of data to process. | 193 | * @size: The maximum amount of data to process. |
@@ -250,7 +250,7 @@ lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) | |||
250 | static int lpfc_debugfs_last_hbq = -1; | 250 | static int lpfc_debugfs_last_hbq = -1; |
251 | 251 | ||
252 | /** | 252 | /** |
253 | * lpfc_debugfs_hbqinfo_data - Dump host buffer queue info to a buffer. | 253 | * lpfc_debugfs_hbqinfo_data - Dump host buffer queue info to a buffer |
254 | * @phba: The HBA to gather host buffer info from. | 254 | * @phba: The HBA to gather host buffer info from. |
255 | * @buf: The buffer to dump log into. | 255 | * @buf: The buffer to dump log into. |
256 | * @size: The maximum amount of data to process. | 256 | * @size: The maximum amount of data to process. |
@@ -369,7 +369,7 @@ skipit: | |||
369 | static int lpfc_debugfs_last_hba_slim_off; | 369 | static int lpfc_debugfs_last_hba_slim_off; |
370 | 370 | ||
371 | /** | 371 | /** |
372 | * lpfc_debugfs_dumpHBASlim_data - Dump HBA SLIM info to a buffer. | 372 | * lpfc_debugfs_dumpHBASlim_data - Dump HBA SLIM info to a buffer |
373 | * @phba: The HBA to gather SLIM info from. | 373 | * @phba: The HBA to gather SLIM info from. |
374 | * @buf: The buffer to dump log into. | 374 | * @buf: The buffer to dump log into. |
375 | * @size: The maximum amount of data to process. | 375 | * @size: The maximum amount of data to process. |
@@ -426,7 +426,7 @@ lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) | |||
426 | } | 426 | } |
427 | 427 | ||
428 | /** | 428 | /** |
429 | * lpfc_debugfs_dumpHostSlim_data - Dump host SLIM info to a buffer. | 429 | * lpfc_debugfs_dumpHostSlim_data - Dump host SLIM info to a buffer |
430 | * @phba: The HBA to gather Host SLIM info from. | 430 | * @phba: The HBA to gather Host SLIM info from. |
431 | * @buf: The buffer to dump log into. | 431 | * @buf: The buffer to dump log into. |
432 | * @size: The maximum amount of data to process. | 432 | * @size: The maximum amount of data to process. |
@@ -501,7 +501,7 @@ lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) | |||
501 | } | 501 | } |
502 | 502 | ||
503 | /** | 503 | /** |
504 | * lpfc_debugfs_nodelist_data - Dump target node list to a buffer. | 504 | * lpfc_debugfs_nodelist_data - Dump target node list to a buffer |
505 | * @vport: The vport to gather target node info from. | 505 | * @vport: The vport to gather target node info from. |
506 | * @buf: The buffer to dump log into. | 506 | * @buf: The buffer to dump log into. |
507 | * @size: The maximum amount of data to process. | 507 | * @size: The maximum amount of data to process. |
@@ -599,7 +599,7 @@ lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size) | |||
599 | #endif | 599 | #endif |
600 | 600 | ||
601 | /** | 601 | /** |
602 | * lpfc_debugfs_disc_trc - Store discovery trace log. | 602 | * lpfc_debugfs_disc_trc - Store discovery trace log |
603 | * @vport: The vport to associate this trace string with for retrieval. | 603 | * @vport: The vport to associate this trace string with for retrieval. |
604 | * @mask: Log entry classification. | 604 | * @mask: Log entry classification. |
605 | * @fmt: Format string to be displayed when dumping the log. | 605 | * @fmt: Format string to be displayed when dumping the log. |
@@ -643,7 +643,7 @@ lpfc_debugfs_disc_trc(struct lpfc_vport *vport, int mask, char *fmt, | |||
643 | } | 643 | } |
644 | 644 | ||
645 | /** | 645 | /** |
646 | * lpfc_debugfs_slow_ring_trc - Store slow ring trace log. | 646 | * lpfc_debugfs_slow_ring_trc - Store slow ring trace log |
647 | * @phba: The phba to associate this trace string with for retrieval. | 647 | * @phba: The phba to associate this trace string with for retrieval. |
648 | * @fmt: Format string to be displayed when dumping the log. | 648 | * @fmt: Format string to be displayed when dumping the log. |
649 | * @data1: 1st data parameter to be applied to @fmt. | 649 | * @data1: 1st data parameter to be applied to @fmt. |
@@ -682,7 +682,7 @@ lpfc_debugfs_slow_ring_trc(struct lpfc_hba *phba, char *fmt, | |||
682 | 682 | ||
683 | #ifdef CONFIG_SCSI_LPFC_DEBUG_FS | 683 | #ifdef CONFIG_SCSI_LPFC_DEBUG_FS |
684 | /** | 684 | /** |
685 | * lpfc_debugfs_disc_trc_open - Open the discovery trace log. | 685 | * lpfc_debugfs_disc_trc_open - Open the discovery trace log |
686 | * @inode: The inode pointer that contains a vport pointer. | 686 | * @inode: The inode pointer that contains a vport pointer. |
687 | * @file: The file pointer to attach the log output. | 687 | * @file: The file pointer to attach the log output. |
688 | * | 688 | * |
@@ -732,7 +732,7 @@ out: | |||
732 | } | 732 | } |
733 | 733 | ||
734 | /** | 734 | /** |
735 | * lpfc_debugfs_slow_ring_trc_open - Open the Slow Ring trace log. | 735 | * lpfc_debugfs_slow_ring_trc_open - Open the Slow Ring trace log |
736 | * @inode: The inode pointer that contains a vport pointer. | 736 | * @inode: The inode pointer that contains a vport pointer. |
737 | * @file: The file pointer to attach the log output. | 737 | * @file: The file pointer to attach the log output. |
738 | * | 738 | * |
@@ -782,7 +782,7 @@ out: | |||
782 | } | 782 | } |
783 | 783 | ||
784 | /** | 784 | /** |
785 | * lpfc_debugfs_hbqinfo_open - Open the hbqinfo debugfs buffer. | 785 | * lpfc_debugfs_hbqinfo_open - Open the hbqinfo debugfs buffer |
786 | * @inode: The inode pointer that contains a vport pointer. | 786 | * @inode: The inode pointer that contains a vport pointer. |
787 | * @file: The file pointer to attach the log output. | 787 | * @file: The file pointer to attach the log output. |
788 | * | 788 | * |
@@ -824,7 +824,7 @@ out: | |||
824 | } | 824 | } |
825 | 825 | ||
826 | /** | 826 | /** |
827 | * lpfc_debugfs_dumpHBASlim_open - Open the Dump HBA SLIM debugfs buffer. | 827 | * lpfc_debugfs_dumpHBASlim_open - Open the Dump HBA SLIM debugfs buffer |
828 | * @inode: The inode pointer that contains a vport pointer. | 828 | * @inode: The inode pointer that contains a vport pointer. |
829 | * @file: The file pointer to attach the log output. | 829 | * @file: The file pointer to attach the log output. |
830 | * | 830 | * |
@@ -866,7 +866,7 @@ out: | |||
866 | } | 866 | } |
867 | 867 | ||
868 | /** | 868 | /** |
869 | * lpfc_debugfs_dumpHostSlim_open - Open the Dump Host SLIM debugfs buffer. | 869 | * lpfc_debugfs_dumpHostSlim_open - Open the Dump Host SLIM debugfs buffer |
870 | * @inode: The inode pointer that contains a vport pointer. | 870 | * @inode: The inode pointer that contains a vport pointer. |
871 | * @file: The file pointer to attach the log output. | 871 | * @file: The file pointer to attach the log output. |
872 | * | 872 | * |
@@ -993,7 +993,7 @@ lpfc_debugfs_dumpDataDif_write(struct file *file, const char __user *buf, | |||
993 | 993 | ||
994 | 994 | ||
995 | /** | 995 | /** |
996 | * lpfc_debugfs_nodelist_open - Open the nodelist debugfs file. | 996 | * lpfc_debugfs_nodelist_open - Open the nodelist debugfs file |
997 | * @inode: The inode pointer that contains a vport pointer. | 997 | * @inode: The inode pointer that contains a vport pointer. |
998 | * @file: The file pointer to attach the log output. | 998 | * @file: The file pointer to attach the log output. |
999 | * | 999 | * |
@@ -1035,7 +1035,7 @@ out: | |||
1035 | } | 1035 | } |
1036 | 1036 | ||
1037 | /** | 1037 | /** |
1038 | * lpfc_debugfs_lseek - Seek through a debugfs file. | 1038 | * lpfc_debugfs_lseek - Seek through a debugfs file |
1039 | * @file: The file pointer to seek through. | 1039 | * @file: The file pointer to seek through. |
1040 | * @off: The offset to seek to or the amount to seek by. | 1040 | * @off: The offset to seek to or the amount to seek by. |
1041 | * @whence: Indicates how to seek. | 1041 | * @whence: Indicates how to seek. |
@@ -1073,7 +1073,7 @@ lpfc_debugfs_lseek(struct file *file, loff_t off, int whence) | |||
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | /** | 1075 | /** |
1076 | * lpfc_debugfs_read - Read a debugfs file. | 1076 | * lpfc_debugfs_read - Read a debugfs file |
1077 | * @file: The file pointer to read from. | 1077 | * @file: The file pointer to read from. |
1078 | * @buf: The buffer to copy the data to. | 1078 | * @buf: The buffer to copy the data to. |
1079 | * @nbytes: The number of bytes to read. | 1079 | * @nbytes: The number of bytes to read. |
@@ -1098,7 +1098,7 @@ lpfc_debugfs_read(struct file *file, char __user *buf, | |||
1098 | } | 1098 | } |
1099 | 1099 | ||
1100 | /** | 1100 | /** |
1101 | * lpfc_debugfs_release - Release the buffer used to store debugfs file data. | 1101 | * lpfc_debugfs_release - Release the buffer used to store debugfs file data |
1102 | * @inode: The inode pointer that contains a vport pointer. (unused) | 1102 | * @inode: The inode pointer that contains a vport pointer. (unused) |
1103 | * @file: The file pointer that contains the buffer to release. | 1103 | * @file: The file pointer that contains the buffer to release. |
1104 | * | 1104 | * |
@@ -1210,7 +1210,7 @@ static atomic_t lpfc_debugfs_hba_count; | |||
1210 | #endif | 1210 | #endif |
1211 | 1211 | ||
1212 | /** | 1212 | /** |
1213 | * lpfc_debugfs_initialize - Initialize debugfs for a vport. | 1213 | * lpfc_debugfs_initialize - Initialize debugfs for a vport |
1214 | * @vport: The vport pointer to initialize. | 1214 | * @vport: The vport pointer to initialize. |
1215 | * | 1215 | * |
1216 | * Description: | 1216 | * Description: |
@@ -1434,7 +1434,7 @@ debug_failed: | |||
1434 | } | 1434 | } |
1435 | 1435 | ||
1436 | /** | 1436 | /** |
1437 | * lpfc_debugfs_terminate - Tear down debugfs infrastructure for this vport. | 1437 | * lpfc_debugfs_terminate - Tear down debugfs infrastructure for this vport |
1438 | * @vport: The vport pointer to remove from debugfs. | 1438 | * @vport: The vport pointer to remove from debugfs. |
1439 | * | 1439 | * |
1440 | * Description: | 1440 | * Description: |