Lines Matching refs:conn_entry
1945 struct lpfc_fcf_conn_entry *conn_entry; in lpfc_match_fcf_conn_list() local
2002 list_for_each_entry(conn_entry, in lpfc_match_fcf_conn_list()
2004 if (!(conn_entry->conn_rec.flags & FCFCNCT_VALID)) in lpfc_match_fcf_conn_list()
2007 if ((conn_entry->conn_rec.flags & FCFCNCT_FBNM_VALID) && in lpfc_match_fcf_conn_list()
2008 !lpfc_fab_name_match(conn_entry->conn_rec.fabric_name, in lpfc_match_fcf_conn_list()
2011 if ((conn_entry->conn_rec.flags & FCFCNCT_SWNM_VALID) && in lpfc_match_fcf_conn_list()
2012 !lpfc_sw_name_match(conn_entry->conn_rec.switch_name, in lpfc_match_fcf_conn_list()
2015 if (conn_entry->conn_rec.flags & FCFCNCT_VLAN_VALID) { in lpfc_match_fcf_conn_list()
2021 [conn_entry->conn_rec.vlan_tag / 8] & in lpfc_match_fcf_conn_list()
2022 (1 << (conn_entry->conn_rec.vlan_tag % 8)))) in lpfc_match_fcf_conn_list()
2038 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2039 !(conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED)) { in lpfc_match_fcf_conn_list()
2044 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2052 if (!(conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2061 if (conn_entry->conn_rec.flags & FCFCNCT_BOOT) in lpfc_match_fcf_conn_list()
2077 if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2078 (!(conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED))) in lpfc_match_fcf_conn_list()
2079 *addr_mode = (conn_entry->conn_rec.flags & in lpfc_match_fcf_conn_list()
2086 else if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2087 (conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED) && in lpfc_match_fcf_conn_list()
2088 (conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2091 else if ((conn_entry->conn_rec.flags & FCFCNCT_AM_VALID) && in lpfc_match_fcf_conn_list()
2092 (conn_entry->conn_rec.flags & FCFCNCT_AM_PREFERRED) && in lpfc_match_fcf_conn_list()
2093 !(conn_entry->conn_rec.flags & FCFCNCT_AM_SPMA) && in lpfc_match_fcf_conn_list()
2098 if (conn_entry->conn_rec.flags & FCFCNCT_VLAN_VALID) in lpfc_match_fcf_conn_list()
2099 *vlan_id = conn_entry->conn_rec.vlan_tag; in lpfc_match_fcf_conn_list()
7031 struct lpfc_fcf_conn_entry *conn_entry, *next_conn_entry; in lpfc_read_fcf_conn_tbl() local
7038 list_for_each_entry_safe(conn_entry, next_conn_entry, in lpfc_read_fcf_conn_tbl()
7040 list_del_init(&conn_entry->list); in lpfc_read_fcf_conn_tbl()
7041 kfree(conn_entry); in lpfc_read_fcf_conn_tbl()
7054 conn_entry = kzalloc(sizeof(struct lpfc_fcf_conn_entry), in lpfc_read_fcf_conn_tbl()
7056 if (!conn_entry) { in lpfc_read_fcf_conn_tbl()
7063 memcpy(&conn_entry->conn_rec, &conn_rec[i], in lpfc_read_fcf_conn_tbl()
7065 list_add_tail(&conn_entry->list, in lpfc_read_fcf_conn_tbl()
7071 list_for_each_entry(conn_entry, &phba->fcf_conn_rec_list, in lpfc_read_fcf_conn_tbl()
7073 conn_rec = &conn_entry->conn_rec; in lpfc_read_fcf_conn_tbl()