Lines Matching refs:port_table_entry

6232 	struct hba_port *port_table_entry, *matched_port = NULL;  in _scsih_look_and_get_matched_port_entry()  local
6237 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_look_and_get_matched_port_entry()
6238 if (!(port_table_entry->flags & HBA_PORT_FLAG_DIRTY_PORT)) in _scsih_look_and_get_matched_port_entry()
6241 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6242 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6244 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6248 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6249 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry()
6250 && (port_table_entry->port_id == port_entry->port_id)) { in _scsih_look_and_get_matched_port_entry()
6252 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6256 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6257 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6262 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6266 if (port_table_entry->sas_address == port_entry->sas_address) { in _scsih_look_and_get_matched_port_entry()
6273 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6423 struct hba_port *port_table_entry; in _scsih_sas_port_refresh() local
6464 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) in _scsih_sas_port_refresh()
6465 port_table_entry->flags |= HBA_PORT_FLAG_DIRTY_PORT; in _scsih_sas_port_refresh()
6468 port_table_entry = NULL; in _scsih_sas_port_refresh()
6469 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_sas_port_refresh()
6472 port_table_entry->port_id, in _scsih_sas_port_refresh()
6473 port_table_entry->phy_mask, in _scsih_sas_port_refresh()
6474 port_table_entry->sas_address)); in _scsih_sas_port_refresh()
6517 port_table_entry = NULL; in _scsih_sas_port_refresh()