Searched refs:initial_size (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/sort/common/ |
H A D | merge.c | 98 size_t initial_size = INITIAL_COLLATION_SIZE * element_size; in merge_one_stream() local 104 strp->s_current.l_collate_bufsize = initial_size; in merge_one_stream() 105 strp->s_current.l_collate.sp = safe_realloc(NULL, initial_size); in merge_one_stream() 133 size_t initial_size = INITIAL_COLLATION_SIZE * element_size; in merge_two_streams() local 163 str_b->s_current.l_collate_bufsize = initial_size; in merge_two_streams() 165 str_a->s_current.l_collate.sp = safe_realloc(NULL, initial_size); in merge_two_streams() 166 str_b->s_current.l_collate.sp = safe_realloc(NULL, initial_size); in merge_two_streams()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | if.c | 244 size_t initial_size = hash_table_sizes[0]; in iftbl_alloc() local 247 ahash_tbl.htbl_ptrs = calloc(initial_size, sizeof (void *)); in iftbl_alloc() 248 bhash_tbl.htbl_ptrs = calloc(initial_size, sizeof (void *)); in iftbl_alloc() 249 ihash_tbl.htbl_ptrs = calloc(initial_size, sizeof (void *)); in iftbl_alloc() 250 nhash_tbl.htbl_ptrs = calloc(initial_size, sizeof (void *)); in iftbl_alloc() 255 ahash_tbl.htbl_size = initial_size; in iftbl_alloc() 256 bhash_tbl.htbl_size = initial_size; in iftbl_alloc() 257 ihash_tbl.htbl_size = initial_size; in iftbl_alloc() 258 nhash_tbl.htbl_size = initial_size; in iftbl_alloc()
|
/titanic_50/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 1506 size_t initial_size = MIN(1, n) * itemsize; in pr_iol_initlist() local 1512 ASSERT(initial_size > 0); in pr_iol_initlist() 1521 initial_size = MIN(MAPSIZE, initial_size + sizeof (*iol)); in pr_iol_initlist() 1522 iol = kmem_alloc(initial_size, KM_SLEEP); in pr_iol_initlist() 1525 iol->piol_size = initial_size; in pr_iol_initlist()
|