Searched refs:blport (Results 1 – 2 of 2) sorted by relevance
1177 struct bnx2fc_lport *blport, *tmp; in bnx2fc_free_vport() local1180 list_for_each_entry_safe(blport, tmp, &hba->vports, list) { in bnx2fc_free_vport()1181 if (blport->lport == lport) { in bnx2fc_free_vport()1182 list_del(&blport->list); in bnx2fc_free_vport()1183 kfree(blport); in bnx2fc_free_vport()1498 struct bnx2fc_lport *blport; in bnx2fc_if_create() local1502 blport = kzalloc(sizeof(struct bnx2fc_lport), GFP_KERNEL); in bnx2fc_if_create()1503 if (!blport) { in bnx2fc_if_create()1579 blport->lport = lport; in bnx2fc_if_create()1580 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()