Lines Matching refs:port_table_entry

6225 	struct hba_port *port_table_entry, *matched_port = NULL;  in _scsih_look_and_get_matched_port_entry()  local
6230 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_look_and_get_matched_port_entry()
6231 if (!(port_table_entry->flags & HBA_PORT_FLAG_DIRTY_PORT)) in _scsih_look_and_get_matched_port_entry()
6234 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6235 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6237 matched_port = port_table_entry; 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()
6243 && (port_table_entry->port_id == port_entry->port_id)) { in _scsih_look_and_get_matched_port_entry()
6245 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6249 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6250 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6255 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6259 if (port_table_entry->sas_address == port_entry->sas_address) { in _scsih_look_and_get_matched_port_entry()
6266 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6416 struct hba_port *port_table_entry; in _scsih_sas_port_refresh() local
6457 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) in _scsih_sas_port_refresh()
6458 port_table_entry->flags |= HBA_PORT_FLAG_DIRTY_PORT; in _scsih_sas_port_refresh()
6461 port_table_entry = NULL; in _scsih_sas_port_refresh()
6462 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_sas_port_refresh()
6465 port_table_entry->port_id, in _scsih_sas_port_refresh()
6466 port_table_entry->phy_mask, in _scsih_sas_port_refresh()
6467 port_table_entry->sas_address)); in _scsih_sas_port_refresh()
6510 port_table_entry = NULL; in _scsih_sas_port_refresh()