Searched refs:sas_node (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 548 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, in _transport_add_phy_to_an_existing_port() argument 557 list_for_each_entry(mpt3sas_port, &sas_node->sas_port_list, in _transport_add_phy_to_an_existing_port() 583 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy) in _transport_del_phy_from_an_existing_port() argument 591 list_for_each_entry_safe(mpt3sas_port, next, &sas_node->sas_port_list, in _transport_del_phy_from_an_existing_port() 617 _transport_sanity_check(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, in _transport_sanity_check() argument 622 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 623 if (sas_node->phy[i].remote_identify.sas_address != sas_address) in _transport_sanity_check() 625 if (sas_node->phy[i].phy_belongs_to_port == 1) in _transport_sanity_check() 626 _transport_del_phy_from_an_existing_port(ioc, sas_node, in _transport_sanity_check() 627 &sas_node->phy[i]); in _transport_sanity_check() [all …]
|
/drivers/scsi/mpt2sas/ |
D | mpt2sas_transport.c | 556 struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy, u64 sas_address) in _transport_add_phy_to_an_existing_port() argument 564 list_for_each_entry(mpt2sas_port, &sas_node->sas_port_list, in _transport_add_phy_to_an_existing_port() 590 struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy) in _transport_del_phy_from_an_existing_port() argument 598 list_for_each_entry_safe(mpt2sas_port, next, &sas_node->sas_port_list, in _transport_del_phy_from_an_existing_port() 623 _transport_sanity_check(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node, in _transport_sanity_check() argument 628 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 629 if (sas_node->phy[i].remote_identify.sas_address != sas_address) in _transport_sanity_check() 631 if (sas_node->phy[i].phy_belongs_to_port == 1) in _transport_sanity_check() 632 _transport_del_phy_from_an_existing_port(ioc, sas_node, in _transport_sanity_check() 633 &sas_node->phy[i]); in _transport_sanity_check() [all …]
|