Lines Matching refs:pbuffer

3295 	char *pbuffer;  in lpfc_idiag_pcicfg_read()  local
3312 pbuffer = debug->buffer; in lpfc_idiag_pcicfg_read()
3327 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3332 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3337 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3347 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_pcicfg_read()
3356 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3360 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3364 len += scnprintf(pbuffer+len, in lpfc_idiag_pcicfg_read()
3370 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3374 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3387 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_pcicfg_read()
3590 char *pbuffer; in lpfc_idiag_baracc_read() local
3607 pbuffer = debug->buffer; in lpfc_idiag_baracc_read()
3645 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3650 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_baracc_read()
3659 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3664 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3669 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3676 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3683 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3687 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3711 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_baracc_read()
3855 char *pbuffer, int len) in __lpfc_idiag_print_wq() argument
3860 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3862 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3866 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3872 len += scnprintf(pbuffer + len, in __lpfc_idiag_print_wq()
3878 lpfc_idiag_wqs_for_cq(struct lpfc_hba *phba, char *wqtype, char *pbuffer, in lpfc_idiag_wqs_for_cq() argument
3888 *len = __lpfc_idiag_print_wq(qp, wqtype, pbuffer, *len); in lpfc_idiag_wqs_for_cq()
3897 char *pbuffer, int len) in __lpfc_idiag_print_cq() argument
3902 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3904 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3909 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3916 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3924 char *rqtype, char *pbuffer, int len) in __lpfc_idiag_print_rqpair() argument
3929 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3931 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3936 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3941 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3951 lpfc_idiag_cqs_for_eq(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_cqs_for_eq() argument
3959 *len = __lpfc_idiag_print_cq(qp, "IO", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
3967 rc = lpfc_idiag_wqs_for_cq(phba, "IO", pbuffer, len, in lpfc_idiag_cqs_for_eq()
3975 *len = __lpfc_idiag_print_cq(qp, "NVMET CQset", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
3987 "NVMET MRQ", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
3998 char *pbuffer, int len) in __lpfc_idiag_print_eq() argument
4003 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4008 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4014 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4044 char *pbuffer; in lpfc_idiag_queinfo_read() local
4052 pbuffer = debug->buffer; in lpfc_idiag_queinfo_read()
4068 len += scnprintf(pbuffer + len, in lpfc_idiag_queinfo_read()
4078 len = __lpfc_idiag_print_eq(qp, "HBA", pbuffer, len); in lpfc_idiag_queinfo_read()
4087 rc = lpfc_idiag_cqs_for_eq(phba, pbuffer, &len, in lpfc_idiag_queinfo_read()
4098 len = __lpfc_idiag_print_cq(qp, "MBX", pbuffer, len); in lpfc_idiag_queinfo_read()
4104 len = __lpfc_idiag_print_wq(qp, "MBX", pbuffer, len); in lpfc_idiag_queinfo_read()
4110 len = __lpfc_idiag_print_cq(qp, "ELS", pbuffer, len); in lpfc_idiag_queinfo_read()
4119 len = __lpfc_idiag_print_wq(qp, "ELS", pbuffer, len); in lpfc_idiag_queinfo_read()
4125 "ELS RQpair", pbuffer, len); in lpfc_idiag_queinfo_read()
4132 pbuffer, len); in lpfc_idiag_queinfo_read()
4142 pbuffer, len); in lpfc_idiag_queinfo_read()
4150 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queinfo_read()
4153 len += scnprintf(pbuffer + len, in lpfc_idiag_queinfo_read()
4157 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queinfo_read()
4200 lpfc_idiag_queacc_read_qe(char *pbuffer, int len, struct lpfc_queue *pque, in lpfc_idiag_queacc_read_qe() argument
4206 if (!pbuffer || !pque) in lpfc_idiag_queacc_read_qe()
4210 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, in lpfc_idiag_queacc_read_qe()
4216 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, in lpfc_idiag_queacc_read_qe()
4222 len += scnprintf(pbuffer+len, in lpfc_idiag_queacc_read_qe()
4225 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, "\n"); in lpfc_idiag_queacc_read_qe()
4254 char *pbuffer; in lpfc_idiag_queacc_read() local
4264 pbuffer = debug->buffer; in lpfc_idiag_queacc_read()
4281 len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); in lpfc_idiag_queacc_read()
4283 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queacc_read()
4292 len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); in lpfc_idiag_queacc_read()
4303 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queacc_read()
4564 lpfc_idiag_drbacc_read_reg(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_drbacc_read_reg() argument
4568 if (!pbuffer) in lpfc_idiag_drbacc_read_reg()
4573 len += scnprintf(pbuffer + len, LPFC_DRB_ACC_BUF_SIZE-len, in lpfc_idiag_drbacc_read_reg()
4578 len += scnprintf(pbuffer + len, LPFC_DRB_ACC_BUF_SIZE - len, in lpfc_idiag_drbacc_read_reg()
4583 len += scnprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, in lpfc_idiag_drbacc_read_reg()
4588 len += scnprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, in lpfc_idiag_drbacc_read_reg()
4593 len += scnprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, in lpfc_idiag_drbacc_read_reg()
4628 char *pbuffer; in lpfc_idiag_drbacc_read() local
4638 pbuffer = debug->buffer; in lpfc_idiag_drbacc_read()
4651 pbuffer, len, i); in lpfc_idiag_drbacc_read()
4654 pbuffer, len, drb_reg_id); in lpfc_idiag_drbacc_read()
4656 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_drbacc_read()
4774 lpfc_idiag_ctlacc_read_reg(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_ctlacc_read_reg() argument
4778 if (!pbuffer) in lpfc_idiag_ctlacc_read_reg()
4783 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4789 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4795 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4801 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4807 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4813 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4846 char *pbuffer; in lpfc_idiag_ctlacc_read() local
4856 pbuffer = debug->buffer; in lpfc_idiag_ctlacc_read()
4869 pbuffer, len, i); in lpfc_idiag_ctlacc_read()
4872 pbuffer, len, ctl_reg_id); in lpfc_idiag_ctlacc_read()
4874 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_ctlacc_read()
4996 lpfc_idiag_mbxacc_get_setup(struct lpfc_hba *phba, char *pbuffer) in lpfc_idiag_mbxacc_get_setup() argument
5006 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5008 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5010 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5012 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5039 char *pbuffer; in lpfc_idiag_mbxacc_read() local
5049 pbuffer = debug->buffer; in lpfc_idiag_mbxacc_read()
5058 len = lpfc_idiag_mbxacc_get_setup(phba, pbuffer); in lpfc_idiag_mbxacc_read()
5060 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_mbxacc_read()
5157 lpfc_idiag_extacc_avail_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_avail_get() argument
5161 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5164 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5168 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5171 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5175 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5178 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5182 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5185 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5189 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5208 lpfc_idiag_extacc_alloc_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_alloc_get() argument
5213 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5216 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5221 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5225 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5228 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5233 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5237 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5240 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5245 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5249 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5252 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5257 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5261 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5280 lpfc_idiag_extacc_drivr_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_drivr_get() argument
5285 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5288 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5292 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5298 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5303 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5310 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5315 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5322 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5327 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5404 char *pbuffer; in lpfc_idiag_extacc_read() local
5415 pbuffer = debug->buffer; in lpfc_idiag_extacc_read()
5423 len = lpfc_idiag_extacc_avail_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5425 len = lpfc_idiag_extacc_alloc_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5427 len = lpfc_idiag_extacc_drivr_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5429 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_extacc_read()