Searched refs:cache_switch_t (Results 1 – 1 of 1) sorted by relevance
79 } cache_switch_t; typedef81 static uint16_t cache_sw_get_base_lid_ho(cache_switch_t * p_sw) in cache_sw_get_base_lid_ho()86 static boolean_t cache_sw_is_leaf(cache_switch_t * p_sw) in cache_sw_is_leaf()91 static void cache_sw_set_leaf(cache_switch_t * p_sw) in cache_sw_set_leaf()96 static cache_switch_t *cache_sw_new(uint16_t lid_ho, unsigned num_ports) in cache_sw_new()98 cache_switch_t *p_cache_sw = malloc(sizeof(cache_switch_t) + in cache_sw_new()115 static void cache_sw_destroy(cache_switch_t * p_sw) in cache_sw_destroy()133 static cache_switch_t *cache_get_sw(osm_ucast_mgr_t * p_mgr, uint16_t lid_ho) in cache_get_sw()135 cache_switch_t *p_cache_sw = (cache_switch_t *) in cache_get_sw()137 if (p_cache_sw == (cache_switch_t *) in cache_get_sw()[all …]