Home
last modified time | relevance | path

Searched refs:CHUNK_SIZE (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dstable.c42 #define CHUNK_SIZE 8192 /* grab more memory with this chunk size */ macro
125 n = MALLOC(CHUNK_SIZE); in stable_newchunk()
126 bzero((void *)n, CHUNK_SIZE); in stable_newchunk()
159 if (slen > CHUNK_SIZE - sizeof (char *) - 1 - 4) in stable()
186 if (Stablenext == NULL || (&Stableblock[CHUNK_SIZE] - Stablenext) < in stable()
/illumos-gate/usr/src/cmd/last/
H A Dlast.c74 #define CHUNK_SIZE 256 macro
255 lines = CHUNK_SIZE; in main()
470 lines += CHUNK_SIZE; in reallocate_buffer()
480 for (j = lines-CHUNK_SIZE; j < lines; j++) { in reallocate_buffer()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Dcxx_util.c22 #define CHUNK_SIZE (8U) macro
98 size_t newsize = roundup(newlen, CHUNK_SIZE); in name_reserve()
395 size_t newsize = roundup(sub->sub_size + amt, CHUNK_SIZE); in sub_reserve()
492 size_t newsize = tpl->tpl_size + CHUNK_SIZE; in templ_reserve()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_standalone.c1561 #define CHUNK_SIZE 16 in create_ns_servers_entry() macro
1620 server->controls = (char **)calloc(CHUNK_SIZE, sizeof (char *)); in create_ns_servers_entry()
1621 server->saslMech = (char **)calloc(CHUNK_SIZE, sizeof (char *)); in create_ns_servers_entry()
1637 if (sm_counter == CHUNK_SIZE * sm_mem_blocks - 1) { in create_ns_servers_entry()
1639 CHUNK_SIZE * in create_ns_servers_entry()
1649 CHUNK_SIZE * in create_ns_servers_entry()
1667 if (sc_counter == CHUNK_SIZE * sc_mem_blocks - 1) { in create_ns_servers_entry()
1669 CHUNK_SIZE * in create_ns_servers_entry()
1679 CHUNK_SIZE * in create_ns_servers_entry()
1711 #undef CHUNK_SIZE in create_ns_servers_entry()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_section.h67 #define CHUNK_SIZE (4096 - sizeof (struct Dwarf_P_Section_Data_s)) macro
H A Dpro_section.c3657 if (nbytes < CHUNK_SIZE) in _dwarf_pro_buffer()
3658 space = CHUNK_SIZE; in _dwarf_pro_buffer()
/illumos-gate/usr/src/cmd/ptools/ptree/
H A Dptree.c57 #define CHUNK_SIZE 256 /* Arbitrary amount */ macro
448 ctsize += CHUNK_SIZE; in ctsort()
659 psize += CHUNK_SIZE; in add_proc()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_vc.c1766 #define CHUNK_SIZE 16 in allocate_chunk() macro
1768 malloc(sizeof (struct nb_reg_node) * CHUNK_SIZE); in allocate_chunk()
1777 for (i = 0; i < CHUNK_SIZE-1; ++i) { in allocate_chunk()
1780 n[CHUNK_SIZE-1].next = (struct nb_reg_node *)&nb_free; in allocate_chunk()