Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c105 uint16_t min_lid; member
136 uint16_t min_lid; in lid_mgr_validate_db() local
157 &min_lid, &max_lid)) in lid_mgr_validate_db()
164 if (min_lid > max_lid || min_lid == 0 in lid_mgr_validate_db()
170 "guid:0x%016" PRIx64 "\n", min_lid, in lid_mgr_validate_db()
173 } else if (min_lid != max_lid in lid_mgr_validate_db()
174 && (min_lid & lmc_mask) != min_lid) { in lid_mgr_validate_db()
182 min_lid, max_lid, p_item->guid, in lid_mgr_validate_db()
187 for (lid = min_lid; lid <= max_lid; lid++) { in lid_mgr_validate_db()
203 for (lid = min_lid; lid <= max_lid; lid++) { in lid_mgr_validate_db()
[all …]
H A Dosm_db_pack.c56 static inline void pack_lids(uint16_t min_lid, uint16_t max_lid, char *lid_str) in pack_lids() argument
58 sprintf(lid_str, "0x%04x 0x%04x", min_lid, max_lid); in pack_lids()
165 uint16_t min_lid, max_lid; in osm_db_guid2lid_get() local
171 if (unpack_lids(p_lid_str, &min_lid, &max_lid)) in osm_db_guid2lid_get()
175 *p_min_lid = min_lid; in osm_db_guid2lid_get()
183 IN uint16_t min_lid, IN uint16_t max_lid) in osm_db_guid2lid_set() argument
189 pack_lids(min_lid, max_lid, lid_str); in osm_db_guid2lid_set()
H A Dosm_ucast_file.c61 uint16_t min_lid, max_lid; in remap_lid() local
72 osm_port_get_lid_range_ho(p_port, &min_lid, &max_lid); in remap_lid()
73 if (min_lid <= lid && lid <= max_lid) in remap_lid()
77 return min_lid + (lid & ((1 << lmc) - 1)); in remap_lid()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_db_pack.h189 IN uint16_t min_lid, IN uint16_t max_lid);