Home
last modified time | relevance | path

Searched refs:p_lash (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_lash.c68 static void connect_switches(lash_t * p_lash, int sw1, int sw2, int phy_port_1) in connect_switches() argument
70 osm_log_t *p_log = &p_lash->p_osm->log; in connect_switches()
71 unsigned num = p_lash->switches[sw1]->node->num_links; in connect_switches()
72 switch_t *s1 = p_lash->switches[sw1]; in connect_switches()
84 if (p_lash->p_osm->subn.opt.do_mesh_analysis) { in connect_switches()
104 s2 = p_lash->switches[sw2]; in connect_switches()
171 static inline int get_next_switch(lash_t *p_lash, int sw, int link) in get_next_switch() argument
173 return p_lash->switches[sw]->node->links[link]->switch_id; in get_next_switch()
176 static void remove_semipermanent_depend_for_sp(lash_t * p_lash, int sw, in remove_semipermanent_depend_for_sp() argument
179 switch_t **switches = p_lash->switches; in remove_semipermanent_depend_for_sp()
[all …]
H A Dosm_mesh.c197 lash_t *p_lash; member
211 static int *poly_alloc(lash_t *p_lash, int n) in poly_alloc() argument
213 osm_log_t *p_log = &p_lash->p_osm->log; in poly_alloc()
300 static int **m_alloc(lash_t *p_lash, int l) in m_alloc() argument
302 osm_log_t *p_log = &p_lash->p_osm->log; in m_alloc()
355 static int ***pm_alloc(lash_t *p_lash, int l, int n) in pm_alloc() argument
357 osm_log_t *p_log = &p_lash->p_osm->log; in pm_alloc()
389 static int determinant(lash_t *p_lash, int n, int rank, int ***m, int *p);
397 static int sub_determinant(lash_t *p_lash, int n, int l, int row, int col, in sub_determinant() argument
407 if (!(p = poly_alloc(p_lash, n))) { in sub_determinant()
[all …]
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h73 void osm_mesh_node_delete(struct _lash *p_lash, struct _switch *sw);
74 int osm_mesh_node_create(struct _lash *p_lash, struct _switch *sw);
75 int osm_do_mesh_analysis(struct _lash *p_lash);