/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_anafa.c | 232 osmv_bind_obj_t *p_bo; in osm_vendor_bind() local 249 if (NULL == p_bo) { in osm_vendor_bind() 278 free(p_bo); in osm_vendor_bind() 284 if (osmv_txnmgr_init(&p_bo->txn_mgr, p_vend->p_log, &(p_bo->lock)) != in osm_vendor_bind() 290 free(p_bo); in osm_vendor_bind() 302 free(p_bo); in osm_vendor_bind() 317 free(p_bo); in osm_vendor_bind() 452 osmv_txn_lock(p_bo); in osm_vendor_send() 514 p_bo->send_err_cb(p_bo->cb_context, p_madw); in osm_vendor_send() 631 osmv_txn_lock(p_bo); in __osm_vendor_internal_unbind() [all …]
|
H A D | osm_vendor_mlx.c | 216 if (NULL == p_bo) { in osm_vendor_bind() 245 free(p_bo); in osm_vendor_bind() 252 p_bo->magic_ptr = p_bo; in osm_vendor_bind() 262 free(p_bo); in osm_vendor_bind() 268 if (osmv_txnmgr_init(&p_bo->txn_mgr, p_vend->p_log, &(p_bo->lock)) != in osm_vendor_bind() 274 free(p_bo); in osm_vendor_bind() 286 free(p_bo); in osm_vendor_bind() 301 free(p_bo); in osm_vendor_bind() 441 osmv_txn_lock(p_bo); in osm_vendor_send() 505 p_bo->send_err_cb(p_bo->cb_context, p_madw); in osm_vendor_send() [all …]
|
H A D | osm_vendor_mlx_ts.c | 90 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_receiver_thr() 98 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_receiver_thr() 107 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_receiver_thr() 151 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_receiver_thr() 252 p_bo->p_transp_mgr = p_mgr; in osmv_transport_init() 257 p_bo->magic_ptr = p_bo; in osmv_transport_init() 293 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in osmv_transport_mad_send() 320 ts_mad.port = p_bo->port_num; in osmv_transport_mad_send() 375 ts_mad.port = p_bo->port_num; in __osm_transport_gen_dummy_mad() 393 CL_ASSERT(p_bo); in osmv_transport_done() [all …]
|
H A D | osm_vendor_mlx_txn.c | 88 p_txn->p_log = p_bo->txn_mgr.p_log; in osmv_txn_init() 106 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in osmv_txn_init() 204 p_bo /* The context */ ); in osmv_txn_set_timeout_ev() 353 free(p_bo->txn_mgr.p_txn_map); in osmv_txnmgr_done() 356 free(p_bo->txn_mgr.p_event_wheel); in osmv_txnmgr_done() 502 "--> Acquiring lock %p on bind handle %p\n", &p_bo->lock, p_bo); in osmv_txn_lock() 504 cl_spinlock_acquire(&p_bo->lock); in osmv_txn_lock() 507 "--> Acquired lock %p on bind handle %p\n", &p_bo->lock, p_bo); in osmv_txn_lock() 519 cl_spinlock_release(&p_bo->lock); in osmv_txn_unlock() 546 if (p_bo->is_closing) { in __osmv_txn_timeout_cb() [all …]
|
H A D | osm_vendor_mlx_ts_anafa.c | 86 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_ANAFA_receiver_thr() 94 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_ANAFA_receiver_thr() 104 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_TOPSPIN_ANAFA_receiver_thr() 128 (p_bo->p_vendor, &mad, in __osmv_TOPSPIN_ANAFA_receiver_thr() 141 if (p_bo->magic_ptr != p_bo) in __osmv_TOPSPIN_ANAFA_receiver_thr() 149 "Breaking the loop.\n", p_bo); in __osmv_TOPSPIN_ANAFA_receiver_thr() 239 p_bo->p_transp_mgr = p_mgr; in osmv_transport_init() 244 p_bo->magic_ptr = p_bo; in osmv_transport_init() 278 if (p_bo->magic_ptr != p_bo) in osmv_transport_mad_send() 342 CL_ASSERT(p_bo); in osmv_transport_done() [all …]
|
H A D | osm_vendor_mlx_ibmgt.c | 152 p_bo->magic_ptr = p_bo; in osmv_transport_init() 188 p_bo->port_num, in osmv_transport_init() 232 p_bo, in osmv_transport_init() 267 p_bo->port_num, in osmv_transport_init() 320 p_bo, in osmv_transport_init() 322 p_bo, in osmv_transport_init() 487 CL_ASSERT(p_bo); in osmv_transport_done() 624 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_IBMGT_rcv_cb() 635 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_IBMGT_rcv_cb() 655 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_IBMGT_rcv_cb() [all …]
|
H A D | osm_vendor_mlx_dispatcher.c | 126 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in osmv_dispatch_mad() 130 osmv_txn_lock(p_bo); in osmv_dispatch_mad() 132 if (TRUE == p_bo->is_closing) { in osmv_dispatch_mad() 151 p_bo->p_vendor-> in osmv_dispatch_mad() 178 osmv_txn_unlock(p_bo); in osmv_dispatch_mad() 246 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in __osmv_dispatch_simple_mad() 285 p_bo->recv_cb(p_madw, p_bo->cb_context, p_req_madw); in __osmv_dispatch_simple_mad() 288 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in __osmv_dispatch_simple_mad() 359 p_bo->send_err_cb(p_bo->cb_context, p_madw); in __osmv_dispatch_rmpp_mad() 377 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in __osmv_dispatch_rmpp_mad() [all …]
|
H A D | osm_vendor_mlx_sender.c | 74 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in osmv_simple_send_madw() 96 p_bo->p_vendor-> in osmv_simple_send_madw() 116 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in osmv_simple_send_madw() 147 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in osmv_rmpp_send_madw() 181 osmv_txn_unlock(p_bo); in osmv_rmpp_send_madw() 197 osmv_txn_lock(p_bo); in osmv_rmpp_send_madw() 199 if (TRUE == p_bo->is_closing) { in osmv_rmpp_send_madw() 236 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in osmv_rmpp_send_madw() 356 p_bo->p_vendor-> in __osmv_rmpp_send_segment() 365 p_bo, p_mad, in __osmv_rmpp_send_segment() [all …]
|
H A D | osm_vendor_mlx_sim.c | 91 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in __osmv_ibms_receiver_callback() 95 OSM_LOG_ENTER(p_bo->p_vendor->p_log); in __osmv_ibms_receiver_callback() 129 OSM_LOG_EXIT(p_bo->p_vendor->p_log); in __osmv_ibms_receiver_callback() 169 (p_bo->p_vendor, hca_id, p_bo->port_num, &port_guid)) { in osmv_transport_init() 175 (void *)p_bo); in osmv_transport_init() 185 p_mgr->filter.port = p_bo->port_num; in osmv_transport_init() 224 p_bo->p_transp_mgr = p_mgr; in osmv_transport_init() 229 p_bo->magic_ptr = p_bo; in osmv_transport_init() 260 if ((p_bo->magic_ptr != p_bo) || p_bo->is_closing) in osmv_transport_mad_send() 326 CL_ASSERT(p_bo); in osmv_transport_done() [all …]
|
/freebsd/contrib/ofed/opensm/include/vendor/ |
H A D | osm_vendor_mlx_transport.h | 72 IN uint8_t hca_idx, IN osmv_bind_obj_t * p_bo);
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_bo_api.h | 536 struct ttm_buffer_object **p_bo);
|
H A D | ttm_bo.c | 777 void ttm_bo_unref(struct ttm_buffer_object **p_bo) in ttm_bo_unref() argument 779 struct ttm_buffer_object *bo = *p_bo; in ttm_bo_unref() 781 *p_bo = NULL; in ttm_bo_unref() 1343 struct ttm_buffer_object **p_bo) in ttm_bo_create() argument 1355 *p_bo = bo; in ttm_bo_create()
|