Searched refs:grow_size (Results 1 - 17 of 17) sorted by path

/freebsd-11-stable/contrib/amd/fsinfo/
H A Dnull_lex.c1409 int grow_size = 8 /* arbitrary grow size */; local
1411 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1420 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.c3944 static int rs_svc_grow_sets(struct rs_svc *svc, int grow_size) argument
3949 set = calloc(svc->size + grow_size, sizeof(*rss) + svc->context_size);
3953 svc->size += grow_size;
/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_list.c352 uint32_t grow_size; local
361 grow_size = (uint32_t) min_items >> 3;
362 if (grow_size < FREE_ITEM_GROW_SIZE)
363 grow_size = FREE_ITEM_GROW_SIZE;
366 return (cl_qpool_init(&p_list->list_item_pool, min_items, 0, grow_size,
H A Dcl_map.c702 uint32_t grow_size; local
712 grow_size = min_items >> 3;
713 if (grow_size < MAP_GROW_SIZE)
714 grow_size = MAP_GROW_SIZE;
716 return (cl_qpool_init(&p_map->pool, min_items, 0, grow_size,
H A Dcl_pool.c69 IN const size_t grow_size,
135 p_pool->grow_size = grow_size;
326 if (!p_pool->grow_size)
330 cl_qcpool_grow(p_pool, p_pool->grow_size);
357 if (!p_pool->grow_size)
361 cl_qcpool_grow(p_pool, p_pool->grow_size);
425 IN const size_t grow_size,
439 status = cl_qcpool_init(&p_pool->qcpool, min_size, max_size, grow_size,
522 IN const size_t grow_size,
67 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
423 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
520 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
626 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 grow_size)
69 p_vector->grow_size = grow_size;
221 if (!p_vector->grow_size)
226 if (size % p_vector->grow_size) {
227 /* Round up to nearest grow_size boundary. */
228 new_capacity += p_vector->grow_size -
229 (size % p_vector->grow_size);
59 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.c190 IN const size_t min_size, IN const size_t grow_size,
203 p_vector->grow_size = grow_size;
417 if (!p_vector->grow_size)
422 if (size % p_vector->grow_size) {
423 /* Round up to nearest grow_size boundary. */
424 new_capacity += p_vector->grow_size -
425 (size % p_vector->grow_size);
189 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
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
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_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_qpool.h312 IN const size_t grow_size,
332 * grow_size
476 * grow_size parameter passed to the cl_qpool_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
/freebsd-11-stable/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-stable/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-stable/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-stable/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 211 milliseconds