Searched refs:sas_node (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 70 * the sas_node object. 541 * @sas_node: sas node object (either expander or sas host) 549 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, _transport_add_phy_to_an_existing_port() 558 list_for_each_entry(mpt3sas_port, &sas_node->sas_port_list, _transport_add_phy_to_an_existing_port() 577 * @sas_node: sas node object (either expander or sas host) 584 struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy) _transport_del_phy_from_an_existing_port() 592 list_for_each_entry_safe(mpt3sas_port, next, &sas_node->sas_port_list, _transport_del_phy_from_an_existing_port() 612 * @sas_node: sas node object (either expander or sas host) 618 _transport_sanity_check(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, _transport_sanity_check() argument 623 for (i = 0; i < sas_node->num_phys; i++) { _transport_sanity_check() 624 if (sas_node->phy[i].remote_identify.sas_address != sas_address) _transport_sanity_check() 626 if (sas_node->phy[i].phy_belongs_to_port == 1) _transport_sanity_check() 627 _transport_del_phy_from_an_existing_port(ioc, sas_node, _transport_sanity_check() 628 &sas_node->phy[i]); _transport_sanity_check() 639 * Adding new port object to the sas_node->sas_port_list. 650 struct _sas_node *sas_node; mpt3sas_transport_port_add() local 667 sas_node = _transport_sas_node_find_by_sas_address(ioc, sas_address); mpt3sas_transport_port_add() 670 if (!sas_node) { mpt3sas_transport_port_add() 690 _transport_sanity_check(ioc, sas_node, mpt3sas_transport_port_add() 693 for (i = 0; i < sas_node->num_phys; i++) { mpt3sas_transport_port_add() 694 if (sas_node->phy[i].remote_identify.sas_address != mpt3sas_transport_port_add() 697 list_add_tail(&sas_node->phy[i].port_siblings, mpt3sas_transport_port_add() 708 port = sas_port_alloc_num(sas_node->parent_dev); mpt3sas_transport_port_add() 765 list_add_tail(&mpt3sas_port->port_list, &sas_node->sas_port_list); mpt3sas_transport_port_add() 805 struct _sas_node *sas_node; mpt3sas_transport_port_remove() local 810 sas_node = _transport_sas_node_find_by_sas_address(ioc, mpt3sas_transport_port_remove() 812 if (!sas_node) { mpt3sas_transport_port_remove() 816 list_for_each_entry_safe(mpt3sas_port, next, &sas_node->sas_port_list, mpt3sas_transport_port_remove() 830 for (i = 0; i < sas_node->num_phys; i++) { mpt3sas_transport_port_remove() 831 if (sas_node->phy[i].remote_identify.sas_address == sas_address) mpt3sas_transport_port_remove() 832 memset(&sas_node->phy[i].remote_identify, 0 , mpt3sas_transport_port_remove() 1006 struct _sas_node *sas_node; mpt3sas_transport_update_links() local 1013 sas_node = _transport_sas_node_find_by_sas_address(ioc, sas_address); mpt3sas_transport_update_links() 1014 if (!sas_node) { mpt3sas_transport_update_links() 1019 mpt3sas_phy = &sas_node->phy[phy_number]; mpt3sas_transport_update_links() 1025 _transport_add_phy_to_an_existing_port(ioc, sas_node, mpt3sas_transport_update_links() 548 _transport_add_phy_to_an_existing_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, u64 sas_address) _transport_add_phy_to_an_existing_port() argument 583 _transport_del_phy_from_an_existing_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy) _transport_del_phy_from_an_existing_port() argument
|
H A D | mpt3sas_scsih.c | 975 * sas_node object. 1000 * sas_node object.
|
Completed in 158 milliseconds