Home
last modified time | relevance | path

Searched refs:p_element (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/ofed/opensm/complib/
H A Dcl_vector.c257 void *p_element; in cl_vector_destroy() local
266 p_element = p_vector->p_ptr_array[i]; in cl_vector_destroy()
268 CL_ASSERT(p_element); in cl_vector_destroy()
269 p_vector->pfn_dtor(p_element, in cl_vector_destroy()
289 IN const size_t index, OUT void *const p_element) in cl_vector_at() argument
298 cl_vector_get(p_vector, index, p_element); in cl_vector_at()
303 IN const size_t index, IN void *const p_element) in cl_vector_set() argument
310 CL_ASSERT(p_element); in cl_vector_set()
328 p_vector->pfn_copy(p_dest, p_element, p_vector->element_size); in cl_vector_set()
406 void *p_element; in cl_vector_set_size() local
[all …]
H A Dcl_ptr_vector.c105 IN const size_t index, OUT void **const p_element) in cl_ptr_vector_at() argument
114 *p_element = cl_ptr_vector_get(p_vector, index); in cl_ptr_vector_at()
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_vector.h116 (*cl_pfn_vec_init_t) (IN void *const p_element, IN void *context);
155 (*cl_pfn_vec_dtor_t) (IN void *const p_element, IN void *context);
188 IN void *const p_element, IN void *context);
224 IN const void *const p_element, IN void *context);
582 IN const size_t index, OUT void *const p_element) in cl_vector_get() argument
588 CL_ASSERT(p_element); in cl_vector_get()
592 p_vector->pfn_copy(p_src, p_element, p_vector->element_size); in cl_vector_get()
638 IN const size_t index, OUT void *const p_element);
678 IN const size_t index, IN void *const p_element);
H A Dcl_ptr_vector.h423 IN const size_t index, OUT void **const p_element);
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_ftree.c337 ftree_sw_tbl_element_t *p_element = in sw_tbl_element_create() local
339 if (!p_element) in sw_tbl_element_create()
341 memset(p_element, 0, sizeof(ftree_sw_tbl_element_t)); in sw_tbl_element_create()
343 p_element->p_sw = p_sw; in sw_tbl_element_create()
344 return p_element; in sw_tbl_element_create()
349 static void sw_tbl_element_destroy(IN ftree_sw_tbl_element_t * p_element) in sw_tbl_element_destroy() argument
351 free(p_element); in sw_tbl_element_destroy()
977 ftree_sw_tbl_element_t *p_element; in fabric_clear() local
1010 p_element = p_next_element; in fabric_clear()
1012 cl_qmap_next(&p_element->map_item); in fabric_clear()
[all …]
H A Dosm_qos_policy.c128 static void __free_single_element(void *p_element, void *context) in __free_single_element() argument
130 if (p_element) in __free_single_element()
131 free(p_element); in __free_single_element()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_chain.h840 void *p_element,