Searched defs:csize (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmdcheap.c36 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 Dvmmopen.c159 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 Dvmbest.c1303 size_t csize, size_t nsize, Vmdisc_t* disc)
1305 static Void_t* sbrkmem(vm, caddr, csize, nsize, disc)
1308 size_t csize; /* current size */
1319 if(csize == 0)
1336 if(csize == 0) /* allocating new memory */
1402 else if(((Vmuchar_t*)caddr+csize) == addr) /* in sbrk-space */
1403 { if(nsize <= csize)
1404 addr -= csize-nsize;
1405 else if((addr += nsize-csize) < (Vmuchar_t*)caddr)
1414 if(((Vmuchar_t*)caddr+csize) > add
1302 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 Dnewscreen.c67 * lsize, csize, tabsize: physical sizes
72 newscreen(char *type, int lsize, int csize, int tabsize, argument
193 COLS = SP->csize = csize > 0 ? csize : columns;
H A Dcurshdr.h136 short csize; /* How many columns decided by newscreen */ member in struct:screen
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt_zap.c63 uint64_t one, csize; local
67 DDT_KEY_WORDS, &one, &csize);
72 ASSERT(csize <= sizeof (cbuf));
75 DDT_KEY_WORDS, 1, csize, cbuf);
79 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys));
95 uint64_t csize; local
97 csize = ddt_compress(dde->dde_phys, cbuf,
101 DDT_KEY_WORDS, 1, csize, cbuf, tx));
132 uint64_t csize = za.za_num_integers; local
135 DDT_KEY_WORDS, 1, csize, cbu
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dsun4vpi.c121 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 Dsda_mem.c265 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 Diso.multibyte.c425 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/tbl/
H A Dt0.c42 char csize[MAXHEAD][MAXCOL][4]; variable
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c104 int32_t bpages, csize, new_table, save_errno, specified_file; local
207 csize = info->cachesize / hashp->hdr.bsize;
209 csize = DEF_CACHESIZE / hashp->hdr.bsize;
210 hashp->mp = mpool_open(&mpool_key, hashp->fp, hashp->hdr.bsize, csize);
/illumos-gate/usr/src/cmd/file/
H A Delf_read.c461 FILE_ELF_SIZE_T csize; local
465 csize = sizeof (Elf_Cap);
477 if ((pread64(EI->elffd, &Chdr, csize, cap_off)
478 != csize) ||
486 cap_off += csize;
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c162 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/uts/sun4/io/efcode/
H A Dfcode.c620 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/cmd/acct/
H A Dacctcon.c52 static int csize; variable
H A Dacctcms.c60 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/boot/lib/libstand/
H A Dufs.c708 size_t csize; local
722 csize = size;
723 if (csize > buf_size)
724 csize = buf_size;
726 bcopy(buf, addr, csize);
728 fp->f_seekp += csize;
729 addr += csize;
730 size -= csize;
746 size_t csize; local
750 csize
[all...]
H A Dcd9660.c499 size_t buf_size, csize; local
511 csize = size > buf_size ? buf_size : size;
512 bcopy(buf, addr, csize);
514 fp->f_off += csize;
515 addr += csize;
516 size -= csize;
H A Dnandfs.c454 size_t csize, buf_size; local
468 csize = size;
469 if (csize > buf_size)
470 csize = buf_size;
472 bcopy(buf, addr, csize);
474 fs->nf_offset += csize;
475 addr = (char *)addr + csize;
476 size -= csize;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dbcache.c365 size_t csize, isize, total; local
396 csize = size;
398 csize = cblk * bcache_blksize;
400 ret = read_strategy(devdata, rw, blk, csize,
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c126 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 Dxpv_panic.c379 uint32_t csize; local
390 csize = (uint32_t)compress((void *)va, dump_cbuf, PAGESIZE);
391 dumpvp_write(&csize, sizeof (uint32_t));
392 dumpvp_write(dump_cbuf, csize);
404 csize = (uint32_t)compress((void *)HYPERVISOR_shared_info, dump_cbuf,
406 dumpvp_write(&csize, sizeof (uint32_t));
407 dumpvp_write(dump_cbuf, csize);
/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c182 * csize = $CACHE_SIZE;
199 * csize = $CACHE_SIZE;
220 * csize = $CACHE_SIZE;
247 * t->tm_size += csize;
290 * if (t->tm_size + csize > umem_ptc_size)
293 * t->tm_size += csize
323 * and jump to free. csize is the size of the largest umem_cache in ptcumem.
326 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) argument
333 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize));
365 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) argument
380 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) argument
399 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) argument
[all...]
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c176 * csize = $CACHE_SIZE;
191 * csize = $CACHE_SIZE;
209 * csize = $CACHE_SIZE;
232 * t->tm_size += csize;
272 * if (t->tm_size + csize > umem_ptc_size)
275 * t->tm_size += csize
315 * and jump to free. csize is the size of the largest umem_cache in ptcumem.
318 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) argument
325 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize));
356 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) argument
371 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) argument
390 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) argument
[all...]
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c220 int csize)
230 if ((csize > cbuf_size) || dsize > dbuf_size) {
243 if (cptr && csize >= (int)sizeof (struct T_discon_ind) &&
297 (void) memcpy(tlbs->tl_lookcbuf, cptr, csize);
301 tlbs->tl_lookclen = csize;
509 unsigned int csize, dsize, asize, osize; local
513 csize = _t_setsize(tsap->CDATA_size, B_FALSE);
516 size1 = _T_MAX(csize, dsize);
215 _t_register_lookevent( struct _ti_user *tiptr, caddr_t dptr, int dsize, caddr_t cptr, int csize) argument

Completed in 285 milliseconds

12