/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_guid_mgr.c | 88 osm_guidinfo_work_obj_t *p_obj; in osm_guid_work_obj_new() local 95 p_obj = calloc(1, sizeof(*p_obj)); in osm_guid_work_obj_new() 96 if (p_obj) { in osm_guid_work_obj_new() 97 p_obj->p_port = p_port; in osm_guid_work_obj_new() 98 p_obj->block_num = block_num; in osm_guid_work_obj_new() 101 return p_obj; in osm_guid_work_obj_new() 112 osm_guidinfo_work_obj_t *p_obj; in osm_queue_guidinfo() local 115 p_obj = osm_guid_work_obj_new(p_port, block_num); in osm_queue_guidinfo() 116 if (p_obj) in osm_queue_guidinfo() 118 &p_obj->list_item); in osm_queue_guidinfo() [all …]
|
H A D | osm_mcast_mgr.c | 67 osm_mcast_work_obj_t *p_obj; in mcast_work_obj_new() local 74 p_obj = malloc(sizeof(*p_obj)); in mcast_work_obj_new() 75 if (p_obj) { in mcast_work_obj_new() 76 memset(p_obj, 0, sizeof(*p_obj)); in mcast_work_obj_new() 77 p_obj->p_port = p_port; in mcast_work_obj_new() 80 return p_obj; in mcast_work_obj_new()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_rmpp_ctx.c | 210 cl_list_obj_t *p_obj; in osmv_rmpp_recv_ctx_done() local 218 p_obj = PARENT_STRUCT(p_list_item, cl_list_obj_t, list_item); in osmv_rmpp_recv_ctx_done() 220 free(cl_qlist_obj(p_obj)); in osmv_rmpp_recv_ctx_done() 221 free(p_obj); in osmv_rmpp_recv_ctx_done() 236 cl_list_obj_t *p_obj = NULL; in osmv_rmpp_recv_ctx_store_mad_seg() local 249 p_obj = malloc(sizeof(cl_list_obj_t)); in osmv_rmpp_recv_ctx_store_mad_seg() 250 if (NULL == p_obj) { in osmv_rmpp_recv_ctx_store_mad_seg() 254 memset(p_obj, 0, sizeof(cl_list_obj_t)); in osmv_rmpp_recv_ctx_store_mad_seg() 255 cl_qlist_set_obj(p_obj, p_list_mad); in osmv_rmpp_recv_ctx_store_mad_seg() 257 cl_qlist_insert_tail(p_recv_ctx->p_rbuf, &p_obj->list_item); in osmv_rmpp_recv_ctx_store_mad_seg() [all …]
|
H A D | osm_vendor_mlx_ibmgt.c | 111 cl_list_obj_t *p_obj = NULL; in osmv_transport_init() local 252 p_obj = malloc(sizeof(cl_list_obj_t)); in osmv_transport_init() 253 if (p_obj) in osmv_transport_init() 254 memset(p_obj, 0, sizeof(cl_list_obj_t)); in osmv_transport_init() 255 cl_qlist_set_obj(p_obj, p_bo); in osmv_transport_init() 257 &p_obj->list_item); in osmv_transport_init() 309 p_obj = malloc(sizeof(cl_list_obj_t)); in osmv_transport_init() 310 if (p_obj) in osmv_transport_init() 311 memset(p_obj, 0, sizeof(cl_list_obj_t)); in osmv_transport_init() 312 cl_qlist_set_obj(p_obj, p_bo); in osmv_transport_init() [all …]
|
H A D | osm_vendor_mlx_txn.c | 280 cl_map_obj_t *p_obj; in osmv_txn_abort_rmpp_txns() local 290 p_obj = PARENT_STRUCT(p_item, cl_map_obj_t, item); in osmv_txn_abort_rmpp_txns() 291 p_txn = (osmv_txn_ctx_t *) cl_qmap_obj(p_obj); in osmv_txn_abort_rmpp_txns() 365 cl_map_obj_t *p_obj; in __osmv_txnmgr_lookup() local 392 p_obj = PARENT_STRUCT(p_item, cl_map_obj_t, item); in __osmv_txnmgr_lookup() 393 *pp_txn = cl_qmap_obj(p_obj); in __osmv_txnmgr_lookup() 404 cl_map_obj_t *p_obj = NULL; in __osmv_txnmgr_insert_txn() local 412 p_obj = malloc(sizeof(cl_map_obj_t)); in __osmv_txnmgr_insert_txn() 413 if (NULL == p_obj) in __osmv_txnmgr_insert_txn() 421 memset(p_obj, 0, sizeof(cl_map_obj_t)); in __osmv_txnmgr_insert_txn() [all …]
|
H A D | osm_vendor_mlx_sar.c | 115 cl_list_obj_t *p_obj; in osmv_rmpp_sar_reassemble_arbt_mad() local 124 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osmv_rmpp_sar_reassemble_arbt_mad() 125 buf_tmp = cl_qlist_obj(p_obj); in osmv_rmpp_sar_reassemble_arbt_mad() 134 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osmv_rmpp_sar_reassemble_arbt_mad() 135 buf_tmp = cl_qlist_obj(p_obj); in osmv_rmpp_sar_reassemble_arbt_mad() 150 free(p_obj); in osmv_rmpp_sar_reassemble_arbt_mad()
|
H A D | osm_vendor_mlx_anafa.c | 109 cl_list_obj_t *p_obj; in osm_vendor_delete() local 123 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_delete() 124 bind_h = (osm_bind_handle_t *) cl_qlist_obj(p_obj); in osm_vendor_delete() 131 free(p_obj); in osm_vendor_delete() 234 cl_list_obj_t *p_obj; in osm_vendor_bind() local 307 p_obj = malloc(sizeof(cl_list_obj_t)); in osm_vendor_bind() 308 if (NULL == p_obj) { in osm_vendor_bind() 320 if (p_obj) in osm_vendor_bind() 321 memset(p_obj, 0, sizeof(cl_list_obj_t)); in osm_vendor_bind() 322 cl_qlist_set_obj(p_obj, p_bo); in osm_vendor_bind() [all …]
|
H A D | osm_vendor_mlx.c | 103 cl_list_obj_t *p_obj; in osm_vendor_delete() local 114 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_delete() 115 bind_h = (osm_bind_handle_t *) cl_qlist_obj(p_obj); in osm_vendor_delete() 121 free(p_obj); in osm_vendor_delete() 201 cl_list_obj_t *p_obj; in osm_vendor_bind() local 291 p_obj = malloc(sizeof(cl_list_obj_t)); in osm_vendor_bind() 292 if (NULL == p_obj) { in osm_vendor_bind() 304 memset(p_obj, 0, sizeof(cl_list_obj_t)); in osm_vendor_bind() 305 cl_qlist_set_obj(p_obj, p_bo); in osm_vendor_bind() 307 cl_qlist_insert_head(&p_vend->bind_handles, &p_obj->list_item); in osm_vendor_bind() [all …]
|
/freebsd/usr.bin/indent/ |
H A D | args.c | 90 int *p_obj; /* the associated variable */ member 255 *p->p_obj = p->p_default; in set_defaults() 314 *p->p_obj = false; in set_option() 316 *p->p_obj = true; in set_option() 324 *p->p_obj = atoi(param_start); in set_option()
|
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_map.c | 795 void *p_obj; in cl_map_remove() local 804 p_obj = cl_qmap_obj((cl_map_obj_t *) p_item); in cl_map_remove() 807 return (p_obj); in cl_map_remove() 836 void *p_obj, *p_obj2; in cl_map_merge() local 845 p_obj = cl_map_obj(itor); in cl_map_merge() 851 p_obj2 = cl_map_insert(p_dest_map, key, p_obj); in cl_map_merge() 853 if (p_obj != p_obj2) { in cl_map_merge() 857 p_obj2 = cl_map_insert(p_src_map, key, p_obj); in cl_map_merge() 858 CL_ASSERT(p_obj == p_obj2); in cl_map_merge() 888 void *p_obj, *p_obj2; in __cl_map_delta_move() local [all …]
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_list.h | 694 void *p_obj; in cl_list_remove_head() local 706 p_obj = (void *)p_pool_obj->p_object; in cl_list_remove_head() 710 return (p_obj); in cl_list_remove_head()
|