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

/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_map.c86 static boolean_t __cl_map_is_left_child(IN const cl_map_item_t * const p_item) argument
88 CL_ASSERT(p_item);
89 CL_ASSERT(p_item->p_up);
90 CL_ASSERT(p_item->p_up != p_item);
92 return (p_item->p_up->p_left == p_item);
99 const p_item)
101 CL_ASSERT(p_item);
102 CL_ASSERT(p_item
98 __cl_map_get_parent_ptr_to_item(IN cl_map_item_t * const p_item) argument
127 __cl_map_rot_left(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
173 __cl_map_rot_right(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
229 cl_map_item_t *p_item; local
252 cl_map_item_t *p_item; local
294 __cl_map_ins_bal(IN cl_qmap_t * const p_map, IN cl_map_item_t * p_item) argument
344 cl_qmap_insert(IN cl_qmap_t * const p_map, IN const uint64_t key, IN cl_map_item_t * const p_item) argument
435 __cl_map_del_bal(IN cl_qmap_t * const p_map, IN cl_map_item_t * p_item) argument
500 cl_qmap_remove_item(IN cl_qmap_t * const p_map, IN cl_map_item_t * const p_item) argument
582 cl_map_item_t *p_item; local
598 cl_map_item_t *p_item, *p_item2, *p_next; local
754 cl_map_item_t *p_item; local
768 cl_map_item_t *p_item; local
794 cl_map_item_t *p_item; local
812 cl_map_item_t *p_item; local
1004 __cl_fmap_is_left_child(IN const cl_fmap_item_t * const p_item) argument
1016 __cl_fmap_get_parent_ptr_to_item(IN cl_fmap_item_t * const p_item) argument
1045 __cl_fmap_rot_left(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1091 __cl_fmap_rot_right(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1152 cl_fmap_item_t *p_item; local
1185 cl_fmap_item_t *p_item; local
1230 __cl_fmap_ins_bal(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * p_item) argument
1280 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
1374 __cl_fmap_del_bal(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * p_item) argument
1439 cl_fmap_remove_item(IN cl_fmap_t * const p_map, IN cl_fmap_item_t * const p_item) argument
1519 cl_fmap_item_t *p_item; local
1535 cl_fmap_item_t *p_item, *p_item2, *p_next; local
[all...]
H A Dcl_list.c59 cl_list_item_t *p_item; local
72 p_item = (cl_list_item_t *) ((uint8_t *) p_array +
77 cl_qlist_insert_head(p_list, p_item);
80 p_item = (cl_list_item_t *) ((uint8_t *) p_item - item_size);
89 cl_list_item_t *p_item; local
98 p_item = p_array;
102 cl_qlist_insert_tail(p_list, p_item);
105 p_item = (cl_list_item_t *) ((uint8_t *) p_item
113 cl_list_item_t *p_item; local
165 cl_list_item_t *p_item; local
[all...]
/freebsd-11-stable/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) 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-stable/contrib/ofed/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.c279 cl_map_item_t *p_item; local
289 p_item = cl_qmap_head(p_map);
290 p_obj = PARENT_STRUCT(p_item, cl_map_obj_t, item);
302 cl_qmap_remove_item(p_map, p_item);
364 cl_map_item_t *p_item; local
379 p_item = cl_qmap_head(p_tx_mgr->p_txn_map);
380 while (p_item != cl_qmap_end(p_tx_mgr->p_txn_map)) {
381 tmp_key = cl_qmap_key(p_item);
385 p_item = cl_qmap_next(p_item);
405 cl_map_item_t *p_item; local
444 cl_map_item_t *p_item; local
475 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_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.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_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-stable/contrib/ofed/opensm/opensm/
H A Dosm_lid_mgr.c116 cl_list_item_t *p_item; local
120 while ((p_item = cl_qlist_remove_head(&p_mgr->free_ranges)) !=
122 free((osm_lid_mgr_range_t *) p_item);
134 osm_db_guid_elem_t *p_item; local
154 while ((p_item = (osm_db_guid_elem_t *) cl_qlist_remove_head(&guids))
156 if (osm_db_guid2lid_get(p_mgr->p_g2l, p_item->guid,
160 p_item->guid);
165 || p_item->guid == 0
171 max_lid, p_item->guid);
182 min_lid, max_lid, p_item
296 cl_list_item_t *p_item; local
598 cl_list_item_t *p_item; local
[all...]
H A Dosm_prtn.c188 cl_map_item_t *p_item; local
192 p_item = cl_qmap_head(p_port_tbl);
193 while (p_item != cl_qmap_end(p_port_tbl)) {
194 p_port = (osm_port_t *) p_item;
195 p_item = cl_qmap_next(p_item);
H A Dosm_subnet.c928 osm_db_guid_elem_t *p_item; local
941 while ((p_item = (osm_db_guid_elem_t *) cl_qlist_remove_head(&guids))
945 if (p_item->guid == 0) {
949 } else if (osm_db_guid2mkey_get(p_subn->p_g2m, p_item->guid,
953 PRIx64 "\n", p_item->guid);
959 p_item->guid))
963 p_item->guid);
965 free(p_item);
975 osm_db_neighbor_elem_t *p_item; local
989 while ((p_item
[all...]
H A Dosm_sa_guidinfo_record.c500 cl_map_item_t *p_item; local
576 p_item = cl_qmap_get(&sa->sm->p_subn->alias_port_guid_tbl,
578 if (p_item == cl_qmap_end(&sa->sm->p_subn->alias_port_guid_tbl))
581 p_alias_guid = (osm_alias_guid_t *) p_item;
612 p_item = cl_qmap_get(&sa->sm->p_subn->alias_port_guid_tbl,
614 if (p_item == cl_qmap_end(&sa->sm->p_subn->alias_port_guid_tbl)) {
H A Dosm_prtn_config.c390 cl_map_iterator_t p_next, p_item; local
424 p_item = p_next;
425 p_next = cl_map_next(p_item);
426 p_physp = (osm_physp_t *) cl_map_obj(p_item);
428 cl_map_remove_item(p_tbl, p_item);
H A Dosm_qos.c141 static void osm_qos_mad_delete(qos_mad_item_t ** p_item) argument
143 free(*p_item);
144 *p_item = NULL;
H A Dosm_sa_mcmember_record.c1468 cl_map_item_t *p_item; local
1535 p_item = cl_qmap_head(&(p_mgrp->mcm_alias_port_tbl));
1536 while (p_item != cl_qmap_end(&(p_mgrp->mcm_alias_port_tbl))) {
1537 p_mcm_alias_guid = (osm_mcm_alias_guid_t *) p_item;
1560 p_item = cl_qmap_next(p_item);
/freebsd-11-stable/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);

Completed in 206 milliseconds