Searched refs:lft_size (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_switch.c | 606 uint16_t lft_size; in alloc_lft() local 609 lft_size = (lids / IB_SMP_DATA_SIZE + 1) * IB_SMP_DATA_SIZE; in alloc_lft() 610 if (lft_size > p_sw->lft_size) { in alloc_lft() 611 uint8_t *new_lft = realloc(p_sw->lft, lft_size); in alloc_lft() 614 memset(new_lft + p_sw->lft_size, OSM_NO_PATH, in alloc_lft() 615 lft_size - p_sw->lft_size); in alloc_lft() 617 p_sw->lft_size = lft_size; in alloc_lft() 637 if (!(new_lft = realloc(p_sw->new_lft, p_sw->lft_size))) in osm_switch_prepare_path_rebuild() 642 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->lft_size); in osm_switch_prepare_path_rebuild()
|
H A D | osm_ucast_cache.c | 998 p_node->sw->lft_size = 0; in osm_ucast_cache_add_node() 1028 uint16_t lft_size; in osm_ucast_cache_process() local 1045 lft_size = (p_sw->max_lid_ho / IB_SMP_DATA_SIZE + 1) in osm_ucast_cache_process() 1047 p_sw->lft = malloc(lft_size); in osm_ucast_cache_process() 1050 p_sw->lft_size = lft_size; in osm_ucast_cache_process() 1051 memset(p_sw->lft, OSM_NO_PATH, p_sw->lft_size); in osm_ucast_cache_process()
|
H A D | osm_ucast_file.c | 197 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->lft_size); in do_ucast_file_load()
|
H A D | osm_ucast_lash.c | 1009 memset(p_sw->new_lft, OSM_NO_PATH, p_sw->lft_size); in populate_fwd_tbls()
|
H A D | osm_ucast_ftree.c | 590 memset(p_osm_sw->new_lft, OSM_NO_PATH, p_osm_sw->lft_size); in sw_create()
|
H A D | osm_torus.c | 8637 memset(osm_sw->new_lft, OSM_NO_PATH, osm_sw->lft_size); in torus_lft()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_switch.h | 106 uint16_t lft_size; member 718 if (lid_start + IB_SMP_DATA_SIZE > p_sw->lft_size) in osm_switch_set_lft_block()
|