Home
last modified time | relevance | path

Searched refs:nrports (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/scsi/bfa/
Dbfad_attr.c920 int nrports = 2048; in bfad_im_num_of_discovered_ports_show() local
924 rports = kcalloc(nrports, sizeof(struct bfa_rport_qualifier_s), in bfad_im_num_of_discovered_ports_show()
930 bfa_fcs_lport_get_rport_quals(port->fcs_port, rports, &nrports); in bfad_im_num_of_discovered_ports_show()
934 return sysfs_emit(buf, "%d\n", nrports); in bfad_im_num_of_discovered_ports_show()
Dbfa_fcs.h282 struct bfa_rport_qualifier_s rport[], int *nrports);
284 int index, int nrports, bfa_boolean_t bwwn);
Dbfa_fcs_lport.c5721 int nrports, bfa_boolean_t bwwn) in bfa_fcs_lport_get_rport() argument
5728 if (port == NULL || nrports == 0) in bfa_fcs_lport_get_rport()
5732 bfa_trc(fcs, (u32) nrports); in bfa_fcs_lport_get_rport()
5738 while ((qe != qh) && (i < nrports)) { in bfa_fcs_lport_get_rport()
5769 struct bfa_rport_qualifier_s rports[], int *nrports) in bfa_fcs_lport_get_rport_quals() argument
5776 if (port == NULL || rports == NULL || *nrports == 0) in bfa_fcs_lport_get_rport_quals()
5780 bfa_trc(fcs, (u32) *nrports); in bfa_fcs_lport_get_rport_quals()
5786 while ((qe != qh) && (i < *nrports)) { in bfa_fcs_lport_get_rport_quals()
5809 *nrports = i; in bfa_fcs_lport_get_rport_quals()
Dbfad_bsg.h319 u32 nrports; member
Dbfad_bsg.c561 if (iocmd->nrports == 0) in bfad_iocmd_lport_get_rports()
566 sizeof(struct bfa_rport_qualifier_s) * iocmd->nrports) in bfad_iocmd_lport_get_rports()
586 &iocmd->nrports); in bfad_iocmd_lport_get_rports()