| /freebsd-12.1/contrib/ofed/opensm/libvendor/ |
| H A D | osm_vendor_ibumad.c | 325 osm_vendor_t *p_vend = p_ur->p_vend; in umad_receiver() local 521 p_ur->p_vend = p_vend; in umad_receiver_start() 588 p_vend->mtbl.tbl = calloc(p_vend->mtbl.max, sizeof(*(p_vend->mtbl.tbl))); in osm_vendor_init() 614 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 621 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 917 p_bind->p_vend = p_vend; in osm_vendor_bind() 1040 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_unbind() local 1057 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_get() local 1081 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_put() local 1228 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_local_lid_change() local [all …]
|
| H A D | osm_vendor_al.c | 145 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_al_ca_destroy_callback() local 159 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_al_err_callback() local 175 osm_vendor_t *const p_vend = p_bind->p_vend; in __osm_al_send_callback() local 366 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 374 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 808 status = ib_alloc_pd(p_vend->h_ca, IB_PDT_ALIAS, p_vend, &p_vend->h_pd); in __osm_vendor_open_ca() 888 p_bind->p_vend = p_vend; in osm_vendor_bind() 992 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_get() local 1035 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_put() local 1202 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_local_lid_change() local [all …]
|
| H A D | osm_vendor_test.c | 59 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct() 82 CL_ASSERT(p_vend); in osm_vendor_init() 100 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 102 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 111 return (p_vend); in osm_vendor_new() 124 p_vend = h_bind->p_vend; in osm_vendor_get() 152 p_vend = h_bind->p_vend; in osm_vendor_put() 172 osm_vendor_t *p_vend = h_bind->p_vend; in osm_vendor_send() local 199 CL_ASSERT(p_vend); in osm_vendor_bind() 213 h_bind->p_vend = p_vend; in osm_vendor_bind() [all …]
|
| H A D | osm_vendor_ts.c | 143 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_vendor_clear_sm() local 174 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct() 246 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 248 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 261 return (p_vend); in osm_vendor_new() 597 p_bind->p_vend = p_vend; in osm_vendor_bind() 648 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_get() local 690 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_put() local 728 osm_vendor_t *const p_vend = p_bind->p_vend; in osm_ts_send_mad() local 795 osm_vendor_t *const p_vend = p_bind->p_vend; in osm_vendor_send() local [all …]
|
| H A D | osm_vendor_mtl.c | 179 osm_vendor_t *p_vend = p_bind->p_vend; in __osm_vendor_clear_sm() local 210 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_construct() 354 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 356 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 368 return (p_vend); in osm_vendor_new() 652 p_bind->p_vend = p_vend; in osm_vendor_bind() 815 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_get() local 860 osm_vendor_t *p_vend = p_bind->p_vend; in osm_vendor_put() local 897 osm_vendor_t *const p_vend = p_bind->p_vend; in osm_mtl_send_mad() local 998 osm_vendor_t *const p_vend = p_bind->p_vend; in osm_vendor_send() local [all …]
|
| H A D | osm_vendor_mlx_hca_sim.c | 186 OSM_LOG_ENTER(p_vend->p_log); in __parse_ca_info_file() 272 OSM_LOG_EXIT(p_vend->p_log); in __parse_ca_info_file() 317 OSM_LOG_ENTER(p_vend->p_log); in __parse_port_info_file() 446 OSM_LOG_EXIT(p_vend->p_log); in __parse_port_info_file() 518 OSM_LOG_EXIT(p_vend->p_log); in __get_port_guid_from_port_gid_tbl() 592 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init() 619 OSM_LOG_EXIT(p_vend->p_log); in osm_ca_info_destroy() 643 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr() 740 CL_ASSERT(p_vend); in osm_vendor_get_guid_ca_and_port() 765 osm_log(p_vend->p_log, in osm_vendor_get_guid_ca_and_port() [all …]
|
| H A D | osm_vendor_mtl_hca_guid.c | 117 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_get_ca_ids() 179 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_get_ca_ids() 281 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init() 300 OSM_LOG_EXIT(p_vend->p_log); in osm_ca_info_destroy() 326 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr() 342 p_vend->p_ca_info = malloc(ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr() 350 memset(p_vend->p_ca_info, 0, ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr() 439 CL_ASSERT(p_vend); in osm_vendor_get_guid_ca_and_port() 556 osm_vendor_t *p_vend; in get_port_guid() local 567 p_vend = &vend; in get_port_guid() [all …]
|
| H A D | osm_vendor_mtl_transaction_mgr.c | 76 OSM_LOG_ENTER(p_vend->p_log); in __osm_transaction_mgr_callback() 128 p_vend->timeout); in __osm_transaction_mgr_callback() 132 p_vend->timeout); in __osm_transaction_mgr_callback() 264 OSM_LOG_EXIT(p_vend->p_log); in __osm_transaction_mgr_callback() 312 OSM_LOG_EXIT(p_vend->p_log); in osm_transaction_mgr_init() 373 OSM_LOG_EXIT(p_vend->p_log); in osm_transaction_mgr_destroy() 381 osm_vendor_t *const p_vend = ((osm_mtl_bind_info_t *) p_bind)->p_vend; in osm_transaction_mgr_insert_madw() local 383 osm_vendor_t *const p_vend = ((osm_ts_bind_info_t *) p_bind)->p_vend; in osm_transaction_mgr_insert_madw() 423 p_vend->timeout); in osm_transaction_mgr_insert_madw() 440 OSM_LOG_EXIT(p_vend->p_log); in osm_transaction_mgr_insert_madw() [all …]
|
| H A D | osm_vendor_mlx_hca_pfs.c | 140 OSM_LOG_ENTER(p_vend->p_log); in __parse_ca_info_file() 226 OSM_LOG_EXIT(p_vend->p_log); in __parse_ca_info_file() 271 OSM_LOG_ENTER(p_vend->p_log); in __parse_port_info_file() 400 OSM_LOG_EXIT(p_vend->p_log); in __parse_port_info_file() 472 OSM_LOG_EXIT(p_vend->p_log); in __get_port_guid_from_port_gid_tbl() 546 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init() 573 OSM_LOG_EXIT(p_vend->p_log); in osm_ca_info_destroy() 597 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr() 670 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_get_all_port_attr() 694 CL_ASSERT(p_vend); in osm_vendor_get_guid_ca_and_port() [all …]
|
| H A D | osm_vendor_mlx_hca.c | 97 OSM_LOG_ENTER(p_vend->p_log); in __osm_vendor_get_ca_ids() 159 OSM_LOG_EXIT(p_vend->p_log); in __osm_vendor_get_ca_ids() 180 OSM_LOG_ENTER(p_vend->p_log); in __osm_ca_info_init() 261 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init() 272 OSM_LOG_ENTER(p_vend->p_log); in osm_ca_info_destroy() 288 OSM_LOG_EXIT(p_vend->p_log); in osm_ca_info_destroy() 313 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_get_all_port_attr() 315 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr() 390 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_get_all_port_attr() 421 CL_ASSERT(p_vend); in osm_vendor_get_guid_ca_and_port() [all …]
|
| H A D | osm_vendor_mlx_anafa.c | 77 osm_vendor_t *p_vend; in osm_vendor_new() local 83 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 84 if (p_vend != NULL) { in osm_vendor_new() 85 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 88 osm_vendor_delete(&p_vend); in osm_vendor_new() 97 return (p_vend); in osm_vendor_new() 170 p_vend->p_log = p_log; in osm_vendor_init() 257 p_bo->p_vendor = p_vend; in osm_vendor_bind() 412 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_get() 555 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_put() [all …]
|
| H A D | osm_vendor_mlx.c | 70 osm_vendor_t *p_vend; in osm_vendor_new() local 76 p_vend = malloc(sizeof(*p_vend)); in osm_vendor_new() 77 if (p_vend != NULL) { in osm_vendor_new() 78 memset(p_vend, 0, sizeof(*p_vend)); in osm_vendor_new() 82 osm_vendor_delete(&p_vend); in osm_vendor_new() 91 return (p_vend); in osm_vendor_new() 157 p_vend->p_log = p_log; in osm_vendor_init() 223 p_bo->p_vendor = p_vend; in osm_vendor_bind() 398 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_get() 571 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_local_lid_change() [all …]
|
| H A D | osm_vendor_mlx_hca_anafa.c | 87 p_vend->p_transport_info; in __osm_ca_info_init() 92 OSM_LOG_ENTER(p_vend->p_log); in __osm_ca_info_init() 97 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init() 116 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init() 127 osm_log(p_vend->p_log, OSM_LOG_ERROR, in __osm_ca_info_init() 142 OSM_LOG_EXIT(p_vend->p_log); in __osm_ca_info_init() 160 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_get_all_port_attr() 161 CL_ASSERT(p_vend); in osm_vendor_get_all_port_attr() 172 status = __osm_ca_info_init(p_vend, &ca_info); in osm_vendor_get_all_port_attr() 174 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_get_all_port_attr() [all …]
|
| H A D | osm_vendor_mlx_sim.c | 72 __osmv_ibms_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, 134 osm_vendor_get_guid_by_ca_and_port(IN osm_vendor_t * const p_vend, 248 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local 255 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send() 306 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send() 316 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send() 365 __osmv_ibms_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_ibms_mad_addr_to_osm_addr() argument 416 osm_vendor_t const *p_vend = p_bo->p_vendor; in osm_vendor_set_sm() local 420 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_set_sm() 433 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_set_sm() [all …]
|
| H A D | osm_vendor_mlx_ts.c | 69 __osmv_TOPSPIN_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, 281 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local 288 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send() 341 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send() 351 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send() 430 __osmv_TOPSPIN_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_TOPSPIN_mad_addr_to_osm_addr() argument 481 osm_vendor_t const *p_vend = p_bo->p_vendor; in osm_vendor_set_sm() local 487 OSM_LOG_ENTER(p_vend->p_log); in osm_vendor_set_sm() 496 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osm_vendor_set_sm() 502 OSM_LOG_EXIT(p_vend->p_log); in osm_vendor_set_sm()
|
| H A D | osm_vendor_mlx_sa.c | 233 OSM_LOG_ENTER(p_vend->p_log); in __osmv_get_lid_and_sm_lid_by_port_guid() 237 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid() 248 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 0503: " in __osmv_get_lid_and_sm_lid_by_port_guid() 255 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid() 266 OSM_LOG(p_vend->p_log, OSM_LOG_ERROR, "ERR 0504: " in __osmv_get_lid_and_sm_lid_by_port_guid() 282 OSM_LOG(p_vend->p_log, OSM_LOG_DEBUG, in __osmv_get_lid_and_sm_lid_by_port_guid() 291 OSM_LOG_EXIT(p_vend->p_log); in __osmv_get_lid_and_sm_lid_by_port_guid() 296 osmv_bind_sa(IN osm_vendor_t * const p_vend, in osmv_bind_sa() argument 300 osm_log_t *p_log = p_vend->p_log; in osmv_bind_sa() 333 p_sa_bind_info->p_vendor = p_vend; in osmv_bind_sa() [all …]
|
| H A D | osm_vendor_mlx_ts_anafa.c | 65 __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, 268 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local 275 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send() 322 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send() 332 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send() 380 __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr(IN osm_vendor_t const *p_vend, in __osmv_TOPSPIN_ANAFA_mad_addr_to_osm_addr() argument
|
| H A D | osm_vendor_ibumad_sa.c | 207 static ib_api_status_t update_umad_port(osm_vendor_t * p_vend) in update_umad_port() argument 210 if (umad_get_port(p_vend->umad_port.ca_name, in update_umad_port() 211 p_vend->umad_port.portnum, &port) < 0) in update_umad_port() 213 p_vend->umad_port.base_lid = port.base_lid; in update_umad_port() 214 p_vend->umad_port.sm_lid = port.sm_lid; in update_umad_port() 220 osmv_bind_sa(IN osm_vendor_t * const p_vend, in osmv_bind_sa() argument 224 osm_log_t *p_log = p_vend->p_log; in osmv_bind_sa() 241 bind_info.timeout = p_vend->timeout; in osmv_bind_sa() 257 p_sa_bind_info->p_vendor = p_vend; in osmv_bind_sa() 260 …p_sa_bind_info->h_bind = osm_vendor_bind(p_vend, &bind_info, p_mad_pool, __osmv_sa_mad_rcv_cb, __o… in osmv_bind_sa()
|
| H A D | osm_vendor_mlx_ibmgt.c | 372 osm_vendor_t const *p_vend = p_bo->p_vendor; in osmv_transport_mad_send() local 378 OSM_LOG_ENTER(p_vend->p_log); in osmv_transport_mad_send() 402 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in osmv_transport_mad_send() 403 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in osmv_transport_mad_send() 418 if (osm_log_is_active(p_vend->p_log, OSM_LOG_DEBUG)) { in osmv_transport_mad_send() 419 osm_log(p_vend->p_log, OSM_LOG_DEBUG, in osmv_transport_mad_send() 439 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send() 457 osm_log(p_vend->p_log, OSM_LOG_ERROR, in osmv_transport_mad_send() 469 OSM_LOG_EXIT(p_vend->p_log); in osmv_transport_mad_send()
|
| /freebsd-12.1/contrib/ofed/opensm/include/vendor/ |
| H A D | osm_vendor_mtl_transaction_mgr.h | 170 void osm_transaction_mgr_init(IN osm_vendor_t * const p_vend); 190 void osm_transaction_mgr_destroy(IN osm_vendor_t * const p_vend); 238 osm_transaction_mgr_erase_madw(IN osm_vendor_t * const p_vend, 260 osm_transaction_mgr_get_madw_for_tid(IN osm_vendor_t * const p_vend,
|
| H A D | osm_vendor_api.h | 185 osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend, 222 osm_vendor_init(IN osm_vendor_t * const p_vend, IN osm_log_t * const p_log, 255 osm_vendor_bind(IN osm_vendor_t * const p_vend, 469 void osm_vendor_set_debug(IN osm_vendor_t * const p_vend, IN int32_t level);
|
| H A D | osm_vendor_ts.h | 94 struct _osm_vendor *p_vend; member 305 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend, 346 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
|
| H A D | osm_vendor_mtl_hca_guid.h | 129 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend, 169 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
|
| H A D | osm_vendor_mtl.h | 229 osm_vendor_get_guid_ca_and_port(IN osm_vendor_t * const p_vend, 270 ib_api_status_t osm_vendor_get_all_port_attr(IN osm_vendor_t * const p_vend,
|
| /freebsd-12.1/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_vl15intf.h | 128 osm_vendor_t *p_vend; member 257 ib_api_status_t osm_vl15_init(IN osm_vl15_t * p_vl15, IN osm_vendor_t * p_vend,
|