Home
last modified time | relevance | path

Searched refs:p_rtr (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_router.c62 osm_router_t *p_rtr; in osm_router_new() local
66 p_rtr = malloc(sizeof(*p_rtr)); in osm_router_new()
67 if (p_rtr) { in osm_router_new()
68 memset(p_rtr, 0, sizeof(*p_rtr)); in osm_router_new()
69 p_rtr->p_port = p_port; in osm_router_new()
72 return p_rtr; in osm_router_new()
H A Dosm_drop_mgr.c71 osm_router_t *p_rtr; in drop_mgr_remove_router() local
75 p_rtr = (osm_router_t *) cl_qmap_remove(p_rtr_guid_tbl, portguid); in drop_mgr_remove_router()
76 if (p_rtr != (osm_router_t *) cl_qmap_end(p_rtr_guid_tbl)) { in drop_mgr_remove_router()
80 osm_router_delete(&p_rtr); in drop_mgr_remove_router()
H A Dosm_node_info_rcv.c663 osm_router_t *p_rtr = NULL; in ni_rcv_process_new() local
781 if (PF((p_rtr = osm_router_new(p_port)) == NULL)) in ni_rcv_process_new()
789 &p_rtr->map_item); in ni_rcv_process_new()
790 if (PF(p_rtr_check != p_rtr)) in ni_rcv_process_new()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_router.h167 static inline osm_port_t *osm_router_get_port_ptr(IN const osm_router_t * p_rtr) in osm_router_get_port_ptr() argument
169 return p_rtr->p_port; in osm_router_get_port_ptr()
195 static inline osm_node_t *osm_router_get_node_ptr(IN const osm_router_t * p_rtr) in osm_router_get_node_ptr() argument
197 return p_rtr->p_port->p_node; in osm_router_get_node_ptr()