Searched refs:p_rtr (Results 1 – 4 of 4) sorted by relevance
62 osm_router_t *p_rtr; in osm_router_new() local66 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()
71 osm_router_t *p_rtr; in drop_mgr_remove_router() local75 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()
663 osm_router_t *p_rtr = NULL; in ni_rcv_process_new() local781 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()
167 static inline osm_port_t *osm_router_get_port_ptr(IN const osm_router_t * p_rtr) in osm_router_get_port_ptr() argument169 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() argument197 return p_rtr->p_port->p_node; in osm_router_get_node_ptr()