Lines Matching refs:conn_entry
1912 struct lpfc_fcf_conn_entry *conn_entry; in lpfc_match_fcf_conn_list() local
1969 list_for_each_entry(conn_entry, in lpfc_match_fcf_conn_list()
1971 if (!(conn_entry->conn_rec.flags & FCFCNCT_VALID)) in lpfc_match_fcf_conn_list()
1974 if ((conn_entry->conn_rec.flags & FCFCNCT_FBNM_VALID) && in lpfc_match_fcf_conn_list()
1975 !lpfc_fab_name_match(conn_entry->conn_rec.fabric_name, in lpfc_match_fcf_conn_list()
1978 if ((conn_entry->conn_rec.flags & FCFCNCT_SWNM_VALID) && in lpfc_match_fcf_conn_list()
1979 !lpfc_sw_name_match(conn_entry->conn_rec.switch_name, in lpfc_match_fcf_conn_list()
1982 if (conn_entry->conn_rec.flags & FCFCNCT_VLAN_VALID) { in lpfc_match_fcf_conn_list()
1988 [conn_entry->conn_rec.vlan_tag / 8] & in lpfc_match_fcf_conn_list()
1989 (1 << (conn_entry->conn_rec.vlan_tag % 8)))) in lpfc_match_fcf_conn_list()
2005 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2006 !(conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED)) { in lpfc_match_fcf_conn_list()
2011 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2019 if (!(conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2028 if (conn_entry->conn_rec.flags & FCFCNCT_BOOT) in lpfc_match_fcf_conn_list()
2044 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2045 (!(conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED))) in lpfc_match_fcf_conn_list()
2046 *addr_mode = (conn_entry->conn_rec.flags & in lpfc_match_fcf_conn_list()
2053 else if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2054 (conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED) && in lpfc_match_fcf_conn_list()
2055 (conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2058 else if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2059 (conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED) && in lpfc_match_fcf_conn_list()
2060 !(conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2065 if (conn_entry->conn_rec.flags & FCFCNCT_VLAN_VALID) in lpfc_match_fcf_conn_list()
2066 *vlan_id = conn_entry->conn_rec.vlan_tag; in lpfc_match_fcf_conn_list()
7121 struct lpfc_fcf_conn_entry *conn_entry, *next_conn_entry; in lpfc_read_fcf_conn_tbl() local
7128 list_for_each_entry_safe(conn_entry, next_conn_entry, in lpfc_read_fcf_conn_tbl()
7130 list_del_init(&conn_entry->list); in lpfc_read_fcf_conn_tbl()
7131 kfree(conn_entry); in lpfc_read_fcf_conn_tbl()
7144 conn_entry = kzalloc(sizeof(struct lpfc_fcf_conn_entry), in lpfc_read_fcf_conn_tbl()
7146 if (!conn_entry) { in lpfc_read_fcf_conn_tbl()
7153 memcpy(&conn_entry->conn_rec, &conn_rec[i], in lpfc_read_fcf_conn_tbl()
7155 list_add_tail(&conn_entry->list, in lpfc_read_fcf_conn_tbl()
7161 list_for_each_entry(conn_entry, &phba->fcf_conn_rec_list, in lpfc_read_fcf_conn_tbl()
7163 conn_rec = &conn_entry->conn_rec; in lpfc_read_fcf_conn_tbl()