Searched refs:p_old_pi (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_link_mgr.c | 97 const ib_port_info_t *p_old_pi; in link_mgr_set_physp_pi() local 116 p_old_pi = &p_physp->port_info; in link_mgr_set_physp_pi() 120 memcpy(payload, p_old_pi, sizeof(ib_port_info_t)); in link_mgr_set_physp_pi() 135 if (p_pi->master_sm_base_lid != p_old_pi->master_sm_base_lid) in link_mgr_set_physp_pi() 162 if (smsl != ib_port_info_get_master_smsl(p_old_pi)) { in link_mgr_set_physp_pi() 215 ib_port_info_get_link_down_def_state(p_old_pi)) in link_mgr_set_physp_pi() 219 if (!ib_port_info_get_port_state(p_old_pi)) in link_mgr_set_physp_pi() 228 if (memcmp(&p_pi->m_key, &p_old_pi->m_key, in link_mgr_set_physp_pi() 236 &p_old_pi->subnet_prefix, in link_mgr_set_physp_pi() 241 if (smsl != ib_port_info_get_master_smsl(p_old_pi)) { in link_mgr_set_physp_pi() [all …]
|
H A D | osm_lid_mgr.c | 808 const ib_port_info_t *p_old_pi; in lid_mgr_set_physp_pi() local 844 p_old_pi = &p_physp->port_info; in lid_mgr_set_physp_pi() 857 memcpy(payload, p_old_pi, sizeof(ib_port_info_t)); in lid_mgr_set_physp_pi() 872 ib_port_info_get_link_down_def_state(p_old_pi)) in lid_mgr_set_physp_pi() 876 if (!ib_port_info_get_port_state(p_old_pi)) in lid_mgr_set_physp_pi() 880 if (memcmp(&p_pi->m_key, &p_old_pi->m_key, sizeof(p_pi->m_key))) { in lid_mgr_set_physp_pi() 886 if (memcmp(&p_pi->subnet_prefix, &p_old_pi->subnet_prefix, in lid_mgr_set_physp_pi() 892 if (memcmp(&p_pi->base_lid, &p_old_pi->base_lid, in lid_mgr_set_physp_pi() 909 if (memcmp(&p_pi->master_sm_base_lid, &p_old_pi->master_sm_base_lid, in lid_mgr_set_physp_pi() 916 if (memcmp(&p_pi->m_key_lease_period, &p_old_pi->m_key_lease_period, in lid_mgr_set_physp_pi() [all …]
|