Searched refs:p_list (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11.0-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_qlist.h120 struct _cl_qlist *p_list; member in struct:_cl_list_item
413 static inline void __cl_qlist_reset(IN cl_qlist_t * const p_list) argument
416 p_list->end.p_next = &p_list->end;
417 p_list->end.p_prev = &p_list->end;
419 p_list->end.p_list = p_list;
423 p_list
435 cl_qlist_init(IN cl_qlist_t * const p_list) argument
472 cl_qlist_count(IN const cl_qlist_t * const p_list) argument
504 cl_is_qlist_empty(IN const cl_qlist_t * const p_list) argument
614 cl_qlist_head(IN const cl_qlist_t * const p_list) argument
652 cl_qlist_tail(IN const cl_qlist_t * const p_list) argument
689 cl_qlist_end(IN const cl_qlist_t * const p_list) argument
732 cl_qlist_insert_head(IN cl_qlist_t * const p_list, IN cl_list_item_t * const p_list_item) argument
793 cl_qlist_insert_tail(IN cl_qlist_t * const p_list, IN cl_list_item_t * const p_list_item) argument
1031 cl_qlist_insert_prev(IN cl_qlist_t * const p_list, IN cl_list_item_t * const p_list_item, IN cl_list_item_t * const p_new_item) argument
1095 cl_qlist_insert_next(IN cl_qlist_t * const p_list, IN cl_list_item_t * const p_list_item, IN cl_list_item_t * const p_new_item) argument
1159 cl_qlist_remove_head(IN cl_qlist_t * const p_list) argument
1212 cl_qlist_remove_tail(IN cl_qlist_t * const p_list) argument
1265 cl_qlist_remove_item(IN cl_qlist_t * const p_list, IN cl_list_item_t * const p_list_item) argument
1319 cl_qlist_remove_all(IN cl_qlist_t * const p_list) argument
1495 cl_qlist_find_from_head(IN const cl_qlist_t * const p_list, IN cl_pfn_qlist_find_t pfn_func, IN const void *const context) argument
1557 cl_qlist_find_from_tail(IN const cl_qlist_t * const p_list, IN cl_pfn_qlist_find_t pfn_func, IN const void *const context) argument
[all...]
H A Dcl_list.h228 void cl_list_construct(IN cl_list_t * const p_list);
231 * p_list
257 static inline boolean_t cl_is_list_inited(IN const cl_list_t * const p_list) argument
260 CL_ASSERT(p_list);
265 return (cl_is_qpool_inited(&p_list->list_item_pool));
270 * p_list
297 cl_list_init(IN cl_list_t * const p_list, IN const size_t min_items);
300 * p_list
331 void cl_list_destroy(IN cl_list_t * const p_list);
334 * p_list
363 cl_is_list_empty(IN const cl_list_t * const p_list) argument
394 cl_list_insert_head(IN cl_list_t * const p_list, IN const void *const p_object) argument
445 cl_list_insert_tail(IN cl_list_t * const p_list, IN const void *const p_object) argument
587 cl_list_insert_next(IN cl_list_t * const p_list, IN cl_list_iterator_t iterator, IN const void *const p_object) argument
640 cl_list_insert_prev(IN cl_list_t * const p_list, IN cl_list_iterator_t iterator, IN const void *const p_object) argument
691 cl_list_remove_head(IN cl_list_t * const p_list) argument
737 cl_list_remove_tail(IN cl_list_t * const p_list) argument
782 cl_list_remove_all(IN cl_list_t * const p_list) argument
847 cl_list_remove_item(IN cl_list_t * const p_list, IN cl_list_iterator_t iterator) argument
915 cl_list_end(IN const cl_list_t * const p_list) argument
951 cl_list_head(IN const cl_list_t * const p_list) argument
989 cl_list_tail(IN const cl_list_t * const p_list) argument
1271 cl_list_count(IN const cl_list_t * const p_list) argument
[all...]
H A Dcl_qcomppool.h652 cl_qcpool_put_list(IN cl_qcpool_t * const p_pool, IN cl_qlist_t * const p_list) argument
660 CL_ASSERT(p_list);
664 p_item = cl_qlist_head(p_list);
665 while (p_item != cl_qlist_end(p_list)) {
672 cl_qlist_insert_list_head(&p_pool->free_list, p_list);
681 * p_list
691 * The objects in the list specified by the p_list parameter must have been
H A Dcl_qpool.h533 cl_qpool_put_list(IN cl_qpool_t * const p_pool, IN cl_qlist_t * const p_list) argument
536 cl_qcpool_put_list(&p_pool->qcpool, p_list);
545 * p_list
555 * The objects in the list specified by the p_list parameter must have been
/freebsd-11.0-release/contrib/ofed/management/opensm/complib/
H A Dcl_list.c59 cl_qlist_insert_array_head(IN cl_qlist_t * const p_list, argument
65 CL_ASSERT(p_list);
66 CL_ASSERT(p_list->state == CL_INITIALIZED);
81 cl_qlist_insert_head(p_list, p_item);
89 cl_qlist_insert_array_tail(IN cl_qlist_t * const p_list, argument
95 CL_ASSERT(p_list);
96 CL_ASSERT(p_list->state == CL_INITIALIZED);
106 cl_qlist_insert_tail(p_list, p_item);
138 CL_ASSERT(p_item->p_list == p_src_list);
140 p_item->p_list
220 cl_is_item_in_qlist(IN const cl_qlist_t * const p_list, IN const cl_list_item_t * const p_list_item) argument
243 cl_qlist_find_next(IN const cl_qlist_t * const p_list, IN const cl_list_item_t * const p_list_item, IN cl_pfn_qlist_find_t pfn_func, IN const void *const context) argument
272 cl_qlist_find_prev(IN const cl_qlist_t * const p_list, IN const cl_list_item_t * const p_list_item, IN cl_pfn_qlist_find_t pfn_func, IN const void *const context) argument
302 cl_qlist_apply_func(IN const cl_qlist_t * const p_list, IN cl_pfn_qlist_apply_t pfn_func, IN const void *const context) argument
356 cl_list_construct(IN cl_list_t * const p_list) argument
363 cl_list_init(IN cl_list_t * const p_list, IN const size_t min_items) argument
383 cl_list_destroy(IN cl_list_t * const p_list) argument
403 cl_list_remove_object(IN cl_list_t * const p_list, IN const void *const p_object) argument
425 cl_is_object_in_list(IN const cl_list_t * const p_list, IN const void *const p_object) argument
437 cl_list_insert_array_head(IN cl_list_t * const p_list, IN const void *const p_array, IN uint32_t item_count, IN const uint32_t item_size) argument
475 cl_list_insert_array_tail(IN cl_list_t * const p_list, IN const void *const p_array, IN uint32_t item_count, IN const uint32_t item_size) argument
509 cl_list_find_from_head(IN const cl_list_t * const p_list, IN cl_pfn_list_find_t pfn_func, IN const void *const context) argument
536 cl_list_find_from_tail(IN const cl_list_t * const p_list, IN cl_pfn_list_find_t pfn_func, IN const void *const context) argument
563 cl_list_apply_func(IN const cl_list_t * const p_list, IN cl_pfn_list_apply_t pfn_func, IN const void *const context) argument
[all...]
/freebsd-11.0-release/contrib/ofed/management/opensm/libvendor/
H A Dosm_vendor_mlx_ibmgt.c483 cl_qlist_t *p_list = NULL; local
500 p_list = p_tpot_info->p_smi_list;
503 p_item = cl_qlist_head(p_list);
504 while (p_item != cl_qlist_end(p_list)) {
513 CL_ASSERT(p_item != cl_qlist_end(p_list));
514 cl_qlist_remove_item(p_list, p_item);
519 if (cl_is_qlist_empty(p_list) == TRUE) {
520 free(p_list);
521 p_list = NULL;
541 p_list
607 cl_qlist_t *p_list; local
[all...]
/freebsd-11.0-release/sys/dev/ppbus/
H A Dppb_msq.c198 va_list p_list; local
200 va_start(p_list, nbparam);
204 param = va_arg(p_list, int);
223 msq[ins].arg[arg].i = va_arg(p_list, int);
227 msq[ins].arg[arg].i = (int)va_arg(p_list, int);
231 msq[ins].arg[arg].p = va_arg(p_list, void *);
235 msq[ins].arg[arg].f = va_arg(p_list, void *);
244 va_end(p_list);
/freebsd-11.0-release/contrib/ofed/management/opensm/opensm/
H A Dosm_sa_sw_info_record.c65 cl_qlist_t *p_list; member in struct:osm_sir_search_ctxt
75 IN cl_qlist_t * const p_list, IN ib_net16_t const lid)
98 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
110 IN cl_qlist_t * const p_list,
166 __osm_sir_rcv_new_sir(sa, p_sw, p_list, osm_port_get_base_lid(p_port));
198 __osm_sir_rcv_create_sir(sa, p_sw, p_ctxt->p_list,
256 context.p_list = &rec_list;
73 __osm_sir_rcv_new_sir(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid) argument
108 __osm_sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const match_lid, IN const osm_physp_t * const p_req_physp) argument
H A Dosm_sa_link_record.c70 IN const uint8_t to_port, IN cl_qlist_t * p_list)
93 cl_qlist_insert_tail(p_list, &p_lr_item->list_item);
116 IN cl_qlist_t * const p_list,
205 src_port_num, dest_port_num, p_list);
219 IN cl_qlist_t * const p_list,
260 p_list, p_req_physp);
280 NULL, comp_mask, p_list,
295 NULL, comp_mask, p_list,
319 p_list, p_req_physp);
334 p_list, p_req_phys
66 __osm_lr_rcv_build_physp_link(IN osm_sa_t * sa, IN const ib_net16_t from_lid, IN const ib_net16_t to_lid, IN const uint8_t from_port, IN const uint8_t to_port, IN cl_qlist_t * p_list) argument
111 __osm_lr_rcv_get_physp_link(IN osm_sa_t * sa, IN const ib_link_record_t * const p_lr, IN const osm_physp_t * p_src_physp, IN const osm_physp_t * p_dest_physp, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list, IN const osm_physp_t * p_req_physp) argument
214 __osm_lr_rcv_get_port_links(IN osm_sa_t * sa, IN const ib_link_record_t * const p_lr, IN const osm_port_t * p_src_port, IN const osm_port_t * p_dest_port, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list, IN const osm_physp_t * p_req_physp) argument
[all...]
H A Dosm_sa_guidinfo_record.c68 cl_qlist_t *p_list; member in struct:osm_gir_search_ctxt
78 IN cl_qlist_t * const p_list,
109 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
121 IN cl_qlist_t * const p_list,
209 __osm_gir_rcv_new_gir(sa, p_node, p_list, port_guid,
288 __osm_sa_gir_create_gir(sa, p_node, p_ctxt->p_list,
346 context.p_list = &rec_list;
76 __osm_gir_rcv_new_gir(IN osm_sa_t * sa, IN const osm_node_t * const p_node, IN cl_qlist_t * const p_list, IN ib_net64_t const match_port_guid, IN ib_net16_t const match_lid, IN const osm_physp_t * const p_req_physp, IN uint8_t const block_num) argument
119 __osm_sa_gir_create_gir(IN osm_sa_t * sa, IN osm_node_t * const p_node, IN cl_qlist_t * const p_list, IN ib_net64_t const match_port_guid, IN ib_net16_t const match_lid, IN const osm_physp_t * const p_req_physp, IN uint8_t const match_block_num) argument
H A Dosm_sa_node_record.c65 cl_qlist_t *p_list; member in struct:osm_nr_search_ctxt
75 IN cl_qlist_t * const p_list,
105 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
117 IN cl_qlist_t * const p_list,
182 __osm_nr_rcv_new_nr(sa, p_node, p_list, port_guid, base_lid);
283 __osm_nr_rcv_create_nr(sa, p_node, p_ctxt->p_list,
339 context.p_list = &rec_list;
73 __osm_nr_rcv_new_nr(IN osm_sa_t * sa, IN const osm_node_t * const p_node, IN cl_qlist_t * const p_list, IN ib_net64_t const port_guid, IN ib_net16_t const lid) argument
115 __osm_nr_rcv_create_nr(IN osm_sa_t * sa, IN osm_node_t * const p_node, IN cl_qlist_t * const p_list, IN ib_net64_t const match_port_guid, IN ib_net16_t const match_lid, IN const osm_physp_t * const p_req_physp) argument
H A Dosm_mcast_mgr.c79 see cl_qlist_insert_tail(): CL_ASSERT(p_list_item->p_list != p_list)
405 spanning tree that eminate from this switch. On input, the p_list
412 cl_qlist_t * const p_list,
437 (osm_mcast_work_obj_t *) cl_qlist_remove_head(p_list)) !=
438 (osm_mcast_work_obj_t *) cl_qlist_end(p_list)) {
489 static void __osm_mcast_mgr_purge_list(osm_sm_t * sm, cl_qlist_t * const p_list) argument
495 while ((p_wobj = (osm_mcast_work_obj_t *) cl_qlist_remove_head(p_list))
496 != (osm_mcast_work_obj_t *) cl_qlist_end(p_list)) {
508 tree that emanate from this switch. On input, the p_list contain
409 __osm_mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * const p_mgrp, osm_switch_t * const p_sw, cl_qlist_t * const p_list, cl_qlist_t * const list_array, uint8_t const array_size) argument
513 __osm_mcast_mgr_branch(osm_sm_t * sm, osm_mgrp_t * const p_mgrp, osm_switch_t * const p_sw, cl_qlist_t * const p_list, uint8_t depth, uint8_t const upstream_port, uint8_t * const p_max_depth) argument
1140 cl_qlist_t *p_list = &sm->mgrp_list; local
1202 cl_qlist_t *p_list = &sm->mgrp_list; local
[all...]
H A Dosm_sa_lft_record.c65 cl_qlist_t *p_list; member in struct:osm_lftr_search_ctxt
75 IN cl_qlist_t * const p_list,
105 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
179 __osm_lftr_rcv_new_lftr(sa, p_sw, p_ctxt->p_list,
229 context.p_list = &rec_list;
73 __osm_lftr_rcv_new_lftr(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block) argument
H A Dosm_sa_mft_record.c65 cl_qlist_t *p_list; member in struct:osm_mftr_search_ctxt
75 IN cl_qlist_t * const p_list,
110 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
211 __osm_mftr_rcv_new_mftr(sa, p_sw, p_ctxt->p_list,
263 context.p_list = &rec_list;
73 __osm_mftr_rcv_new_mftr(IN osm_sa_t * sa, IN osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block, IN uint8_t const position) argument
H A Dosm_sa_sminfo_record.c74 cl_qlist_t *p_list; member in struct:osm_smir_search_ctxt
82 IN cl_qlist_t * const p_list,
111 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
150 __osm_smir_rcv_new_smir(sa, p_rem_sm->p_port, p_ctxt->p_list,
234 context.p_list = &rec_list;
295 __osm_smir_rcv_new_smir(sa, local_port, context.p_list,
80 __osm_smir_rcv_new_smir(IN osm_sa_t * sa, IN const osm_port_t * const p_port, IN cl_qlist_t * const p_list, IN ib_net64_t const guid, IN ib_net32_t const act_count, IN uint8_t const pri_state, IN const osm_physp_t * const p_req_physp) argument
H A Dosm_sa_slvl_record.c69 cl_qlist_t *p_list; member in struct:osm_slvl_search_ctxt
115 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item);
263 context.p_list = &rec_list;
H A Dosm_sa_vlarb_record.c69 cl_qlist_t *p_list; member in struct:osm_vl_arb_search_ctxt
114 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item);
281 context.p_list = &rec_list;
H A Dosm_sa_multipath_record.c884 IN cl_qlist_t * const p_list)
989 cl_qlist_insert_tail(p_list, &p_pr_item->list_item);
1055 cl_qlist_insert_tail(p_list, &p_pr_item->list_item);
1077 IN cl_qlist_t * const p_list)
1273 IN cl_qlist_t * const p_list)
1321 comp_mask, p_list);
1325 comp_mask, p_list);
1329 comp_mask, p_list);
1333 comp_mask, p_list);
1363 cl_qlist_insert_tail(p_list,
877 __osm_mpr_rcv_get_port_pair_paths(IN osm_sa_t * sa, IN const ib_multipath_rec_t * const p_mpr, IN const osm_port_t * const p_req_port, IN const osm_port_t * const p_src_port, IN const osm_port_t * const p_dest_port, IN const uint32_t rem_paths, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1071 __osm_mpr_rcv_get_apm_port_pair_paths(IN osm_sa_t * sa, IN const ib_multipath_rec_t * const p_mpr, IN const osm_port_t * const p_src_port, IN const osm_port_t * const p_dest_port, IN int base_offs, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1268 __osm_mpr_rcv_get_apm_paths(IN osm_sa_t * sa, IN const ib_multipath_rec_t * const p_mpr, IN const osm_port_t * const p_req_port, IN osm_port_t ** _pp_ports, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1388 __osm_mpr_rcv_process_pairs(IN osm_sa_t * sa, IN const ib_multipath_rec_t * const p_mpr, IN osm_port_t * const p_req_port, IN osm_port_t ** pp_ports, IN const int nsrc, IN const int ndest, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
[all...]
H A Dosm_sa_pkey_record.c62 cl_qlist_t *p_list; member in struct:osm_pkey_search_ctxt
108 cl_qlist_insert_tail(p_ctxt->p_list, &p_rec_item->list_item);
294 context.p_list = &rec_list;
H A Dosm_qos_parser_y.y98 cl_list_t * p_list,
103 cl_list_t * p_list,
131 cl_list_t * p_list);
2778 cl_list_t * p_list,
2786 list_iterator= cl_list_head(p_list);
2787 while( list_iterator != cl_list_end(p_list) )
2801 __rangelist2rangearr(p_list, p_arr, p_arr_len);
2808 cl_list_t * p_list,
2813 unsigned len = cl_list_count(p_list);
2821 list_iterator = cl_list_head(p_list);
[all...]
H A Dosm_sa_portinfo_record.c69 cl_qlist_t *p_list; member in struct:osm_pir_search_ctxt
80 IN cl_qlist_t * const p_list, IN ib_net16_t const lid)
107 cl_qlist_insert_tail(p_list, &p_rec_item->list_item);
157 __osm_pir_rcv_new_pir(sa, p_physp, p_ctxt->p_list,
522 context.p_list = &rec_list;
78 __osm_pir_rcv_new_pir(IN osm_sa_t * sa, IN const osm_physp_t * const p_physp, IN cl_qlist_t * const p_list, IN ib_net16_t const lid) argument
H A Dosm_sa_path_record.c916 IN cl_qlist_t * const p_list)
1064 cl_qlist_insert_tail(p_list, &p_pr_item->list_item);
1130 cl_qlist_insert_tail(p_list, &p_pr_item->list_item);
1356 IN cl_qlist_t * const p_list)
1382 comp_mask, p_list);
1405 IN cl_qlist_t * const p_list)
1429 p_list);
1441 comp_mask, p_list);
1459 IN cl_qlist_t * const p_list)
1465 comp_mask, p_list);
909 __osm_pr_rcv_get_port_pair_paths(IN osm_sa_t * sa, IN const osm_madw_t * const p_madw, IN const osm_port_t * const p_req_port, IN const osm_port_t * const p_src_port, IN const osm_port_t * const p_dest_port, IN const ib_gid_t * const p_dgid, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1351 __osm_pr_rcv_process_world(IN osm_sa_t * sa, IN const osm_madw_t * const p_madw, IN const osm_port_t * const requester_port, IN const ib_gid_t * const p_dgid, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1398 __osm_pr_rcv_process_half(IN osm_sa_t * sa, IN const osm_madw_t * const p_madw, IN const osm_port_t * const requester_port, IN const osm_port_t * const p_src_port, IN const osm_port_t * const p_dest_port, IN const ib_gid_t * const p_dgid, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
1452 __osm_pr_rcv_process_pair(IN osm_sa_t * sa, IN const osm_madw_t * const p_madw, IN const osm_port_t * const requester_port, IN const osm_port_t * const p_src_port, IN const osm_port_t * const p_dest_port, IN const ib_gid_t * const p_dgid, IN const ib_net64_t comp_mask, IN cl_qlist_t * const p_list) argument
[all...]
H A Dosm_sa_service_record.c210 IN cl_qlist_t * const p_list)
220 for (item = (osm_sr_item_t *) cl_qlist_head(p_list);
221 item != (osm_sr_item_t *) cl_qlist_end(p_list);
227 osm_sa_respond(sa, p_madw, sizeof(ib_service_record_t), p_list);
208 __osm_sr_rcv_respond(IN osm_sa_t * sa, IN osm_madw_t * const p_madw, IN cl_qlist_t * const p_list) argument
/freebsd-11.0-release/sys/ddb/
H A Ddb_thread.c140 LIST_FOREACH(p, &zombproc, p_list) {
166 LIST_FOREACH(p, &zombproc, p_list) {
/freebsd-11.0-release/sys/kern/
H A Dsubr_kdb.c547 p = LIST_NEXT(p, p_list);
561 p = LIST_NEXT(p, p_list);
587 p = LIST_NEXT(p, p_list);

Completed in 140 milliseconds

12