Lines Matching refs:npiv_tbl
2116 struct cnic_fc_npiv_tbl *npiv_tbl)
2124 if (npiv_tbl->count > MAX_NPIV_ENTRIES) {
2130 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 &&
2131 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) {
2140 for (i = 0; i < npiv_tbl->count; i++) {
2141 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]);
2150 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]);
2171 struct cnic_fc_npiv_tbl *npiv_tbl;
2203 npiv_tbl = kzalloc(sizeof(struct cnic_fc_npiv_tbl), GFP_KERNEL);
2204 if (!npiv_tbl)
2207 if (hba->cnic->get_fc_npiv_tbl(hba->cnic, npiv_tbl))
2210 bnx2fc_npiv_create_vports(lport, npiv_tbl);
2212 kfree(npiv_tbl);