Lines Matching refs:npiv_tbl
2124 struct cnic_fc_npiv_tbl *npiv_tbl)
2132 if (npiv_tbl->count > MAX_NPIV_ENTRIES) {
2138 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 &&
2139 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) {
2148 for (i = 0; i < npiv_tbl->count; i++) {
2149 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]);
2158 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]);
2179 struct cnic_fc_npiv_tbl *npiv_tbl;
2211 npiv_tbl = kzalloc(sizeof(struct cnic_fc_npiv_tbl), GFP_KERNEL);
2212 if (!npiv_tbl)
2215 if (hba->cnic->get_fc_npiv_tbl(hba->cnic, npiv_tbl))
2218 bnx2fc_npiv_create_vports(lport, npiv_tbl);
2220 kfree(npiv_tbl);