Searched refs:sas_node (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 549 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, in _transport_add_phy_to_an_existing_port() argument 558 list_for_each_entry(mpt3sas_port, &sas_node->sas_port_list, in _transport_add_phy_to_an_existing_port() 584 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy) in _transport_del_phy_from_an_existing_port() argument 592 list_for_each_entry_safe(mpt3sas_port, next, &sas_node->sas_port_list, in _transport_del_phy_from_an_existing_port() 618 _transport_sanity_check(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, in _transport_sanity_check() argument 623 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 624 if (sas_node->phy[i].remote_identify.sas_address != sas_address) in _transport_sanity_check() 626 if (sas_node->phy[i].phy_belongs_to_port == 1) in _transport_sanity_check() 627 _transport_del_phy_from_an_existing_port(ioc, sas_node, in _transport_sanity_check() 628 &sas_node->phy[i]); in _transport_sanity_check() [all …]
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_transport.c | 557 struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy, u64 sas_address) in _transport_add_phy_to_an_existing_port() argument 565 list_for_each_entry(mpt2sas_port, &sas_node->sas_port_list, in _transport_add_phy_to_an_existing_port() 591 struct _sas_node *sas_node, struct _sas_phy *mpt2sas_phy) in _transport_del_phy_from_an_existing_port() argument 599 list_for_each_entry_safe(mpt2sas_port, next, &sas_node->sas_port_list, in _transport_del_phy_from_an_existing_port() 624 _transport_sanity_check(struct MPT2SAS_ADAPTER *ioc, struct _sas_node *sas_node, in _transport_sanity_check() argument 629 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 630 if (sas_node->phy[i].remote_identify.sas_address != sas_address) in _transport_sanity_check() 632 if (sas_node->phy[i].phy_belongs_to_port == 1) in _transport_sanity_check() 633 _transport_del_phy_from_an_existing_port(ioc, sas_node, in _transport_sanity_check() 634 &sas_node->phy[i]); in _transport_sanity_check() [all …]
|