Home
last modified time | relevance | path

Searched refs:obj_count (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/ofed/opensm/complib/
H A Dcl_pool.c207 cl_status_t cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count) in cl_qcpool_grow() argument
217 CL_ASSERT(obj_count); in cl_qcpool_grow()
224 if (obj_count > (p_pool->max_objects - p_pool->num_objects)) in cl_qcpool_grow()
225 obj_count = p_pool->max_objects - p_pool->num_objects; in cl_qcpool_grow()
234 malloc(sizeof(cl_list_item_t) + (obj_size * obj_count)); in cl_qcpool_grow()
241 sizeof(cl_list_item_t) + (obj_size * obj_count)); in cl_qcpool_grow()
248 while (obj_count--) { in cl_qcpool_grow()
/freebsd-14.2/contrib/ofed/opensm/include/complib/
H A Dcl_qpool.h573 cl_qpool_grow(IN cl_qpool_t * const p_pool, IN const size_t obj_count) in cl_qpool_grow() argument
576 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_qpool_grow()
H A Dcl_pool.h528 cl_pool_grow(IN cl_pool_t * const p_pool, IN const size_t obj_count) in cl_pool_grow() argument
531 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_pool_grow()
H A Dcl_comppool.h552 cl_cpool_grow(IN cl_cpool_t * const p_pool, IN const uint32_t obj_count) in cl_cpool_grow() argument
555 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_cpool_grow()
H A Dcl_qcomppool.h708 cl_status_t cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count);
/freebsd-14.2/sys/dev/dpaa2/
H A Ddpaa2_rc.c731 uint32_t *obj_count) in dpaa2_rc_get_obj_count() argument
736 if (portal == NULL || cmd == NULL || obj_count == NULL) in dpaa2_rc_get_obj_count()
741 *obj_count = (uint32_t)(cmd->params[0] >> 32); in dpaa2_rc_get_obj_count()
2750 uint32_t major, minor, rev, obj_count; in dpaa2_rc_discover() local
2786 rc = DPAA2_CMD_RC_GET_OBJ_COUNT(rcdev, child, &cmd, &obj_count); in dpaa2_rc_discover()
2794 device_printf(rcdev, "Objects in container: %u\n", obj_count); in dpaa2_rc_discover()
2819 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover()
2838 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover()
2866 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover()
H A Ddpaa2_cmd_if.m103 uint32_t *obj_count)
108 device_get_parent(dev), child, cmd, obj_count));
966 uint32_t *obj_count;
/freebsd-14.2/libexec/rtld-elf/
H A Drtld.c226 static unsigned int obj_count; /* Number of objects in obj_list */ variable
318 ((dlp)->objs = alloca(obj_count * sizeof (dlp)->objs[0]), \
320 (dlp)->num_alloc = obj_count, \
817 obj_count++; in _rtld()
2849 obj_count++; in do_load_object()
2931 obj_count++; in load_kpreload()
4199 phdr_info->dlpi_subs = obj_loads - obj_count; in rtld_fill_dl_phdr_info()
5138 obj_count--; in unload_object()