/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmdcheap.c | 36 size_t csize, size_t nsize, 39 static Void_t* heapmem(vm, caddr, csize, nsize, disc) 42 size_t csize; /* current size */ 50 if(csize == 0) 35 heapmem(Vmalloc_t* vm, Void_t* caddr, size_t csize, size_t nsize, Vmdisc_t* disc) argument
|
H A D | vmmopen.c | 159 size_t csize, size_t nsize, Vmdisc_t* disc) 161 static Void_t* mmvmmemory(vm, caddr, csize, nsize, disc) 164 size_t csize; 177 if(nsize < csize) 183 csize = MM_START + nsize + 185 csize = ROUND(csize, disc->round); 188 if(lseek(mmdc->fd, (off_t)(csize-1), 0) != (off_t)(csize-1) || 194 caddr = (Void_t*)mmap(caddr, csize, PROT_REA 158 mmvmmemory(Vmalloc_t* vm, Void_t* caddr, size_t csize, size_t nsize, Vmdisc_t* disc) argument [all...] |
H A D | vmbest.c | 1302 size_t csize, size_t nsize, Vmdisc_t* disc) 1304 static Void_t* sbrkmem(vm, caddr, csize, nsize, disc) 1307 size_t csize; /* current size */ 1318 if(csize == 0) 1335 if(csize == 0) /* allocating new memory */ 1401 else if(((Vmuchar_t*)caddr+csize) == addr) /* in sbrk-space */ 1402 { if(nsize <= csize) 1403 addr -= csize-nsize; 1404 else if((addr += nsize-csize) < (Vmuchar_t*)caddr) 1413 if(((Vmuchar_t*)caddr+csize) > add 1301 sbrkmem(Vmalloc_t* vm, Void_t* caddr, size_t csize, size_t nsize, Vmdisc_t* disc) argument [all...] |
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | newscreen.c | 67 * lsize, csize, tabsize: physical sizes 72 newscreen(char *type, int lsize, int csize, int tabsize, argument 193 COLS = SP->csize = csize > 0 ? csize : columns;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | ddt_zap.c | 62 uint64_t one, csize; local 66 DDT_KEY_WORDS, &one, &csize); 71 ASSERT(csize <= sizeof (cbuf)); 74 DDT_KEY_WORDS, 1, csize, cbuf); 78 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys)); 94 uint64_t csize; local 96 csize = ddt_compress(dde->dde_phys, cbuf, 100 DDT_KEY_WORDS, 1, csize, cbuf, tx)); 120 uint64_t csize = za.za_num_integers; local 123 DDT_KEY_WORDS, 1, csize, cbu [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | sun4vpi.c | 121 size_t csize; local 157 MD_STR_COMPONENTS, MD_STR_FWD, &components, &csize); 199 topo_mod_free(mod, components, csize);
|
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_mem.c | 265 uint32_t csize; local 275 csize = sda_mem_getbits(rcsd, 73, 12); 282 csize = sda_mem_getbits(rcsd, 69, 22); 340 csize = sda_mem_getbits(rcsd, 73, 12); 360 slot->s_nblks = (csize + 1) * cmult * (rblen / 512);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | iso.multibyte.c | 425 int csize, i; local 445 csize = 1; 447 csize = 2; 455 printf ("csize = %d, prevcsize = %d, (%x,%x) ",csize, prevcsize, (pwc>>8)&0x00ff, pwc&0x00ff); 474 if (_currentOUT != G0 || prevcsize != csize) { 476 if (csize == 2) { 498 if (csize == 1) { 510 if (_currentOUT != G1 || prevcsize != csize) { 512 if (csize [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 774 uint64_t csize = 0; local 779 (void) devconfig_get_size(component, &csize); 794 if (spsize >= csize) { 813 cname, csize); 863 uint64_t csize = 0; local 866 (void) devconfig_get_size(component, &csize); 873 cname, csize); 891 error = choose_slice(csize, npaths, *avail, *all_spares, 909 csize, npaths, *avail, *all_spares, used_hbas,
|
H A D | layout_concat.c | 416 uint64_t csize = 0; local 458 (error = devconfig_get_size(comp, &csize)) == 0) { 459 capacity += csize;
|
H A D | layout_mirror.c | 326 uint64_t csize = 0; local 330 (void) devconfig_get_size(comp, &csize); 358 msize = csize; 360 if (csize == 0) {
|
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.c | 421 FILE_ELF_SIZE_T csize; local 428 csize = sizeof (Elf_Cap); 474 if (pread64(EI->elffd, &Chdr, csize, cap_off) 475 != csize || 483 cap_off += csize;
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t0.c | 42 char csize[MAXHEAD][MAXCOL][4]; variable
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 108 int32_t bpages, csize, new_table, save_errno, specified_file; local 211 csize = info->cachesize / hashp->hdr.bsize; 213 csize = DEF_CACHESIZE / hashp->hdr.bsize; 214 hashp->mp = mpool_open(&mpool_key, hashp->fp, hashp->hdr.bsize, csize);
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | ufs.c | 725 size_t csize; local 739 csize = size; 740 if (csize > buf_size) 741 csize = buf_size; 743 bcopy(buf, addr, csize); 745 fp->f_seekp += csize; 746 addr += csize; 747 size -= csize; 767 size_t csize; local 771 csize [all...] |
H A D | cd9660.c | 470 size_t buf_size, csize; local 482 csize = size > buf_size ? buf_size : size; 483 bcopy(buf, addr, csize); 485 fp->f_off += csize; 486 addr += csize; 487 size -= csize;
|
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 162 size_t csize; /* call graph array size */ local 281 csize = (nsym + 1) * PRF_CGINIT * sizeof (L_cgarc); 282 Fsize = (hsize + psize + csize);
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctcon.c | 54 static int csize; variable
|
H A D | acctcms.c | 60 int csize = CSIZE; variable 192 qsort(tcm, csize, sizeof(tcm[0]), 209 qsort(pcm, csize, sizeof(pcm[0]), 455 for (i %= csize, j = 0; tcm[i].tcm_comm[0] && j != csize; i = (i+1)%csize, j++) 458 if(j == csize) { 460 (csize + CSIZE - 1) * sizeof (struct tcms))) == NULL) { 465 memset(&ntcm[csize], 0, CSIZE - 1); 468 i = csize; [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcode.c | 620 size_t csize; local 657 csize = (FCC_FIXED_CELLS + nargs + nresults) * sizeof (fc_cell_t); 658 cp = kmem_zalloc(csize, KM_SLEEP); 662 if (copyin((void *)arg, cp, csize - (nresults * sizeof (fc_cell_t)))) { 665 kmem_free(cp, csize); 684 kmem_free(cp, csize); 716 kmem_free(cp, csize); 736 kmem_free(cp, csize); 763 kmem_free(cp, csize);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 333 size_t csize, isize, total; local 368 csize = size; 370 csize = cblk * bcache_blksize; 372 csize -= (bcache_blksize - offset); 376 csize, buf+total, &isize);
|
/illumos-gate/usr/src/lib/libumem/amd64/ |
H A D | umem_genasm.c | 176 * csize = $CACHE_SIZE; 193 * csize = $CACHE_SIZE; 214 * csize = $CACHE_SIZE; 241 * t->tm_size += csize; 284 * if (t->tm_size + csize > umem_ptc_size) 287 * t->tm_size += csize 317 * and jump to free. csize is the size of the largest umem_cache in ptcumem. 320 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) argument 327 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize)); 359 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) argument 374 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) argument 393 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) argument [all...] |
/illumos-gate/usr/src/lib/libumem/i386/ |
H A D | umem_genasm.c | 171 * csize = $CACHE_SIZE; 186 * csize = $CACHE_SIZE; 204 * csize = $CACHE_SIZE; 227 * t->tm_size += csize; 267 * if (t->tm_size + csize > umem_ptc_size) 270 * t->tm_size += csize 310 * and jump to free. csize is the size of the largest umem_cache in ptcumem. 313 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) argument 320 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize)); 351 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) argument 366 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) argument 385 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) argument [all...] |
/illumos-gate/usr/src/lib/libvrrpadm/common/ |
H A D | libvrrpadm.c | 126 vrrp_cmd_request(void *cmd, size_t csize, vrrp_cmd_func_t func, void *arg) argument 158 while (cur_size < csize) { 159 len = write(sock, (char *)cmd + cur_size, csize - cur_size);
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 377 uint32_t csize; local 388 csize = (uint32_t)compress((void *)va, dump_cbuf, PAGESIZE); 389 dumpvp_write(&csize, sizeof (uint32_t)); 390 dumpvp_write(dump_cbuf, csize); 402 csize = (uint32_t)compress((void *)HYPERVISOR_shared_info, dump_cbuf, 404 dumpvp_write(&csize, sizeof (uint32_t)); 405 dumpvp_write(dump_cbuf, csize);
|