Searched refs:p_item (Results 1 - 19 of 19) sorted by relevance

/freebsd-11.0-release/contrib/ofed/management/opensm/complib/
H A Dcl_map.c90 static boolean_t __cl_map_is_left_child(IN const cl_map_item_t * const p_item) argument
92 CL_ASSERT(p_item);
93 CL_ASSERT(p_item->p_up);
94 CL_ASSERT(p_item->p_up != p_item);
96 return (p_item->p_up->p_left == p_item);
103 const p_item)
105 CL_ASSERT(p_item);
106 CL_ASSERT(p_item
102 __cl_map_get_parent_ptr_to_item(IN cl_map_item_t * const p_item) argument
132 __cl_map_rot_left(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
178 __cl_map_rot_right(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
233 cl_map_item_t *p_item; local
256 cl_map_item_t *p_item; local
300 __cl_map_ins_bal(IN cl_qmap_t * const p_map, IN cl_map_item_t * p_item) argument
349 cl_qmap_insert(IN cl_qmap_t * const p_map, IN const uint64_t key, IN cl_map_item_t * const p_item) argument
441 __cl_map_del_bal(IN cl_qmap_t * const p_map, IN cl_map_item_t * p_item) argument
506 cl_qmap_remove_item(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
587 cl_map_item_t *p_item; local
604 cl_map_item_t *p_item, *p_item2, *p_next; local
765 cl_map_item_t *p_item; local
779 cl_map_item_t *p_item; local
805 cl_map_item_t *p_item; local
823 cl_map_item_t *p_item; local
1021 __cl_fmap_is_left_child(IN const cl_fmap_item_t * const p_item) argument
1033 __cl_fmap_get_parent_ptr_to_item(IN cl_fmap_item_t * const p_item) argument
1063 __cl_fmap_rot_left(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1109 __cl_fmap_rot_right(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1169 cl_fmap_item_t *p_item; local
1195 cl_fmap_item_t *p_item; local
1242 __cl_fmap_ins_bal(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * p_item) argument
1291 cl_fmap_insert(IN cl_fmap_t * const p_map, IN const void *const p_key, IN cl_fmap_item_t * const p_item) argument
1386 __cl_fmap_del_bal(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * p_item) argument
1451 cl_fmap_remove_item(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1531 cl_fmap_item_t *p_item; local
1548 cl_fmap_item_t *p_item, *p_item2, *p_next; local
[all...]
H A Dcl_list.c63 cl_list_item_t *p_item; local
76 p_item = (cl_list_item_t *) ((uint8_t *) p_array +
81 cl_qlist_insert_head(p_list, p_item);
84 p_item = (cl_list_item_t *) ((uint8_t *) p_item - item_size);
93 cl_list_item_t *p_item; local
102 p_item = p_array;
106 cl_qlist_insert_tail(p_list, p_item);
109 p_item = (cl_list_item_t *) ((uint8_t *) p_item
118 cl_list_item_t *p_item; local
171 cl_list_item_t *p_item; local
[all...]
/freebsd-11.0-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_fleximap.h355 static inline const void *cl_fmap_key(IN const cl_fmap_item_t * const p_item) argument
357 CL_ASSERT(p_item);
358 return (p_item->p_key);
363 * p_item
528 const p_item)
530 CL_ASSERT(p_item);
531 return ((cl_fmap_item_t *) p_item->pool_item.list_item.p_next);
536 * p_item
561 const p_item)
563 CL_ASSERT(p_item);
527 cl_fmap_next(IN const cl_fmap_item_t * const p_item) argument
560 cl_fmap_prev(IN const cl_fmap_item_t * const p_item) argument
[all...]
H A Dcl_qmap.h435 static inline uint64_t cl_qmap_key(IN const cl_map_item_t * const p_item) argument
437 CL_ASSERT(p_item);
438 return (p_item->key);
443 * p_item
600 static inline cl_map_item_t *cl_qmap_next(IN const cl_map_item_t * const p_item) argument
602 CL_ASSERT(p_item);
603 return ((cl_map_item_t *) p_item->pool_item.list_item.p_next);
608 * p_item
632 static inline cl_map_item_t *cl_qmap_prev(IN const cl_map_item_t * const p_item) argument
634 CL_ASSERT(p_item);
[all...]
H A Dcl_qcomppool.h655 cl_list_item_t *p_item; local
664 p_item = cl_qlist_head(p_list);
665 while (p_item != cl_qlist_end(p_list)) {
666 CL_ASSERT(((cl_pool_item_t *) p_item)->p_pool == p_pool);
667 p_item = cl_qlist_next(p_item);
H A Dcl_qlist.h1161 cl_list_item_t *p_item; local
1168 p_item = cl_qlist_head(p_list);
1170 CL_ASSERT(p_item->p_list == p_list);
1172 if (p_item == cl_qlist_end(p_list))
1173 return (p_item);
1177 p_item->p_list = NULL;
1180 __cl_primitive_remove(p_item);
1184 return (p_item);
1214 cl_list_item_t *p_item; local
1221 p_item
[all...]
/freebsd-11.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_sar.c114 cl_list_item_t *p_item; local
123 p_item = cl_qlist_head(p_bufs);
124 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
133 p_item = cl_qlist_remove_head(p_bufs);
134 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
H A Dosm_vendor_mlx_txn.c277 cl_map_item_t *p_item; local
287 p_item = cl_qmap_head(p_map);
288 p_obj = PARENT_STRUCT(p_item, cl_map_obj_t, item);
300 cl_qmap_remove_item(p_map, p_item);
362 cl_map_item_t *p_item; local
377 p_item = cl_qmap_head(p_tx_mgr->p_txn_map);
378 while (p_item != cl_qmap_end(p_tx_mgr->p_txn_map)) {
379 tmp_key = cl_qmap_key(p_item);
383 p_item = cl_qmap_next(p_item);
403 cl_map_item_t *p_item; local
442 cl_map_item_t *p_item; local
473 cl_map_item_t *p_item; local
[all...]
H A Dosm_vendor_mlx_ibmgt.c481 cl_list_item_t *p_item, *p_item_tmp; local
503 p_item = cl_qlist_head(p_list);
504 while (p_item != cl_qlist_end(p_list)) {
505 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
509 p_item_tmp = cl_qlist_next(p_item);
510 p_item = p_item_tmp;
513 CL_ASSERT(p_item != cl_qlist_end(p_list));
514 cl_qlist_remove_item(p_list, p_item);
543 p_item = cl_qlist_head(p_list);
544 while (p_item !
605 cl_list_item_t *p_item; local
[all...]
H A Dosm_vendor_mlx.c102 cl_list_item_t *p_item; local
111 p_item = cl_qlist_remove_head(&((*pp_vend)->bind_handles));
112 while (p_item != cl_qlist_end(&((*pp_vend)->bind_handles))) {
114 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
123 p_item = cl_qlist_remove_head(&((*pp_vend)->bind_handles));
323 cl_list_item_t *p_item, *p_item_tmp; local
330 p_item = cl_qlist_head(p_bh_list);
331 while (p_item != cl_qlist_end(p_bh_list)) {
332 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
336 p_item_tmp = cl_qlist_next(p_item);
[all...]
H A Dosm_vendor_mlx_anafa.c108 cl_list_item_t *p_item; local
120 p_item = cl_qlist_remove_head(&((*pp_vend)->bind_handles));
121 while (p_item != cl_qlist_end(&((*pp_vend)->bind_handles))) {
123 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
133 p_item =
340 cl_list_item_t *p_item, *p_item_tmp; local
347 p_item = cl_qlist_head(&p_bo->p_vendor->bind_handles);
348 while (p_item != cl_qlist_end(&p_bo->p_vendor->bind_handles)) {
349 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
353 p_item_tmp = cl_qlist_next(p_item);
[all...]
H A Dosm_vendor_mlx_rmpp_ctx.c282 cl_list_item_t *p_item; local
287 p_item = cl_qlist_head(p_recv_ctx->p_rbuf);
288 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
312 cl_list_item_t *p_item; local
317 p_item = cl_qlist_tail(p_recv_ctx->p_rbuf);
318 p_obj = PARENT_STRUCT(p_item, cl_list_obj_t, list_item);
/freebsd-11.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_lid_mgr.c119 cl_list_item_t *p_item; local
124 p_item = cl_qlist_remove_head(&p_mgr->free_ranges);
125 while (p_item != cl_qlist_end(&p_mgr->free_ranges)) {
126 free((osm_lid_mgr_range_t *) p_item);
127 p_item = cl_qlist_remove_head(&p_mgr->free_ranges);
140 osm_db_guid_elem_t *p_item; local
162 p_item = (osm_db_guid_elem_t *) cl_qlist_remove_head(&guids);
163 while ((cl_list_item_t *) p_item != cl_qlist_end(&guids)) {
165 (p_mgr->p_g2l, p_item->guid, &min_lid, &max_lid))
168 p_item
319 cl_list_item_t *p_item; local
660 cl_list_item_t *p_item; local
[all...]
H A Dosm_prtn.c141 cl_map_item_t *p_item; local
145 p_item = cl_qmap_head(p_port_tbl);
146 while (p_item != cl_qmap_end(p_port_tbl)) {
147 p_port = (osm_port_t *) p_item;
148 p_item = cl_qmap_next(p_item);
H A Dosm_pkey.c119 cl_list_item_t *p_item; local
121 p_item = cl_qlist_remove_head(&p_pkey_tbl->pending);
122 while (p_item != cl_qlist_end(&p_pkey_tbl->pending)) {
123 free((osm_pending_pkey_t *) p_item);
H A Dosm_sa_mcmember_record.c1414 cl_map_item_t *p_item; local
1525 p_item = cl_qmap_head(&(p_mgrp->mcm_port_tbl));
1526 while (p_item != cl_qmap_end(&(p_mgrp->mcm_port_tbl))) {
1527 p_mcm_port = (osm_mcm_port_t *) p_item;
1549 p_item = cl_qmap_next(p_item);
/freebsd-11.0-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_paprd.c2290 struct ar9300_paprd_pwr_adjust *p_item; local
2299 p_item = &ar9300_paprd_pwr_adj_array[i];
2300 pwr_reg = OS_REG_READ(ah, p_item->reg_addr);
2301 pwr_temp = ahp->ah_default_tx_power[p_item->target_rate];
2302 pwr_temp -= (p_item->sub_db * 2);
2303 pwr_temp = pwr_temp << p_item->reg_mask_offset;
2304 pwr_temp |= (pwr_reg&~(p_item->reg_mask <<p_item->reg_mask_offset));
2308 OS_REG_WRITE(ah, p_item->reg_addr, pwr_temp);
/freebsd-11.0-release/contrib/ofed/management/opensm/osmtest/
H A Dosmtest.c435 cl_map_item_t *p_item, *p_next_item; local
450 p_item = p_next_item;
451 p_next_item = cl_qmap_next(p_item);
452 free(p_item);
456 p_item = p_next_item;
457 p_next_item = cl_qmap_next(p_item);
458 free(p_item);
462 p_item = p_next_item;
463 p_next_item = cl_qmap_next(p_item);
464 free(p_item);
[all...]
H A Dosmt_multicast.c162 cl_map_item_t *p_item, *p_next_item; local
217 p_item = p_next_item;
218 p_next_item = cl_qmap_next(p_item);
219 cl_qmap_remove_item(&p_osmt->exp_subn.mgrp_mlid_tbl, p_item);
220 free(p_item);

Completed in 212 milliseconds