Home
last modified time | relevance | path

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

/freebsd-12.1/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-12.1/contrib/gcclibs/libmudflap/
H A Dmf-runtime.c868 unsigned obj_count; in __mfu_check() local
875 if (UNLIKELY (obj_count > 1)) in __mfu_check()
884 assert (n == obj_count); in __mfu_check()
894 for (i = 0; i < obj_count; i++) in __mfu_check()
906 for (i = 0; i < obj_count; i++) in __mfu_check()
1362 unsigned obj_count; member
1383 s->obj_count ++; in __mf_adapt_cache_fn()
2152 unsigned obj_count; in __mf_watch_or_not() local
2158 VERBOSE_TRACE (" %u:", obj_count); in __mf_watch_or_not()
2163 assert (n == obj_count); in __mf_watch_or_not()
[all …]
/freebsd-12.1/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-12.1/libexec/rtld-elf/
H A Drtld.c217 static unsigned int obj_count; /* Number of objects in obj_list */ variable
307 ((dlp)->objs = alloca(obj_count * sizeof (dlp)->objs[0]), \
309 (dlp)->num_alloc = obj_count, \
638 obj_count++; in _rtld()
2523 obj_count++; in do_load_object()
3757 phdr_info->dlpi_subs = obj_loads - obj_count; in rtld_fill_dl_phdr_info()
4648 obj_count--; in unload_object()