| /illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
| H A D | pmcs_sgl.h | 34 * in chunks. 54 * This is how we keep track of chunks- we have a linked list of 64 pmcs_dmasgl_t *chunks; member in struct:pmcs_dmachunk 77 * After allocating some DMA chunks, insert them
|
| /illumos-gate/usr/src/lib/libc/port/threads/ |
| H A D | alloc.c | 38 * (minimum size is 64 bytes) are obtained from mmap() of 64K chunks 82 * mmap() a 24K block of memory and carve out six 2K chunks, each 228 * Double the number of chunks mmap()ed each time, 231 if (bp->chunks == 0) 232 bp->chunks = 1; 234 bp->chunks <<= 1; 236 bsize = CHUNKSIZE * bp->chunks; 243 if ((bp->chunks >>= 1) == 0) {
|
| /illumos-gate/usr/src/cmd/isns/isnsd/ |
| H A D | htable.c | 550 newsz * tab->chunks, sizeof (htab_item_t *)); 556 while (i < tab->chunks) { 608 * chunks - the number of seperated chunks of the table. 617 uint16_t chunks 626 chunks > 0) { 631 count * chunks, sizeof (htab_item_t *)); 636 tab->chunks = chunks; 737 items = (htab_item_t *)calloc(tab->chunks, sizeo [all...] |
| H A D | isns_htab.h | 65 uint16_t chunks; member in struct:htab
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | ksyms.c | 119 * Allocate 'size'(rounded to BUF_SIZE) bytes in chunks of BUF_SIZE, and 126 int chunks, i; local 129 chunks = howmany(size, BUF_SIZE); 131 if (hdr->nchunks >= chunks) 135 * Allocate chunks - hdr->nchunks buffers and add them to 138 for (i = chunks - hdr->nchunks; i > 0; i--) { 155 hdr->nchunks = chunks; 159 return (chunks * BUF_SIZE);
|
| /illumos-gate/usr/src/lib/libipmi/common/ |
| H A D | ipmi_util.c | 244 int i, j = 0, chunks, leftovers; local 274 chunks = len / 3; 278 * First we decode the 6-bit string in chunks of 3 bytes as far as 281 for (i = 0; i < chunks; i++) {
|
| /illumos-gate/usr/src/uts/sun4u/starcat/io/ |
| H A D | iosram.c | 71 static iosram_chunk_t *chunks = NULL; /* array of TOC entries */ variable 1504 for (i = 0, chunkp = chunks; i < nchunks; i++, 2025 } else if ((chunks == NULL) && (iosram_read_toc(softp) != 0)) { 2033 if ((prev_master == NULL) && (chunks != NULL)) { 2034 kmem_free(chunks, nchunks * sizeof (iosram_chunk_t)); 2035 chunks = NULL; 2792 * Allocate storage for the new chunks array and initialize it with data 2857 if (chunks != NULL) { 2858 kmem_free(chunks, nchunks * sizeof (iosram_chunk_t)); 2860 chunks [all...] |
| H A D | drmach.c | 6206 uint64_t chunks, pa, mask, sz; local 6225 chunks = gdcd->dcd_chunk_list.dcl_chunks; 6226 while (chunks-- != 0) { 6625 uint64_t chunks, pa, mask; local 6640 chunks = gdcd->dcd_chunk_list.dcl_chunks; 6641 while (chunks-- != 0) {
|
| /illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
| H A D | iosramvar.h | 146 * IOSRAM contains various data chunks and the key, location and size of 217 int nchunks; /* # IOSRAM chunks */ 218 iosram_chunk_t *chunks; /* ptr to iosram_chunk array */ member in struct:iosramsoft
|
| /illumos-gate/usr/src/lib/libumem/common/ |
| H A D | umem.c | 1405 size_t color, chunks; local 1430 chunks = (slabsize - color) / chunksize; 1433 chunks = (slabsize - sizeof (umem_slab_t) - color) / chunksize; 1440 sp->slab_chunks = chunks; 1442 ASSERT(chunks > 0); 1443 while (chunks-- != 0) { 2846 size_t chunks, bestfit, waste, slabsize; local 2849 for (chunks = 1; chunks <= UMEM_VOID_FRACTION; chunks [all...] |
| /illumos-gate/usr/src/uts/sun4u/os/ |
| H A D | cpr_impl.c | 1007 i_cpr_compress_and_save(int chunks, pfn_t spfn, pgcnt_t pages) argument 1021 descp = i_cpr_storage_desc_base + chunks - 1; 1024 "chunks %d, end 0x%p, descp 0x%p\n", 1025 (void *)i_cpr_storage_desc_base, chunks, 1164 int chunks; local 1174 chunks = cpr_contig_pages(NULL, STORAGE_DESC_ALLOC) + 1176 npages = mmu_btopr(sizeof (**basepp) * (pgcnt_t)chunks); 1177 CPR_DEBUG(CPR_DEBUG7, "%s chunks %d, ", str, chunks);
|
| /illumos-gate/usr/src/boot/sys/boot/zfs/ |
| H A D | zfsimpl.c | 1329 int chunks, i; local 1338 chunks = size / MZAP_ENT_LEN - 1; 1340 for (i = 0; i < chunks; i++) { 1514 int chunks, i, rc; local 1522 chunks = size / MZAP_ENT_LEN - 1; 1524 for (i = 0; i < chunks; i++) { 1656 int chunks, i; local 1665 chunks = size / MZAP_ENT_LEN - 1; 1667 for (i = 0; i < chunks; i++) {
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
| H A D | umem.c | 1303 int chunks; local 1384 chunks = sp->slab_chunks; 1393 if (mdb_vread(ubase, chunks * chunksize, 1404 (void) memset(valid, 1, chunks); 1415 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); 1422 for (i = sp->slab_refcnt; i <= chunks; i++) { 1428 if (i == chunks) 1432 sp, addr, chunks - i); 1455 if (offs > chunks * chunksiz 4273 long chunks = slab.slab_chunks; local [all...] |
| /illumos-gate/usr/src/uts/common/cpr/ |
| H A D | cpr_dump.c | 1065 int chunks = 0, error = 0; local 1086 chunks++; 1089 chunks, spfn + i, j); 1116 return (chunks);
|
| /illumos-gate/usr/src/uts/sun4v/cpu/ |
| H A D | generic_copy.s | 284 ! in word size chunks right away 558 * of chunks (8, 4, 2 or 1 byte) operated on in our basic copy loop 560 * copy that many chunks. Since we've been adding the chunk size 721 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy 733 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy 745 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy 765 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy. 786 ! two byte aligned copy loop. %o2 is the number of 2 byte chunks to 994 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy 1010 srl %o2, 2, %o2 ! Number of 4 byte chunks t [all...] |
| H A D | niagara_copy.s | 132 * if src is word aligned, ld/st words in 32-byte chunks 134 * into long word, store long words in 32-byte chunks 136 * word, store long words in 32-byte chunks 2594 ! in word size chunks right away 2882 * we store the number of chunks (8, 4, 2 or 1 byte) operated 2884 * to the appropriate copy loop and copy that many chunks. 4564 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy 4600 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy 4625 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy 4666 ! Four byte copy loop. %o2 is the number of 4 byte chunks t [all...] |
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | kmem.c | 1532 size_t color, chunks; local 1565 chunks = (slabsize - color) / chunksize; 1568 chunks = (slabsize - sizeof (kmem_slab_t) - color) / chunksize; 1575 sp->slab_chunks = chunks; 1580 ASSERT(chunks > 0); 1581 while (chunks-- != 0) { 3928 size_t chunks, bestfit, waste, slabsize; local 3931 for (chunks = 1; chunks <= KMEM_VOID_FRACTION; chunks [all...] |
| /illumos-gate/usr/src/common/bignum/ |
| H A D | bignum.h | 46 /* Bignum "digits" (aka "chunks" or "words") are either 32- or 64-bits */ 179 #error HWCAP works only with 32-bit bignum chunks
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
| H A D | kmem.c | 1347 int chunks; local 1435 chunks = sp->slab_chunks; 1444 if (mdb_vread(ubase, chunks * chunksize, 1455 (void) memset(valid, 1, chunks); 1466 dprintf(("refcnt is %d; chunks is %d\n", sp->slab_refcnt, chunks)); 1473 for (i = sp->slab_refcnt; i <= chunks; i++) { 1479 if (i == chunks) 1483 sp, addr, chunks - i); 1506 if (offs > chunks * chunksiz [all...] |
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fsys_zfs.c | 573 int i, chunks; local 576 chunks = objsize / MZAP_ENT_LEN - 1; 577 for (i = 0; i < chunks; i++) { 652 * Given a zap_leaf_phys_t, walk thru the zap leaf chunks to get the 1858 * will need to read it in chunks. This could be optimized to
|
| /illumos-gate/usr/src/uts/sun4u/cpu/ |
| H A D | spitfire_copy.s | 1763 ! in word size chunks right away 2101 * we store the number of chunks (8, 4, 2 or 1 byte) operated 2103 * to the appropriate copy loop and copy that many chunks. 2377 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy 2415 srl %o2, 2, %o2 ! Number of 4 byte chunks to copy 2440 srl %o2, 1, %o2 ! Number of 2 byte chunks to copy 2481 ! Four byte copy loop. %o2 is the number of 4 byte chunks to copy. 2502 ! two byte aligned copy loop. %o2 is the number of 2 byte chunks to 3607 srl %o2, 3, %o2 ! Number of 8 byte chunks to copy 3639 srl %o2, 2, %o2 ! Number of 4 byte chunks t [all...] |
| H A D | common_asm.s | 1211 ! subblocked into 64 byte chunks.
|
| /illumos-gate/usr/src/lib/libc/inc/ |
| H A D | thr_uberdata.h | 841 size_t chunks; /* number of 64K blocks mmap()ed last time */ member in struct:__anon74 850 size32_t chunks; member in struct:__anon75
|
| /illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
| H A D | libc.c | 779 HD("&bucket free_list chunks"); 785 uberdata.bucket[i].chunks);
|
| /illumos-gate/usr/src/uts/common/io/nxge/ |
| H A D | nxge_rxdma.c | 3222 uint32_t chunks; local 3249 chunks = nxgep->rx_buf_pool_p->num_chunks[channel]; 3257 chunks, control, rcr_ring, mailbox); 3776 "chunks bufp 0x%016llx", 4021 " nxge_unmap_rxdma_channel_buf_ring: channel %d chunks %d "
|