/freebsd-10.1-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_helper.c | 474 host_attr = cl_ntoh16(attr); 487 host_attr = cl_ntoh16(attr); 499 switch(cl_ntoh16(trap_num)) 825 cl_ntoh16(p_pi->base_lid), 826 cl_ntoh16(p_pi->master_sm_base_lid), 828 cl_ntoh16(p_pi->diag_code), 829 cl_ntoh16(p_pi->m_key_lease_period), 842 cl_ntoh16(p_pi->m_key_violations), 843 cl_ntoh16(p_pi->p_key_violations), 844 cl_ntoh16(p_p [all...] |
H A D | osm_trap_rcv.c | 126 lid = cl_ntoh16((uint16_t) ((key & 0x0000FFFF00000000ULL) >> 32)); 357 cl_ntoh16(sm->p_subn->sm_base_lid)); 376 cl_ntoh16(p_ntci->g_or_v.generic. 393 cl_ntoh16(p_ntci->g_or_v.generic. 409 cl_ntoh16(p_ntci->g_or_v.vend.dev_id), 410 cl_ntoh16(source_lid), 480 cl_ntoh16 491 cl_ntoh16(p_ntci->data_details. 506 cl_ntoh16(p_ntci->data_details. 577 ((cl_ntoh16(p_ntc [all...] |
H A D | osm_sa_lft_record.c | 95 block, cl_ntoh16(lid)); 160 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); 162 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) || 163 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) 170 min_block = cl_ntoh16(p_rcvd_rec->block_num);
|
H A D | osm_sa_mft_record.c | 97 block, position, cl_ntoh16(lid)); 167 cl_ntoh16(p_rcvd_rec->lid), min_lid_ho, max_lid_ho); 169 if (min_lid_ho > cl_ntoh16(p_rcvd_rec->lid) || 170 max_lid_ho < cl_ntoh16(p_rcvd_rec->lid)) 181 position_block_num_ho = cl_ntoh16(p_rcvd_rec->position_block_num);
|
H A D | osm_ucast_ftree.c | 505 cl_ntoh16(p_group->base_lid), 507 cl_ntoh16(p_group->remote_base_lid)); 1018 if (cl_ntoh16(p_sw->base_lid) > p_ftree->lft_max_lid_ho) 1019 p_ftree->lft_max_lid_ho = cl_ntoh16(p_sw->base_lid); 1180 cl_ntoh16(p_sw->base_lid), 1192 cl_ntoh16(p_ftree->leaf_switches[i]->base_lid), 1249 cl_ntoh16(p_group_on_hca->base_lid), 1451 cl_ntoh16(p_sw->base_lid), __osm_ftree_sw_get_guid_ho(p_sw)); 1739 cl_ntoh16(reference_sw_arr[p_sw->rank]-> 1746 cl_ntoh16(p_s [all...] |
H A D | osm_sa.c | 576 cl_ntoh16(p_mgrp->mlid), 583 cl_ntoh16(p_mgrp->mcmember_rec.mlid), 586 cl_ntoh16(p_mgrp->mcmember_rec.pkey), 624 cl_ntoh16(p_iir->subscriber_enum), 627 cl_ntoh16(p_iir->inform_info.lid_range_begin), 628 cl_ntoh16(p_iir->inform_info.lid_range_end), 631 cl_ntoh16(p_iir->inform_info.trap_type), 632 cl_ntoh16(p_iir->inform_info.g_or_v.generic.trap_num), 635 cl_ntoh16(p_infr->report_addr.dest_lid), 666 cl_ntoh16(p_s [all...] |
H A D | osm_pkey.c | 188 (cl_ntoh16(*p_prev_pkey) < cl_ntoh16(pkey))) 440 "Search for PKey: 0x%04x\n", cl_ntoh16(pkey)); 458 "PKey 0x%04x was found\n", cl_ntoh16(pkey)); 461 "PKey 0x%04x was not found\n", cl_ntoh16(pkey));
|
H A D | osm_sa_guidinfo_record.c | 99 cl_ntoh16(match_lid), block_num); 141 PRIx64 "\n", cl_ntoh16(match_lid), cl_ntoh64(match_port_guid)); 189 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_physp)); 190 match_lid_ho = cl_ntoh16(match_lid); 210 cl_ntoh16(base_lid_ho), p_physp,
|
H A D | osm_mcast_mgr.c | 423 mlid_ho = cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)); 456 cl_ntoh16(osm_port_get_base_lid 471 cl_ntoh16(osm_port_get_base_lid 541 mlid_ho = cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)); 770 cl_ntoh16(osm_mgrp_get_mlid(p_mgrp))); 794 cl_ntoh16(osm_mgrp_get_mlid(p_mgrp))); 839 cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)), count, max_depth); 864 mlid_ho = cl_ntoh16(osm_mgrp_get_mlid(p_mgrp)); 914 osm_mcast_tbl_clear_mlid(p_mcast_tbl, cl_ntoh16(p_mgrp->mlid)); 947 mlid_ho = cl_ntoh16(mli [all...] |
H A D | osm_inform.c | 321 cl_ntoh16(p_ntc->issuer_lid), 322 cl_ntoh16(p_infr_rec->report_addr.dest_lid), trap_fwd_trans_id); 432 (cl_ntoh16(p_ii->trap_type) != ib_notice_get_type(p_ntc))) { 505 cl_ntoh16(p_infr_rec->report_addr.dest_lid)); 509 cl_ntoh16(p_infr_rec->report_addr.dest_lid)); 574 cl_ntoh16(p_ntc->g_or_v.generic.trap_num), 576 cl_ntoh16(p_ntc->issuer_lid), 585 cl_ntoh16(p_ntc->g_or_v.vend.dev_id), 586 cl_ntoh16(p_ntc->issuer_lid),
|
H A D | osm_port_info_rcv.c | 95 if (cl_ntoh16(pi->base_lid) > IB_LID_UCAST_END_HO) { 98 "Corrected to %u.\n", cl_ntoh16(pi->base_lid), 99 cl_ntoh16(p->port_info.base_lid)); 397 (cl_ntoh16(p_node->node_info.partition_cap) + 410 if (cl_ntoh16(p_node->sw->switch_info.enforce_cap) == 0) 413 max_blocks = (cl_ntoh16(p_node->sw->switch_info.enforce_cap) + 481 if (cl_ntoh16(p_smp->status) & 0x7fff) { 484 (cl_ntoh16(p_smp->status) & 0x7fff) == 0x1c) { 488 cl_ntoh16(p_smp->status) & 0x7fff);
|
H A D | osm_prtn.c | 80 snprintf(p->name, sizeof(p->name), "%04x", cl_ntoh16(pkey)); 126 cl_ntoh64(guid), p->name, cl_ntoh16(p->pkey)); 227 cl_ntoh16(pkey)); 257 while (global_pkey_counter < cl_ntoh16(IB_DEFAULT_PARTIAL_PKEY) - 1) { 299 " partition \'%s\' (0x%04x)\n", name, cl_ntoh16(pkey)); 309 name, cl_ntoh16(pkey), p_check->name);
|
H A D | osm_dump.c | 169 base_lid = cl_ntoh16(base_lid); 191 base_lid = cl_ntoh16(base_lid); 264 cl_ntoh16((*p_tbl-> 335 max_lid, cl_ntoh16(osm_node_get_base_lid(p_node, 0)), 405 cl_ntoh16(p_node->node_info.device_id), 408 cl_ntoh16(p_default_physp->port_info.base_lid), cPort); 437 cl_ntoh16(p_default_physp->port_info.base_lid), 502 cl_ntoh16(p_pi->base_lid),
|
H A D | osm_sa_portinfo_record.c | 99 cl_ntoh16(lid), osm_physp_get_port_num(p_physp)); 131 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_node_physp)); 139 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_physp)); 144 match_lid_ho = cl_ntoh16(p_ctxt->p_rcvd_rec->lid); 545 cl_ntoh16(p_rcvd_rec->lid)); 549 cl_ntoh16(p_pi->base_lid)) 551 cl_ntoh16(p_pi->base_lid)); 556 cl_ntoh16(p_pi->base_lid),
|
H A D | osm_sa_node_record.c | 95 cl_ntoh64(port_guid), cl_ntoh16(lid)); 136 PRIx64 "\n", cl_ntoh16(match_lid), 164 base_lid_ho = cl_ntoh16(base_lid); 167 match_lid_ho = cl_ntoh16(match_lid);
|
/freebsd-10.1-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_byteswap_osd.h | 60 #define cl_ntoh16(x) bswap_16(x) macro 67 #define cl_ntoh16(x) (x)
|
H A D | cl_byteswap.h | 71 * cl_ntoh16, cl_hton16, cl_ntoh32, cl_hton32, cl_ntoh64, cl_hton64, 108 * than the cl_ntoh16 function. 125 * cl_ntoh16, cl_ntoh32, cl_ntoh64, cl_ntoh 162 /****f* Component Library: Byte Swapping/cl_ntoh16 164 * cl_ntoh16 167 * The cl_ntoh16 function converts a 16-bit value from network byte order to 172 * cl_ntoh16( 209 * This function is analogous to cl_ntoh16. 212 * Byte Swapping, cl_ntoh16, cl_hton32, cl_hton64, cl_ntoh 214 #ifndef cl_ntoh16 215 #define cl_ntoh16 macro [all...] |
/freebsd-10.1-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | saquery.c | 137 cl_ntoh16(node_record->lid), 154 printf("%d\n", cl_ntoh16(node_record->lid)); 189 cl_ntoh16(node_record->lid), 190 cl_ntoh16(node_record->resv), 198 cl_ntoh16(p_ni->partition_cap), 199 cl_ntoh16(p_ni->device_id), 234 cl_ntoh16(p_pr->dlid), 235 cl_ntoh16(p_pr->slid), 239 cl_ntoh16(p_pr->pkey), 277 cl_ntoh16(class_port_inf [all...] |
/freebsd-10.1-release/contrib/ofed/management/opensm/libvendor/ |
H A D | osm_vendor_mlx_sim.c | 104 cl_ntoh16(p_mad->addr.slid), 107 cl_ntoh16(p_mad->header.attr_id), 108 cl_ntoh16(p_mad->header.status), 293 cl_ntoh16(mad_msg.addr.dlid), 296 cl_ntoh16(mad_msg.header.attr_id), 297 cl_ntoh16(mad_msg.header.status), 347 p_ibms_addr->dlid = cl_ntoh16(p_osm_addr->dest_lid);
|
H A D | osm_vendor_mlx_ts.c | 123 cl_ntoh16(mad.slid), 126 cl_ntoh16(mad.attribute_id), 127 cl_ntoh16(mad.status), 328 cl_ntoh16(ts_mad.dlid), 331 cl_ntoh16(ts_mad.attribute_id), 332 cl_ntoh16(ts_mad.status), cl_ntoh64(ts_mad.transaction_id) 374 ts_mad.r_method = cl_ntoh16(0x2); 413 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
|
H A D | osm_vendor_mlx_ts_anafa.c | 119 cl_ntoh16(mad.slid), 122 cl_ntoh16(mad.attribute_id), 123 cl_ntoh16(mad.status), 363 p_mad->dlid = cl_ntoh16(p_mad_addr->dest_lid);
|
/freebsd-10.1-release/contrib/ofed/management/opensm/osmtest/ |
H A D | osmt_slvl_vl_arb.c | 71 cl_ntoh16(p_rec->lid), 111 cl_ntoh16(lid), port_num); 222 cl_ntoh16(p_src_port->rec.lid), 239 cl_ntoh16(p_src_port->rec.lid), 275 cl_ntoh16(p_rec->lid), 312 cl_ntoh16(lid), out_port_num, in_port_num); 423 cl_ntoh16(p_src_port->rec.lid), 0, 0, 452 cl_ntoh16(p_src_port->rec.lid), 513 test_lid = cl_ntoh16(p_osmt->local_port.lid + 1);
|
H A D | osmtest.c | 594 user.attr_offset = cl_ntoh16((uint16_t) (attr_size >> 3)); 704 p_cpi->base_ver, p_cpi->class_ver, cl_ntoh16(p_cpi->cap_mask), 754 user.attr_offset = cl_ntoh16((uint16_t) (sizeof(record) >> 3)); 810 "Getting node record for LID 0x%02X\n", cl_ntoh16(lid)); 828 user.attr_offset = cl_ntoh16((uint16_t) (sizeof(record) >> 3)); 1082 cl_ntoh16(lid)); 1100 user.attr_offset = cl_ntoh16((uint16_t) (sizeof(record) >> 3)); 1158 cl_ntoh16(lid), port_num); 1540 cl_ntoh16(p_osmt->local_port.lid), 1603 status = osmtest_get_port_rec(p_osmt, cl_ntoh16(li [all...] |
H A D | osmt_multicast.c | 264 cl_ntoh16(p_rec->mlid), &p_mgrp->map_item); 704 cl_ntoh16(mc_req_rec.mlid)); 1271 sizeof gid_str), cl_ntoh16(p_recvd_rec->mlid)); 1272 cl_map_insert(&test_created_mlids, cl_ntoh16(p_recvd_rec->mlid), 1298 sizeof gid_str), cl_ntoh16(p_recvd_rec->mlid)); 1299 cl_map_insert(&test_created_mlids, cl_ntoh16(p_recvd_rec->mlid), 1324 sizeof gid_str), cl_ntoh16(p_recvd_rec->mlid)); 1325 cl_map_insert(&test_created_mlids, cl_ntoh16(p_recvd_rec->mlid), 1349 sizeof gid_str), cl_ntoh16(p_recvd_rec->mlid)); 1350 cl_map_insert(&test_created_mlids, cl_ntoh16(p_recvd_re [all...] |
/freebsd-10.1-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_switch.h | 482 port_num = osm_switch_get_port_by_lid(p_sw, cl_ntoh16(lid)); 563 return cl_ntoh16(p_sw->switch_info.lin_top) / IB_SMP_DATA_SIZE; 1011 return (cl_ntoh16(p_sw->switch_info.mcast_cap));
|