/freebsd-10.0-release/etc/rc.d/ |
H A D | opensm | 21 for guid in `ibstat | grep "Port GUID" | cut -d ':' -f2`; do 22 [ -z "${rc_quiet}" ] && echo "Starting ${guid} opensm." 23 ${command} ${command_args} -g ${guid} >> /dev/null
|
/freebsd-10.0-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_db_pack.h | 45 * guid2lid - key is a guid and data is a lid. 105 uint64_t guid; member in struct:osm_db_guid_elem 112 * guid 121 * Provides back a list of guid elements. 134 * [out] A quick list of guid elements of type osm_db_guid_elem_t 152 * Get a lid range by given guid. 158 IN uint64_t guid, 165 * guid 166 * [in] The guid to look for 187 * Set a lid range for the given guid [all...] |
H A D | osm_perfmgr_db.h | 165 perfmgr_db_err_t perfmgr_db_create_entry(perfmgr_db_t * db, uint64_t guid, 168 perfmgr_db_err_t perfmgr_db_add_err_reading(perfmgr_db_t * db, uint64_t guid, 171 perfmgr_db_err_t perfmgr_db_get_prev_err(perfmgr_db_t * db, uint64_t guid, 174 perfmgr_db_err_t perfmgr_db_clear_prev_err(perfmgr_db_t * db, uint64_t guid, 177 perfmgr_db_err_t perfmgr_db_add_dc_reading(perfmgr_db_t * db, uint64_t guid, 181 perfmgr_db_err_t perfmgr_db_get_prev_dc(perfmgr_db_t * db, uint64_t guid, 185 perfmgr_db_err_t perfmgr_db_clear_prev_dc(perfmgr_db_t * db, uint64_t guid, 192 void perfmgr_db_print_by_guid(perfmgr_db_t * db, uint64_t guid, FILE *fp);
|
H A D | osm_prefix_route.h | 55 ib_net64_t guid; /* zero means "any" */ member in struct:__anon4020
|
H A D | osm_partition.h | 196 IN const ib_net64_t guid) 198 return (cl_map_get(&p_prtn->full_guid_tbl, guid) != NULL) || 199 (cl_map_get(&p_prtn->part_guid_tbl, guid) != NULL); 207 * guid 195 osm_prtn_is_guid(IN const osm_prtn_t * const p_prtn, IN const ib_net64_t guid) argument
|
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_db_pack.c | 44 static inline void __osm_pack_guid(uint64_t guid, char *p_guid_str) argument 46 sprintf(p_guid_str, "0x%016" PRIx64, guid); 107 p_guid_elem->guid = __osm_unpack_guid(p_key); 117 IN uint64_t guid, 124 __osm_pack_guid(guid, guid_str); 141 IN uint64_t guid, IN uint16_t min_lid, IN uint16_t max_lid) 146 __osm_pack_guid(guid, guid_str); 152 int osm_db_guid2lid_delete(IN osm_db_domain_t * const p_g2l, IN uint64_t guid) argument 155 __osm_pack_guid(guid, guid_str); 116 osm_db_guid2lid_get(IN osm_db_domain_t * const p_g2l, IN uint64_t guid, OUT uint16_t * p_min_lid, OUT uint16_t * p_max_lid) argument 140 osm_db_guid2lid_set(IN osm_db_domain_t * const p_g2l, IN uint64_t guid, IN uint16_t min_lid, IN uint16_t max_lid) argument
|
H A D | osm_ucast_file.c | 56 static uint16_t remap_lid(osm_opensm_t * p_osm, uint16_t lid, ib_net64_t guid) argument 62 p_port = osm_get_port_by_guid(&p_osm->subn, guid); 65 "cannot find port guid 0x%016" PRIx64 66 " , will use the same lid\n", cl_ntoh64(guid)); 108 uint16_t lid, ib_net64_t guid, 114 new_lid = guid ? remap_lid(p_osm, lid, guid) : lid; 173 q = strstr(p, " guid 0x"); 186 "cannot parse switch guid: \'%s\'\n", 223 /* additionally try to exract guid */ 107 add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, ib_net64_t guid, uint8_t hops[], unsigned len) argument 262 ib_net64_t guid; local [all...] |
H A D | osm_sminfo_rcv.c | 72 p_remote_smi->guid, 101 p_smi->guid = sm->p_subn->sm_port_guid; 195 p_smi->guid = sm->p_subn->sm_port_guid; 285 /* the master_sm_guid variable - the guid of the current master. */ 290 cl_ntoh64(sm_smi->guid)); 291 sm->master_sm_guid = sm_smi->guid; 321 cl_ntoh64(p_smi->guid), ib_sminfo_get_state(p_smi)); 334 /* save on the sm the guid of the current master. */ 337 PRIx64 "\n", cl_ntoh64(p_sm->p_port->guid)); 338 sm->master_sm_guid = p_sm->p_port->guid; [all...] |
H A D | osm_sa_guidinfo_record.c | 106 p_rec_item->rec.guid_info.guid[0] = 249 if (p_comp_gi->guid[0] != match_port_guid) 254 if (p_comp_gi->guid[1] != 0) 259 if (p_comp_gi->guid[2] != 0) 264 if (p_comp_gi->guid[3] != 0) 269 if (p_comp_gi->guid[4] != 0) 274 if (p_comp_gi->guid[5] != 0) 279 if (p_comp_gi->guid[6] != 0) 284 if (p_comp_gi->guid[7] != 0)
|
H A D | osm_perfmgr_db.c | 79 static inline _db_node_t *_get(perfmgr_db_t * db, uint64_t guid) argument 81 cl_map_item_t *rc = cl_qmap_get(&(db->pc_data), guid); 100 static _db_node_t *__malloc_node(uint64_t guid, uint8_t num_ports, char *name) argument 112 rc->node_guid = guid; 154 perfmgr_db_create_entry(perfmgr_db_t * db, uint64_t guid, argument 160 if (!_get(db, guid)) { 161 _db_node_t *pc_node = __malloc_node(guid, num_ports, name); 181 debug_dump_err_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, argument 190 "GUID 0x%" PRIx64 " Port %u:\n", guid, port_num); 246 perfmgr_db_add_err_reading(perfmgr_db_t * db, uint64_t guid, argument 318 perfmgr_db_get_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_err_reading_t * reading) argument 339 perfmgr_db_clear_prev_err(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument 361 debug_dump_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port_num, _db_port_t * port, perfmgr_db_data_cnt_reading_t * cur) argument 388 perfmgr_db_add_dc_reading(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading) argument 443 perfmgr_db_get_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port, perfmgr_db_data_cnt_reading_t * reading) argument 464 perfmgr_db_clear_prev_dc(perfmgr_db_t * db, uint64_t guid, uint8_t port) argument [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/include/vendor/ |
H A D | osm_vendor_mtl_hca_guid.h | 38 * Provides interface over VAPI for obtaining the local ports guids or from guid 64 ib_net64_t guid; member in struct:_osm_ca_info 72 * guid 123 * Given the vendor obj and a guid 124 * return the ca id and port number that have that guid 130 IN ib_net64_t const guid, 139 * guid 140 * [in] The guid to search for. 146 * [out] Pointer to a port number arg to be filled with the port number with the given guid. 150 * IB_INVALID_GUID if the guid i [all...] |
H A D | osm_vendor_mlx_hca.h | 57 IN ib_net64_t const guid,
|
H A D | osm_vendor_mtl.h | 93 ib_net64_t guid; member in struct:_osm_ca_info 101 * guid 223 * Given the vendor obj and a guid 224 * return the ca id and port number that have that guid 230 IN ib_net64_t const guid, 240 * guid 241 * [in] The guid to search for. 247 * [out] Pointer to a port number arg to be filled with the port number with the given guid. 251 * IB_INVALID_GUID if the guid is notfound on any Local HCA Port
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfeature_common.c | 62 * Every feature guid must contain exactly one colon which separates a reverse 89 zfeature_is_supported(const char *guid) argument 94 return (0 == zfeature_lookup_guid(guid, NULL)); 98 zfeature_lookup_guid(const char *guid, zfeature_info_t **res) argument 102 if (strcmp(guid, feature->fi_guid) == 0) { 128 zfeature_register(int fid, const char *guid, const char *name, const char *desc, argument 138 ASSERT(zfeature_is_valid_guid(guid)); 143 feature->fi_guid = guid;
|
/freebsd-10.0-release/sys/boot/i386/efi/ |
H A D | main.c | 232 guid_to_string(EFI_GUID *guid) argument 237 guid->Data1, guid->Data2, guid->Data3, guid->Data4[0], 238 guid->Data4[1], guid->Data4[2], guid->Data4[3], guid->Data4[4], 239 guid 250 EFI_GUID *guid; local [all...] |
/freebsd-10.0-release/contrib/ofed/management/libibmad/src/ |
H A D | resolve.c | 77 ib_resolve_guid_via(ib_portid_t *portid, uint64_t *guid, ib_portid_t *sm_id, int timeout, const void *srcport) argument 89 if (guid) 90 mad_set_field64(portid->gid, 0, IB_GID_GUID_F, *guid); 101 uint64_t guid; local 120 if (!(guid = strtoull(addr_str, 0, 0))) 123 /* keep guid in portid? */ 124 return ib_resolve_guid_via(portid, &guid, sm_id, 0, srcport); 161 uint64_t guid, prefix; local 171 mad_decode_field(nodeinfo, IB_NODE_PORT_GUID_F, &guid); 177 mad_encode_field(*gid, IB_GID_GUID_F, &guid); [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/complib/ |
H A D | cl_nodenamemap.c | 51 static int map_name(void *cxt, uint64_t guid, char *p) argument 63 item->guid = guid; 65 cl_qmap_insert(map, item->guid, (cl_map_item_t *)item); 111 item = (name_map_item_t *)cl_qmap_remove(map, item->guid); 163 uint64_t guid; local 172 guid = strtoull(p, &e, 0); 186 if (create(cxt, guid, p)) {
|
/freebsd-10.0-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_nodenamemap.h | 47 uint64_t guid; member in struct:_name_map_item
|
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/include/ |
H A D | grouping.h | 109 int is_xsigo_guid(uint64_t guid); 110 int is_xsigo_tca(uint64_t guid); 111 int is_xsigo_hca(uint64_t guid);
|
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/scripts/ |
H A D | IBswcountlimits.pm | 287 my $guid = ""; 295 $guid = $1; 313 loc_guid => "0x$guid", 338 loc_guid => "0x$guid", 363 loc_guid => "0x$guid", 389 loc_guid => "0x$guid", 404 $IBswcountlimits::link_ends{"0x$guid"}{$loc_port} = $rec; 418 my $guid = $_[0]; 424 my $data = `smpquery $extra_params -G nodeinfo $guid` || 425 die "'smpquery $extra_params -G nodeinfo $guid' fail [all...] |
/freebsd-10.0-release/contrib/ofed/management/opensm/osmtest/ |
H A D | main.c | 121 "--guid <GUID in hex>\n" 263 printf("using default guid 0x%" PRIx64 "\n", 283 ib_net64_t guid = 0; local 306 {"guid", 2, NULL, 'g'}, 433 * Specifies port guid with which to bind. 435 guid = cl_hton64(strtoull(optarg, NULL, 16)); 436 printf(" Guid <0x%" PRIx64 ">\n", cl_hton64(guid)); 443 guid = INVALID_GUID; 588 if (cl_hton64(guid) == cl_hton64(INVALID_GUID)) { 598 if (guid [all...] |
/freebsd-10.0-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | sminfo.c | 93 uint64_t guid = 0, key = 0; local 183 mad_encode_field(sminfo, IB_SMINFO_GUID_F, &guid); 196 mad_decode_field(sminfo, IB_SMINFO_GUID_F, &guid); 202 printf("sminfo: sm lid %d sm guid 0x%" PRIx64 ", activity count %u priority %d state %d %s\n", 203 portid.lid, guid, act, prio, state, STATESTR(state));
|
H A D | mcm_rereg_test.c | 155 uint64_t guid; member in struct:guid_trid 178 " failed\n", list[i].guid); 283 info("guid 0x%016" PRIx64 ": method = %x status = %x. Resending\n", 284 ntohll(list[i].guid), method, status); 334 info("guid 0x%016" PRIx64 ": status %x, method %x\n", 335 ntohll(list[i].guid), status, method); 388 uint64_t guid = htonll(0x0002c90200223825llu); local 394 err("cannot alloc mem for guid/trid list: %s\n", strerror(errno)); 405 guid = strtoull(line, NULL, 0); 406 guid [all...] |
/freebsd-10.0-release/sys/boot/ia64/efi/ |
H A D | main.c | 310 guid_to_string(EFI_GUID *guid) argument 315 guid->Data1, guid->Data2, guid->Data3, guid->Data4[0], 316 guid->Data4[1], guid->Data4[2], guid->Data4[3], guid->Data4[4], 317 guid 328 EFI_GUID *guid; local [all...] |
/freebsd-10.0-release/sys/dev/acpi_support/ |
H A D | acpi_wmi.c | 85 char guid[16]; /* 16 byte non human readable GUID */ member in struct:guid_info 104 struct guid_info ginfo; /* information on guid */ 151 UINT8 *guid); 825 * Return != 0 if passed guid string is invalid 828 acpi_wmi_guid_string_to_guid(const UINT8 *guid_string, UINT8 *guid) argument 837 &guid[mapping[i]])) 855 char guid[16]; local 862 if (!acpi_wmi_guid_string_to_guid(guid_string, guid)) { 864 if (!memcmp(winfo->ginfo.guid, guid, 1 946 UINT8* guid; local [all...] |