Lines Matching refs:pbuffer
3297 char *pbuffer; in lpfc_idiag_pcicfg_read() local
3314 pbuffer = debug->buffer; in lpfc_idiag_pcicfg_read()
3329 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3334 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3339 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3350 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_pcicfg_read()
3359 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3363 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3367 len += scnprintf(pbuffer+len, in lpfc_idiag_pcicfg_read()
3373 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3377 len += scnprintf(pbuffer+len, LPFC_PCI_CFG_SIZE-len, in lpfc_idiag_pcicfg_read()
3390 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_pcicfg_read()
3593 char *pbuffer; in lpfc_idiag_baracc_read() local
3610 pbuffer = debug->buffer; in lpfc_idiag_baracc_read()
3648 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3653 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_baracc_read()
3662 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3667 len += scnprintf(pbuffer+len, LPFC_PCI_BAR_RD_BUF_SIZE-len, in lpfc_idiag_baracc_read()
3672 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3679 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3686 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3690 len += scnprintf(pbuffer+len, in lpfc_idiag_baracc_read()
3714 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_baracc_read()
3858 char *pbuffer, int len) in __lpfc_idiag_print_wq() argument
3863 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3865 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3869 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_wq()
3875 len += scnprintf(pbuffer + len, in __lpfc_idiag_print_wq()
3881 lpfc_idiag_wqs_for_cq(struct lpfc_hba *phba, char *wqtype, char *pbuffer, in lpfc_idiag_wqs_for_cq() argument
3891 *len = __lpfc_idiag_print_wq(qp, wqtype, pbuffer, *len); in lpfc_idiag_wqs_for_cq()
3900 char *pbuffer, int len) in __lpfc_idiag_print_cq() argument
3905 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3907 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3912 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3919 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_cq()
3927 char *rqtype, char *pbuffer, int len) in __lpfc_idiag_print_rqpair() argument
3932 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3934 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3939 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3944 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_rqpair()
3954 lpfc_idiag_cqs_for_eq(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_cqs_for_eq() argument
3962 *len = __lpfc_idiag_print_cq(qp, "IO", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
3970 rc = lpfc_idiag_wqs_for_cq(phba, "IO", pbuffer, len, in lpfc_idiag_cqs_for_eq()
3978 *len = __lpfc_idiag_print_cq(qp, "NVMET CQset", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
3990 "NVMET MRQ", pbuffer, *len); in lpfc_idiag_cqs_for_eq()
4001 char *pbuffer, int len) in __lpfc_idiag_print_eq() argument
4006 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4011 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4017 len += scnprintf(pbuffer + len, LPFC_QUE_INFO_GET_BUF_SIZE - len, in __lpfc_idiag_print_eq()
4047 char *pbuffer; in lpfc_idiag_queinfo_read() local
4055 pbuffer = debug->buffer; in lpfc_idiag_queinfo_read()
4071 len += scnprintf(pbuffer + len, in lpfc_idiag_queinfo_read()
4081 len = __lpfc_idiag_print_eq(qp, "HBA", pbuffer, len); in lpfc_idiag_queinfo_read()
4090 rc = lpfc_idiag_cqs_for_eq(phba, pbuffer, &len, in lpfc_idiag_queinfo_read()
4101 len = __lpfc_idiag_print_cq(qp, "MBX", pbuffer, len); in lpfc_idiag_queinfo_read()
4107 len = __lpfc_idiag_print_wq(qp, "MBX", pbuffer, len); in lpfc_idiag_queinfo_read()
4113 len = __lpfc_idiag_print_cq(qp, "ELS", pbuffer, len); in lpfc_idiag_queinfo_read()
4122 len = __lpfc_idiag_print_wq(qp, "ELS", pbuffer, len); in lpfc_idiag_queinfo_read()
4128 "ELS RQpair", pbuffer, len); in lpfc_idiag_queinfo_read()
4135 pbuffer, len); in lpfc_idiag_queinfo_read()
4145 pbuffer, len); in lpfc_idiag_queinfo_read()
4153 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queinfo_read()
4156 len += scnprintf(pbuffer + len, in lpfc_idiag_queinfo_read()
4160 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queinfo_read()
4202 lpfc_idiag_queacc_read_qe(char *pbuffer, int len, struct lpfc_queue *pque, in lpfc_idiag_queacc_read_qe() argument
4208 if (!pbuffer || !pque) in lpfc_idiag_queacc_read_qe()
4212 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, in lpfc_idiag_queacc_read_qe()
4218 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, in lpfc_idiag_queacc_read_qe()
4224 len += scnprintf(pbuffer+len, in lpfc_idiag_queacc_read_qe()
4227 len += scnprintf(pbuffer+len, LPFC_QUE_ACC_BUF_SIZE-len, "\n"); in lpfc_idiag_queacc_read_qe()
4256 char *pbuffer; in lpfc_idiag_queacc_read() local
4266 pbuffer = debug->buffer; in lpfc_idiag_queacc_read()
4283 len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); in lpfc_idiag_queacc_read()
4285 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queacc_read()
4294 len = lpfc_idiag_queacc_read_qe(pbuffer, len, pque, index); in lpfc_idiag_queacc_read()
4305 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_queacc_read()
4569 lpfc_idiag_drbacc_read_reg(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_drbacc_read_reg() argument
4573 if (!pbuffer) 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()
4598 len += scnprintf(pbuffer+len, LPFC_DRB_ACC_BUF_SIZE-len, in lpfc_idiag_drbacc_read_reg()
4633 char *pbuffer; in lpfc_idiag_drbacc_read() local
4643 pbuffer = debug->buffer; in lpfc_idiag_drbacc_read()
4656 pbuffer, len, i); in lpfc_idiag_drbacc_read()
4659 pbuffer, len, drb_reg_id); in lpfc_idiag_drbacc_read()
4661 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_drbacc_read()
4779 lpfc_idiag_ctlacc_read_reg(struct lpfc_hba *phba, char *pbuffer, in lpfc_idiag_ctlacc_read_reg() argument
4783 if (!pbuffer) in lpfc_idiag_ctlacc_read_reg()
4788 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4794 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4800 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4806 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4812 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4818 len += scnprintf(pbuffer+len, LPFC_CTL_ACC_BUF_SIZE-len, in lpfc_idiag_ctlacc_read_reg()
4851 char *pbuffer; in lpfc_idiag_ctlacc_read() local
4861 pbuffer = debug->buffer; in lpfc_idiag_ctlacc_read()
4874 pbuffer, len, i); in lpfc_idiag_ctlacc_read()
4877 pbuffer, len, ctl_reg_id); in lpfc_idiag_ctlacc_read()
4879 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_ctlacc_read()
5001 lpfc_idiag_mbxacc_get_setup(struct lpfc_hba *phba, char *pbuffer) in lpfc_idiag_mbxacc_get_setup() argument
5011 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5013 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5015 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5017 len += scnprintf(pbuffer+len, LPFC_MBX_ACC_BUF_SIZE-len, in lpfc_idiag_mbxacc_get_setup()
5044 char *pbuffer; in lpfc_idiag_mbxacc_read() local
5054 pbuffer = debug->buffer; in lpfc_idiag_mbxacc_read()
5063 len = lpfc_idiag_mbxacc_get_setup(phba, pbuffer); in lpfc_idiag_mbxacc_read()
5065 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_mbxacc_read()
5162 lpfc_idiag_extacc_avail_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_avail_get() argument
5166 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5169 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5173 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5176 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5180 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5183 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5187 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5190 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5194 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_avail_get()
5213 lpfc_idiag_extacc_alloc_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_alloc_get() argument
5218 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()
5226 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5230 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()
5238 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5242 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()
5250 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5254 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()
5262 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5266 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_alloc_get()
5285 lpfc_idiag_extacc_drivr_get(struct lpfc_hba *phba, char *pbuffer, int len) in lpfc_idiag_extacc_drivr_get() argument
5290 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5293 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5297 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()
5308 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()
5320 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()
5332 len += scnprintf(pbuffer+len, LPFC_EXT_ACC_BUF_SIZE-len, in lpfc_idiag_extacc_drivr_get()
5409 char *pbuffer; in lpfc_idiag_extacc_read() local
5420 pbuffer = debug->buffer; in lpfc_idiag_extacc_read()
5428 len = lpfc_idiag_extacc_avail_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5430 len = lpfc_idiag_extacc_alloc_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5432 len = lpfc_idiag_extacc_drivr_get(phba, pbuffer, len); in lpfc_idiag_extacc_read()
5434 return simple_read_from_buffer(buf, nbytes, ppos, pbuffer, len); in lpfc_idiag_extacc_read()