Searched refs:obj_count (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_pool.c | 207 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/contrib/ofed/opensm/include/complib/ |
H A D | cl_qpool.h | 573 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 D | cl_pool.h | 528 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 D | cl_comppool.h | 552 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 D | cl_qcomppool.h | 708 cl_status_t cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count);
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_rc.c | 730 uint32_t *obj_count) in dpaa2_rc_get_obj_count() argument 735 if (portal == NULL || cmd == NULL || obj_count == NULL) in dpaa2_rc_get_obj_count() 740 *obj_count = (uint32_t)(cmd->params[0] >> 32); in dpaa2_rc_get_obj_count() 2749 uint32_t major, minor, rev, obj_count; in dpaa2_rc_discover() local 2785 rc = DPAA2_CMD_RC_GET_OBJ_COUNT(rcdev, child, &cmd, &obj_count); in dpaa2_rc_discover() 2793 device_printf(rcdev, "Objects in container: %u\n", obj_count); in dpaa2_rc_discover() 2818 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover() 2833 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover() 2857 for (uint32_t i = 0; i < obj_count; i++) { in dpaa2_rc_discover()
|
H A D | dpaa2_cmd_if.m | 103 uint32_t *obj_count) 108 device_get_parent(dev), child, cmd, obj_count)); 966 uint32_t *obj_count;
|
/freebsd/libexec/rtld-elf/ |
H A D | rtld.c | 226 static unsigned int obj_count; /* Number of objects in obj_list */ variable 323 ((dlp)->objs = alloca(obj_count * sizeof(dlp)->objs[0]), \ 324 assert((dlp)->objs != NULL), (dlp)->num_alloc = obj_count, \ 847 obj_count++; in _rtld() 2876 obj_count++; in do_load_object() 2959 obj_count++; in load_kpreload() 4253 phdr_info->dlpi_subs = obj_loads - obj_count; in rtld_fill_dl_phdr_info() 5221 obj_count--; in unload_object()
|