Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 25 of 58) sorted by relevance

123

/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DMM_OS2.pm100 my @chunks = split /\n{2,}/, $old;
101 shift @chunks unless length $chunks[0]; # Empty lines at the start
102 $chunks[0] .= <<'EOC';
106 return join "\n\n". '', @chunks;
/onnv-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c230 if (bp->chunks == 0) in lmalloc()
231 bp->chunks = 1; in lmalloc()
233 bp->chunks <<= 1; in lmalloc()
235 bsize = CHUNKSIZE * bp->chunks; in lmalloc()
242 if ((bp->chunks >>= 1) == 0) { in lmalloc()
/onnv-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c550 newsz * tab->chunks, sizeof (htab_item_t *)); in enlarge_htab()
556 while (i < tab->chunks) { in enlarge_htab()
617 uint16_t chunks in htab_create() argument
626 chunks > 0) { in htab_create()
631 count * chunks, sizeof (htab_item_t *)); in htab_create()
636 tab->chunks = chunks; in htab_create()
737 items = (htab_item_t *)calloc(tab->chunks, sizeof (htab_item_t)); in htab_add()
791 if (i < tab->chunks) { in htab_add()
906 if (zhizi != NULL && i < tab->chunks) { in htab_remove()
1018 ASSERT(tab->chunks == 1 && x != NULL); in htab_lookup()
H A Disns_htab.h65 uint16_t chunks; member
/onnv-gate/usr/src/uts/common/io/
H A Dksyms.c126 int chunks, i; in ksyms_buflist_alloc() local
129 chunks = howmany(size, BUF_SIZE); in ksyms_buflist_alloc()
131 if (hdr->nchunks >= chunks) in ksyms_buflist_alloc()
138 for (i = chunks - hdr->nchunks; i > 0; i--) { in ksyms_buflist_alloc()
155 hdr->nchunks = chunks; in ksyms_buflist_alloc()
159 return (chunks * BUF_SIZE); in ksyms_buflist_alloc()
/onnv-gate/usr/src/lib/libipmi/common/
H A Dipmi_util.c244 int i, j = 0, chunks, leftovers; in ipmi_decode_string() local
274 chunks = len / 3; in ipmi_decode_string()
281 for (i = 0; i < chunks; i++) { in ipmi_decode_string()
/onnv-gate/usr/src/common/openssl/crypto/
H A Dmem_dbg.c595 int chunks; member
638 l->chunks++; in print_leak()
700 ml.chunks=0; in IMPLEMENT_LHASH_DOALL_ARG_FN()
704 if (ml.chunks != 0) in IMPLEMENT_LHASH_DOALL_ARG_FN()
707 ml.bytes,ml.chunks); in IMPLEMENT_LHASH_DOALL_ARG_FN()
/onnv-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_sgl.h64 pmcs_dmasgl_t *chunks; member
/onnv-gate/usr/src/uts/sun4u/starcat/io/
H A Diosram.c71 static iosram_chunk_t *chunks = NULL; /* array of TOC entries */ variable
1504 for (i = 0, chunkp = chunks; i < nchunks; i++, in iosram_softintr()
2025 } else if ((chunks == NULL) && (iosram_read_toc(softp) != 0)) { in iosram_switch_tunnel()
2033 if ((prev_master == NULL) && (chunks != NULL)) { in iosram_switch_tunnel()
2034 kmem_free(chunks, nchunks * sizeof (iosram_chunk_t)); in iosram_switch_tunnel()
2035 chunks = NULL; in iosram_switch_tunnel()
2857 if (chunks != NULL) { in iosram_read_toc()
2858 kmem_free(chunks, nchunks * sizeof (iosram_chunk_t)); in iosram_read_toc()
2860 chunks = new_chunks; in iosram_read_toc()
2888 if (chunks) { in iosram_init_hashtab()
[all …]
/onnv-gate/usr/src/lib/libumem/common/
H A Dumem.c1138 size_t color, chunks; in umem_slab_create() local
1163 chunks = (slabsize - color) / chunksize; in umem_slab_create()
1166 chunks = (slabsize - sizeof (umem_slab_t) - color) / chunksize; in umem_slab_create()
1173 sp->slab_chunks = chunks; in umem_slab_create()
1175 ASSERT(chunks > 0); in umem_slab_create()
1176 while (chunks-- != 0) { in umem_slab_create()
2579 size_t chunks, bestfit, waste, slabsize; in umem_cache_create() local
2582 for (chunks = 1; chunks <= UMEM_VOID_FRACTION; chunks++) { in umem_cache_create()
2583 slabsize = P2ROUNDUP(chunksize * chunks, in umem_cache_create()
2588 if ((slabsize / chunks) < chunksize) { in umem_cache_create()
[all …]
/onnv-gate/usr/src/uts/sun4u/os/
H A Dcpr_impl.c1007 i_cpr_compress_and_save(int chunks, pfn_t spfn, pgcnt_t pages) in i_cpr_compress_and_save() argument
1021 descp = i_cpr_storage_desc_base + chunks - 1; in i_cpr_compress_and_save()
1025 (void *)i_cpr_storage_desc_base, chunks, in i_cpr_compress_and_save()
1164 int chunks; in i_cpr_storage_desc_alloc() local
1174 chunks = cpr_contig_pages(NULL, STORAGE_DESC_ALLOC) + in i_cpr_storage_desc_alloc()
1176 npages = mmu_btopr(sizeof (**basepp) * (pgcnt_t)chunks); in i_cpr_storage_desc_alloc()
1177 CPR_DEBUG(CPR_DEBUG7, "%s chunks %d, ", str, chunks); in i_cpr_storage_desc_alloc()
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DRAND_egd.pod41 a socket interface through which entropy can be gathered in chunks up to
42 255 bytes. Several chunks can be queried during one connection.
H A Dripemd.pod35 RIPEMD160_Update() can be called repeatedly with chunks of the message to
H A Dmdc2.pod35 MDC2_Update() can be called repeatedly with chunks of the message to
H A Dsha.pod34 SHA1_Update() can be called repeatedly with chunks of the message to
H A Dmd5.pod57 MD2_Update() can be called repeatedly with chunks of the message to
/onnv-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c1127 int chunks; in umem_walk_step() local
1208 chunks = sp->slab_chunks; in umem_walk_step()
1217 if (mdb_vread(ubase, chunks * chunksize, in umem_walk_step()
1228 (void) memset(valid, 1, chunks); in umem_walk_step()
1239 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); in umem_walk_step()
1246 for (i = sp->slab_refcnt; i <= chunks; i++) { in umem_walk_step()
1252 if (i == chunks) in umem_walk_step()
1256 sp, addr, chunks - i); in umem_walk_step()
1337 for (i = 0; ret == WALK_NEXT && i < chunks; i++) { in umem_walk_step()
4088 long chunks = slab.slab_chunks; in umem_malloc_info() local
[all …]
/onnv-gate/usr/src/uts/common/cpr/
H A Dcpr_dump.c1065 int chunks = 0, error = 0; in cpr_contig_pages() local
1086 chunks++; in cpr_contig_pages()
1089 chunks, spfn + i, j); in cpr_contig_pages()
1116 return (chunks); in cpr_contig_pages()
/onnv-gate/usr/src/lib/libeti/form/common/
H A Dchg_data.c79 _grow_field(FIELD *c, int chunks) in _grow_field() argument
103 grow = chunks * c->cols; in _grow_field()
113 grow = chunks * (c->rows + c->nrow); in _grow_field()
/onnv-gate/usr/src/uts/sun4v/cpu/
H A Dgeneric_copy.s284 ! in word size chunks right away
765 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy.
994 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy
1010 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy
1017 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy
1036 ! 4 byte copy loop. %o2 is number of 4 byte chunks to copy.
1056 ! 2 byte aligned copy loop. %o2 is number of 2 byte chunks to
/onnv-gate/usr/src/uts/sun4u/starcat/sys/
H A Diosramvar.h218 iosram_chunk_t *chunks; /* ptr to iosram_chunk array */ member
/onnv-gate/usr/src/uts/common/os/
H A Dkmem.c1530 size_t color, chunks; in kmem_slab_create() local
1563 chunks = (slabsize - color) / chunksize; in kmem_slab_create()
1566 chunks = (slabsize - sizeof (kmem_slab_t) - color) / chunksize; in kmem_slab_create()
1573 sp->slab_chunks = chunks; in kmem_slab_create()
1578 ASSERT(chunks > 0); in kmem_slab_create()
1579 while (chunks-- != 0) { in kmem_slab_create()
3898 size_t chunks, bestfit, waste, slabsize; in kmem_cache_create() local
3901 for (chunks = 1; chunks <= KMEM_VOID_FRACTION; chunks++) { in kmem_cache_create()
3902 slabsize = P2ROUNDUP(chunksize * chunks, in kmem_cache_create()
3904 chunks = slabsize / chunksize; in kmem_cache_create()
[all …]
/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c1342 int chunks; in kmem_walk_step() local
1430 chunks = sp->slab_chunks; in kmem_walk_step()
1439 if (mdb_vread(ubase, chunks * chunksize, in kmem_walk_step()
1450 (void) memset(valid, 1, chunks); in kmem_walk_step()
1461 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); in kmem_walk_step()
1468 for (i = sp->slab_refcnt; i <= chunks; i++) { in kmem_walk_step()
1474 if (i == chunks) in kmem_walk_step()
1478 sp, addr, chunks - i); in kmem_walk_step()
1559 for (i = 0; ret == WALK_NEXT && i < chunks; i++) { in kmem_walk_step()
/onnv-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c471 int i, chunks; in mzap_lookup() local
474 chunks = objsize/MZAP_ENT_LEN - 1; in mzap_lookup()
475 for (i = 0; i < chunks; i++) { in mzap_lookup()
/onnv-gate/usr/src/common/bignum/
H A Dbignum.h184 #error HWCAP works only with 32-bit bignum chunks

123