Home
last modified time | relevance | path

Searched refs:p_item (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ofed/opensm/complib/
H A Dcl_map.c90 CL_ASSERT(p_item->p_up != p_item); in __cl_map_is_left_child()
264 p_item = p_item->p_left; in cl_qmap_get_next()
266 p_item = p_item->p_right; in cl_qmap_get_next()
316 p_item = p_item->p_up; in __cl_map_ins_bal()
334 p_item = p_item->p_up; in __cl_map_ins_bal()
454 p_item = p_item->p_up; in __cl_map_del_bal()
481 p_item = p_item->p_up; in __cl_map_del_bal()
1252 p_item = p_item->p_up; in __cl_fmap_ins_bal()
1270 p_item = p_item->p_up; in __cl_fmap_ins_bal()
1393 p_item = p_item->p_up; in __cl_fmap_del_bal()
[all …]
H A Dcl_list.c59 cl_list_item_t *p_item; in cl_qlist_insert_array_head() local
80 p_item = (cl_list_item_t *) ((uint8_t *) p_item - item_size); in cl_qlist_insert_array_head()
89 cl_list_item_t *p_item; in cl_qlist_insert_array_tail() local
98 p_item = p_array; in cl_qlist_insert_array_tail()
105 p_item = (cl_list_item_t *) ((uint8_t *) p_item + item_size); in cl_qlist_insert_array_tail()
113 cl_list_item_t *p_item; in cl_qlist_insert_list_head() local
135 p_item->p_list = p_dest_list; in cl_qlist_insert_list_head()
136 p_item = cl_qlist_next(p_item); in cl_qlist_insert_list_head()
165 cl_list_item_t *p_item; in cl_qlist_insert_list_tail() local
187 p_item->p_list = p_dest_list; in cl_qlist_insert_list_tail()
[all …]
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_txn.c279 cl_map_item_t *p_item; in osmv_txn_abort_rmpp_txns() local
289 p_item = cl_qmap_head(p_map); in osmv_txn_abort_rmpp_txns()
302 cl_qmap_remove_item(p_map, p_item); in osmv_txn_abort_rmpp_txns()
364 cl_map_item_t *p_item; in __osmv_txnmgr_lookup() local
381 tmp_key = cl_qmap_key(p_item); in __osmv_txnmgr_lookup()
385 p_item = cl_qmap_next(p_item); in __osmv_txnmgr_lookup()
405 cl_map_item_t *p_item; in __osmv_txnmgr_insert_txn() local
429 tmp_key = cl_qmap_key(p_item); in __osmv_txnmgr_insert_txn()
433 p_item = cl_qmap_next(p_item); in __osmv_txnmgr_insert_txn()
444 cl_map_item_t *p_item; in __osmv_txnmgr_remove_txn() local
[all …]
H A Dosm_vendor_mlx_ibmgt.c481 cl_list_item_t *p_item, *p_item_tmp; in osmv_transport_done() local
503 p_item = cl_qlist_head(p_list); in osmv_transport_done()
509 p_item_tmp = cl_qlist_next(p_item); in osmv_transport_done()
510 p_item = p_item_tmp; in osmv_transport_done()
514 cl_qlist_remove_item(p_list, p_item); in osmv_transport_done()
543 p_item = cl_qlist_head(p_list); in osmv_transport_done()
549 p_item_tmp = cl_qlist_next(p_item); in osmv_transport_done()
550 p_item = p_item_tmp; in osmv_transport_done()
605 cl_list_item_t *p_item; in __osmv_IBMGT_rcv_cb() local
647 p_item = cl_qlist_head(p_list); in __osmv_IBMGT_rcv_cb()
[all …]
H A Dosm_vendor_mlx_sar.c114 cl_list_item_t *p_item; in osmv_rmpp_sar_reassemble_arbt_mad() local
123 p_item = cl_qlist_head(p_bufs); in osmv_rmpp_sar_reassemble_arbt_mad()
124 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osmv_rmpp_sar_reassemble_arbt_mad()
133 p_item = cl_qlist_remove_head(p_bufs); 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()
H A Dosm_vendor_mlx_anafa.c108 cl_list_item_t *p_item; in osm_vendor_delete() local
120 p_item = cl_qlist_remove_head(&((*pp_vend)->bind_handles)); in osm_vendor_delete()
123 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_delete()
133 p_item = in osm_vendor_delete()
340 cl_list_item_t *p_item, *p_item_tmp; in osm_vendor_unbind() local
347 p_item = cl_qlist_head(&p_bo->p_vendor->bind_handles); in osm_vendor_unbind()
349 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_unbind()
353 p_item_tmp = cl_qlist_next(p_item); in osm_vendor_unbind()
354 p_item = p_item_tmp; in osm_vendor_unbind()
357 CL_ASSERT(p_item != cl_qlist_end(p_bh_list)); in osm_vendor_unbind()
[all …]
H A Dosm_vendor_mlx.c102 cl_list_item_t *p_item; in osm_vendor_delete() local
111 p_item = cl_qlist_remove_head(&((*pp_vend)->bind_handles)); in osm_vendor_delete()
114 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_delete()
323 cl_list_item_t *p_item, *p_item_tmp; in osm_vendor_unbind() local
330 p_item = cl_qlist_head(p_bh_list); in osm_vendor_unbind()
331 while (p_item != cl_qlist_end(p_bh_list)) { in osm_vendor_unbind()
332 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osm_vendor_unbind()
336 p_item_tmp = cl_qlist_next(p_item); in osm_vendor_unbind()
337 p_item = p_item_tmp; in osm_vendor_unbind()
340 CL_ASSERT(p_item != cl_qlist_end(p_bh_list)); in osm_vendor_unbind()
[all …]
H A Dosm_vendor_mlx_rmpp_ctx.c282 cl_list_item_t *p_item; in osmv_rmpp_recv_ctx_get_byte_num_from_first() local
287 p_item = cl_qlist_head(p_recv_ctx->p_rbuf); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
288 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osmv_rmpp_recv_ctx_get_byte_num_from_first()
312 cl_list_item_t *p_item; in osmv_rmpp_recv_ctx_get_byte_num_from_last() local
317 p_item = cl_qlist_tail(p_recv_ctx->p_rbuf); in osmv_rmpp_recv_ctx_get_byte_num_from_last()
318 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item); in osmv_rmpp_recv_ctx_get_byte_num_from_last()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_fleximap.h355 static inline const void *cl_fmap_key(IN const cl_fmap_item_t * const p_item) in cl_fmap_key() argument
357 CL_ASSERT(p_item); in cl_fmap_key()
358 return (p_item->p_key); in cl_fmap_key()
528 const p_item) in cl_fmap_next()
530 CL_ASSERT(p_item); in cl_fmap_next()
531 return ((cl_fmap_item_t *) p_item->pool_item.list_item.p_next); in cl_fmap_next()
561 const p_item) in cl_fmap_prev()
563 CL_ASSERT(p_item); in cl_fmap_prev()
564 return ((cl_fmap_item_t *) p_item->pool_item.list_item.p_prev); in cl_fmap_prev()
594 IN cl_fmap_item_t * const p_item);
[all …]
H A Dcl_qmap.h435 static inline uint64_t cl_qmap_key(IN const cl_map_item_t * const p_item) in cl_qmap_key() argument
437 CL_ASSERT(p_item); in cl_qmap_key()
438 return (p_item->key); in cl_qmap_key()
600 static inline cl_map_item_t *cl_qmap_next(IN const cl_map_item_t * const p_item) in cl_qmap_next() argument
602 CL_ASSERT(p_item); in cl_qmap_next()
603 return ((cl_map_item_t *) p_item->pool_item.list_item.p_next); in cl_qmap_next()
632 static inline cl_map_item_t *cl_qmap_prev(IN const cl_map_item_t * const p_item) in cl_qmap_prev() argument
634 CL_ASSERT(p_item); in cl_qmap_prev()
635 return ((cl_map_item_t *) p_item->pool_item.list_item.p_prev); in cl_qmap_prev()
666 IN cl_map_item_t * const p_item);
[all …]
H A Dcl_qlist.h1161 cl_list_item_t *p_item; in cl_qlist_remove_head() local
1168 p_item = cl_qlist_head(p_list); in cl_qlist_remove_head()
1173 return (p_item); in cl_qlist_remove_head()
1177 p_item->p_list = NULL; in cl_qlist_remove_head()
1180 __cl_primitive_remove(p_item); in cl_qlist_remove_head()
1184 return (p_item); in cl_qlist_remove_head()
1214 cl_list_item_t *p_item; in cl_qlist_remove_tail() local
1226 return (p_item); in cl_qlist_remove_tail()
1230 p_item->p_list = NULL; in cl_qlist_remove_tail()
1233 __cl_primitive_remove(p_item); in cl_qlist_remove_tail()
[all …]
H A Dcl_qcomppool.h655 cl_list_item_t *p_item; in cl_qcpool_put_list() local
664 p_item = cl_qlist_head(p_list); in cl_qcpool_put_list()
665 while (p_item != cl_qlist_end(p_list)) { in cl_qcpool_put_list()
666 CL_ASSERT(((cl_pool_item_t *) p_item)->p_pool == p_pool); in cl_qcpool_put_list()
667 p_item = cl_qlist_next(p_item); in cl_qcpool_put_list()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c116 cl_list_item_t *p_item; in osm_lid_mgr_destroy() local
160 p_item->guid); in lid_mgr_validate_db()
195 lid, p_item->guid); in lid_mgr_validate_db()
208 p_item->guid)) in lid_mgr_validate_db()
212 p_item->guid); in lid_mgr_validate_db()
214 free(p_item); in lid_mgr_validate_db()
296 cl_list_item_t *p_item; in lid_mgr_init_sweep() local
598 cl_list_item_t *p_item; in lid_mgr_find_free_lid_range() local
632 p_item); in lid_mgr_find_free_lid_range()
633 free(p_item); in lid_mgr_find_free_lid_range()
[all …]
H A Dosm_subnet.c965 free(p_item); in subn_validate_g2m()
989 while ((p_item = in subn_validate_neighbor()
997 p_item->guid, p_item->portnum); in subn_validate_neighbor()
1009 p_item->guid, p_item->portnum, in subn_validate_neighbor()
1014 p_item->guid, p_item->portnum); in subn_validate_neighbor()
1021 p_item->guid, p_item->portnum); in subn_validate_neighbor()
1028 p_item->guid, p_item->portnum); in subn_validate_neighbor()
1032 guid != p_item->guid || port != p_item->portnum) { in subn_validate_neighbor()
1037 p_item->guid, p_item->portnum); in subn_validate_neighbor()
1048 p_item->guid, p_item->portnum); in subn_validate_neighbor()
[all …]
H A Dosm_prtn.c188 cl_map_item_t *p_item; in osm_prtn_add_all() local
192 p_item = cl_qmap_head(p_port_tbl); in osm_prtn_add_all()
193 while (p_item != cl_qmap_end(p_port_tbl)) { in osm_prtn_add_all()
194 p_port = (osm_port_t *) p_item; in osm_prtn_add_all()
195 p_item = cl_qmap_next(p_item); in osm_prtn_add_all()
H A Dosm_sa_guidinfo_record.c500 cl_map_item_t *p_item; in set_guidinfo() local
576 p_item = cl_qmap_get(&sa->sm->p_subn->alias_port_guid_tbl, in set_guidinfo()
578 if (p_item == cl_qmap_end(&sa->sm->p_subn->alias_port_guid_tbl)) in set_guidinfo()
581 p_alias_guid = (osm_alias_guid_t *) p_item; in set_guidinfo()
612 p_item = cl_qmap_get(&sa->sm->p_subn->alias_port_guid_tbl, in set_guidinfo()
614 if (p_item == cl_qmap_end(&sa->sm->p_subn->alias_port_guid_tbl)) { in set_guidinfo()
H A Dosm_prtn_config.c390 cl_map_iterator_t p_next, p_item; in manage_membership_change() local
424 p_item = p_next; in manage_membership_change()
425 p_next = cl_map_next(p_item); in manage_membership_change()
426 p_physp = (osm_physp_t *) cl_map_obj(p_item); in manage_membership_change()
428 cl_map_remove_item(p_tbl, p_item); in manage_membership_change()
H A Dosm_qos.c141 static void osm_qos_mad_delete(qos_mad_item_t ** p_item) in osm_qos_mad_delete() argument
143 free(*p_item); in osm_qos_mad_delete()
144 *p_item = NULL; in osm_qos_mad_delete()
H A Dosm_sa_mcmember_record.c1468 cl_map_item_t *p_item; in mcmr_by_comp_mask() local
1535 p_item = cl_qmap_head(&(p_mgrp->mcm_alias_port_tbl)); in mcmr_by_comp_mask()
1536 while (p_item != cl_qmap_end(&(p_mgrp->mcm_alias_port_tbl))) { in mcmr_by_comp_mask()
1537 p_mcm_alias_guid = (osm_mcm_alias_guid_t *) p_item; in mcmr_by_comp_mask()
1560 p_item = cl_qmap_next(p_item); in mcmr_by_comp_mask()
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_paprd.c2290 struct ar9300_paprd_pwr_adjust *p_item; in ar9300_paprd_dec_tx_pwr() local
2299 p_item = &ar9300_paprd_pwr_adj_array[i]; in ar9300_paprd_dec_tx_pwr()
2300 pwr_reg = OS_REG_READ(ah, p_item->reg_addr); in ar9300_paprd_dec_tx_pwr()
2301 pwr_temp = ahp->ah_default_tx_power[p_item->target_rate]; in ar9300_paprd_dec_tx_pwr()
2302 pwr_temp -= (p_item->sub_db * 2); in ar9300_paprd_dec_tx_pwr()
2303 pwr_temp = pwr_temp << p_item->reg_mask_offset; in ar9300_paprd_dec_tx_pwr()
2304 pwr_temp |= (pwr_reg&~(p_item->reg_mask <<p_item->reg_mask_offset)); in ar9300_paprd_dec_tx_pwr()
2308 OS_REG_WRITE(ah, p_item->reg_addr, pwr_temp); in ar9300_paprd_dec_tx_pwr()