Searched refs:grow_size (Results 1 - 15 of 15) sorted by relevance

/freebsd-11.0-release/contrib/ofed/management/opensm/complib/
H A Dcl_pool.c71 IN const size_t grow_size,
137 p_pool->grow_size = grow_size;
328 if (!p_pool->grow_size)
332 cl_qcpool_grow(p_pool, p_pool->grow_size);
359 if (!p_pool->grow_size)
363 cl_qcpool_grow(p_pool, p_pool->grow_size);
431 IN const size_t grow_size,
445 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size,
532 IN const size_t grow_size,
68 cl_qcpool_init(IN cl_qcpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t * const component_sizes, IN const uint32_t num_components, IN cl_pfn_qcpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_qcpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
428 cl_qpool_init(IN cl_qpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t object_size, IN cl_pfn_qpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_qpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
529 cl_cpool_init(IN cl_cpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN size_t * const component_sizes, IN const uint32_t num_components, IN cl_pfn_cpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_cpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
639 cl_pool_init(IN cl_pool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t object_size, IN cl_pfn_pool_init_t pfn_initializer OPTIONAL, IN cl_pfn_pool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
[all...]
H A Dcl_ptr_vector.c61 IN const size_t min_size, IN const size_t grow_size)
69 p_vector->grow_size = grow_size;
224 if (!p_vector->grow_size)
229 if (size % p_vector->grow_size) {
230 /* Round up to nearest grow_size boundary. */
231 new_capacity += p_vector->grow_size -
232 (size % p_vector->grow_size);
60 cl_ptr_vector_init(IN cl_ptr_vector_t * const p_vector, IN const size_t min_size, IN const size_t grow_size) argument
H A Dcl_vector.c196 IN const size_t grow_size,
209 p_vector->grow_size = grow_size;
426 if (!p_vector->grow_size)
431 if (size % p_vector->grow_size) {
432 /* Round up to nearest grow_size boundary. */
433 new_capacity += p_vector->grow_size -
434 (size % p_vector->grow_size);
194 cl_vector_init(IN cl_vector_t * const p_vector, IN const size_t min_size, IN const size_t grow_size, IN const size_t element_size, IN cl_pfn_vec_init_t pfn_init OPTIONAL, IN cl_pfn_vec_dtor_t pfn_dtor OPTIONAL, IN const void *const context) argument
H A Dcl_list.c365 uint32_t grow_size; local
374 grow_size = (uint32_t) min_items >> 3;
375 if (grow_size < FREE_ITEM_GROW_SIZE)
376 grow_size = FREE_ITEM_GROW_SIZE;
379 return (cl_qpool_init(&p_list->list_item_pool, min_items, 0, grow_size,
H A Dcl_map.c713 uint32_t grow_size; local
723 grow_size = min_items >> 3;
724 if (grow_size < MAP_GROW_SIZE)
725 grow_size = MAP_GROW_SIZE;
727 return (cl_qpool_init(&p_map->pool, min_items, 0, grow_size,
/freebsd-11.0-release/contrib/ofed/management/opensm/include/complib/
H A Dcl_ptr_vector.h182 size_t grow_size; member in struct:_cl_ptr_vector
192 * grow_size
251 IN const size_t min_size, IN const size_t grow_size);
260 * grow_size
485 * the new element, unless the grow_size parameter passed into the
542 * the new element, unless the grow_size parameter passed into the
H A Dcl_qcomppool.h292 size_t grow_size; member in struct:_cl_qcpool
314 * grow_size
422 IN const size_t grow_size,
443 * grow_size
588 * grow_size parameter passed to the cl_qcpool_init function was zero.
H A Dcl_vector.h296 size_t grow_size; member in struct:_cl_vector
312 * grow_size
386 IN const size_t grow_size,
399 * grow_size
699 * unless the grow_size parameter passed into the cl_vector_init function
H A Dcl_comppool.h306 IN const size_t grow_size,
327 * grow_size
485 * grow_size parameter passed to the cl_cpool_init function was zero.
H A Dcl_pool.h293 IN const size_t grow_size,
313 * grow_size
462 * grow_size parameter passed to the cl_pool_init function was zero.
H A Dcl_qpool.h312 IN const size_t grow_size,
332 * grow_size
476 * grow_size parameter passed to the cl_qpool_init function was zero.
/freebsd-11.0-release/crypto/heimdal/lib/asn1/
H A Dlex.c2394 int grow_size = 8 /* arbitrary grow size */; local
2396 num_to_alloc = (yy_buffer_stack_max) + grow_size;
2405 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
/freebsd-11.0-release/crypto/heimdal/lib/com_err/
H A Dlex.c1529 int grow_size = 8 /* arbitrary grow size */; local
1531 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1540 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
/freebsd-11.0-release/crypto/heimdal/lib/sl/
H A Dslc-lex.c1466 int grow_size = 8 /* arbitrary grow size */; local
1468 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1477 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
/freebsd-11.0-release/usr.bin/lex/
H A Dinitscan.c4798 int grow_size = 8 /* arbitrary grow size */; local
4800 num_to_alloc = (yy_buffer_stack_max) + grow_size;
4809 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));

Completed in 118 milliseconds