Searched refs:blport (Results 1 – 2 of 2) sorted by relevance
1173 struct bnx2fc_lport *blport, *tmp; in bnx2fc_free_vport() local1176 list_for_each_entry_safe(blport, tmp, &hba->vports, list) { in bnx2fc_free_vport()1177 if (blport->lport == lport) { in bnx2fc_free_vport()1178 list_del(&blport->list); in bnx2fc_free_vport()1179 kfree(blport); in bnx2fc_free_vport()1494 struct bnx2fc_lport *blport; in bnx2fc_if_create() local1498 blport = kzalloc(sizeof(struct bnx2fc_lport), GFP_KERNEL); in bnx2fc_if_create()1499 if (!blport) { in bnx2fc_if_create()1574 blport->lport = lport; in bnx2fc_if_create()1575 list_add_tail(&blport->list, &hba->vports); in bnx2fc_if_create()[all …]
517 struct bnx2fc_lport *blport; in is_valid_lport() local520 list_for_each_entry(blport, &hba->vports, list) { in is_valid_lport()521 if (blport->lport == lport) { in is_valid_lport()