/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | iso.multibyte.c | 425 int csize, i; in _wctomb_iso() local 445 csize = 1; in _wctomb_iso() 447 csize = 2; in _wctomb_iso() 455 printf ("csize = %d, prevcsize = %d, (%x,%x) ",csize, prevcsize, (pwc>>8)&0x00ff, pwc&0x00ff); in _wctomb_iso() 474 if (_currentOUT != G0 || prevcsize != csize) { in _wctomb_iso() 476 if (csize == 2) { in _wctomb_iso() 498 if (csize == 1) { in _wctomb_iso() 510 if (_currentOUT != G1 || prevcsize != csize) { in _wctomb_iso() 512 if (csize == 2) { in _wctomb_iso() 534 if (csize == 1) { in _wctomb_iso() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | ddt_zap.c | 62 uint64_t one, csize; in ddt_zap_lookup() local 66 DDT_KEY_WORDS, &one, &csize); in ddt_zap_lookup() 71 ASSERT(csize <= sizeof (cbuf)); in ddt_zap_lookup() 74 DDT_KEY_WORDS, 1, csize, cbuf); in ddt_zap_lookup() 78 ddt_decompress(cbuf, dde->dde_phys, csize, sizeof (dde->dde_phys)); in ddt_zap_lookup() 94 uint64_t csize; in ddt_zap_update() local 96 csize = ddt_compress(dde->dde_phys, cbuf, in ddt_zap_update() 100 DDT_KEY_WORDS, 1, csize, cbuf, tx)); in ddt_zap_update() 120 uint64_t csize = za.za_num_integers; in ddt_zap_walk() local 123 DDT_KEY_WORDS, 1, csize, cbuf); in ddt_zap_walk() [all …]
|
/titanic_44/usr/src/lib/libumem/amd64/ |
H A D | umem_genasm.c | 320 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) in genasm_malinit() argument 327 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize)); in genasm_malinit() 359 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) in genasm_firstcache() argument 364 bcopy(&csize, bp + PTC_INICACHE_CMP, sizeof (csize)); in genasm_firstcache() 365 bcopy(&csize, bp + PTC_INICACHE_SIZE, sizeof (csize)); in genasm_firstcache() 374 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) in genasm_gencache() argument 382 bcopy(&csize, bp + PTC_GENCACHE_CMP, sizeof (csize)); in genasm_gencache() 383 bcopy(&csize, bp + PTC_GENCACHE_SIZE, sizeof (csize)); in genasm_gencache() 393 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) in genasm_lastcache() argument 401 bcopy(&csize, bp + PTC_FINCACHE_CMP, sizeof (csize)); in genasm_lastcache() [all …]
|
/titanic_44/usr/src/lib/libumem/i386/ |
H A D | umem_genasm.c | 313 genasm_malinit(uint8_t *bp, uint32_t off, uint32_t ep, uint32_t csize) in genasm_malinit() argument 320 bcopy(&csize, bp + PTC_MALINIT_MCS, sizeof (csize)); in genasm_malinit() 351 genasm_firstcache(uint8_t *bp, uint32_t csize, uint32_t ap) in genasm_firstcache() argument 356 bcopy(&csize, bp + PTC_INICACHE_CMP, sizeof (csize)); in genasm_firstcache() 357 bcopy(&csize, bp + PTC_INICACHE_SIZE, sizeof (csize)); in genasm_firstcache() 366 genasm_gencache(uint8_t *bp, int num, uint32_t csize, uint32_t ap) in genasm_gencache() argument 374 bcopy(&csize, bp + PTC_GENCACHE_CMP, sizeof (csize)); in genasm_gencache() 375 bcopy(&csize, bp + PTC_GENCACHE_SIZE, sizeof (csize)); in genasm_gencache() 385 genasm_lastcache(uint8_t *bp, int num, uint32_t csize, uint32_t ep) in genasm_lastcache() argument 392 bcopy(&csize, bp + PTC_FINCACHE_CMP, sizeof (csize)); in genasm_lastcache() [all …]
|
/titanic_44/usr/src/cmd/acct/ |
H A D | acctcms.c | 60 int csize = CSIZE; variable 192 qsort(tcm, csize, sizeof(tcm[0]), in main() 209 qsort(pcm, csize, sizeof(pcm[0]), in main() 455 for (i %= csize, j = 0; tcm[i].tcm_comm[0] && j != csize; i = (i+1)%csize, j++) in tenter() 458 if(j == csize) { in tenter() 460 (csize + CSIZE - 1) * sizeof (struct tcms))) == NULL) { in tenter() 465 memset(&ntcm[csize], 0, CSIZE - 1); in tenter() 468 i = csize; in tenter() 469 csize = csize + CSIZE - 1; in tenter() 491 for (i %= csize, j = 0; pcm[i].pcm_comm[0] && j != csize; i = (i+1)%csize, j++) in enter() [all …]
|
/titanic_44/usr/src/lib/libast/common/vmalloc/ |
H A D | vmmopen.c | 159 size_t csize, size_t nsize, Vmdisc_t* disc) in mmvmmemory() argument 161 static Void_t* mmvmmemory(vm, caddr, csize, nsize, disc) in mmvmmemory() 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_READ|PROT_WRITE, 199 mmdc->mm->size = csize;
|
H A D | vmdcheap.c | 36 size_t csize, size_t nsize, in heapmem() argument 39 static Void_t* heapmem(vm, caddr, csize, nsize, disc) in heapmem() 42 size_t csize; /* current size */ 50 if(csize == 0)
|
H A D | vmbest.c | 1302 size_t csize, size_t nsize, Vmdisc_t* disc) in sbrkmem() argument 1304 static Void_t* sbrkmem(vm, caddr, csize, nsize, disc) in sbrkmem() 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) > addr) /* in mmap-space */ [all …]
|
/titanic_44/usr/src/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 131 int csize = sizeof (char); in sip_add_empty_hdr() local 142 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize; in sip_add_empty_hdr() 171 int csize = sizeof (char); in sip_add_2strs_to_msg() local 186 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg() 187 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg() 190 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_2strs_to_msg() 191 SIP_SPACE_LEN + strlen(str1) + csize + strlen(str2) + in sip_add_2strs_to_msg() 192 csize + strlen(plist) + strlen(SIP_CRLF); in sip_add_2strs_to_msg() 244 int csize = sizeof (char); in sip_add_str_to_msg() local 256 header_size = strlen(hdr_name) + SIP_SPACE_LEN + csize + in sip_add_str_to_msg() [all …]
|
/titanic_44/usr/src/cmd/savecore/ |
H A D | savecore.c | 530 uint32_t csize; in CopyPages() local 543 Fread(&csize, sizeof (uint32_t), in); in CopyPages() 544 Fwrite(&csize, sizeof (uint32_t), out); in CopyPages() 546 if (csize > pagesize || csize == 0) { in CopyPages() 549 dumphdr.dump_npages - np, csize, csize, in CopyPages() 553 Fread(cbuf, csize, in); in CopyPages() 554 Fwrite(cbuf, csize, out); in CopyPages() 555 *offp += csize; in CopyPages() 893 int csize; in lzjbblock() local 928 csize = DUMP_GET_CSIZE(sc); in lzjbblock() [all …]
|
/titanic_44/usr/src/uts/sun4/io/efcode/ |
H A D | fcode.c | 620 size_t csize; in fc_run_priv() local 657 csize = (FCC_FIXED_CELLS + nargs + nresults) * sizeof (fc_cell_t); in fc_run_priv() 658 cp = kmem_zalloc(csize, KM_SLEEP); in fc_run_priv() 662 if (copyin((void *)arg, cp, csize - (nresults * sizeof (fc_cell_t)))) { in fc_run_priv() 665 kmem_free(cp, csize); in fc_run_priv() 684 kmem_free(cp, csize); in fc_run_priv() 716 kmem_free(cp, csize); in fc_run_priv() 736 kmem_free(cp, csize); in fc_run_priv() 763 kmem_free(cp, csize); in fc_run_priv()
|
/titanic_44/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_mem.c | 265 uint32_t csize; in sda_mem_parse_cid_csd() local 275 csize = sda_mem_getbits(rcsd, 73, 12); in sda_mem_parse_cid_csd() 282 csize = sda_mem_getbits(rcsd, 69, 22); in sda_mem_parse_cid_csd() 340 csize = sda_mem_getbits(rcsd, 73, 12); in sda_mem_parse_cid_csd() 360 slot->s_nblks = (csize + 1) * cmult * (rblen / 512); in sda_mem_parse_cid_csd()
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | newscreen.c | 72 newscreen(char *type, int lsize, int csize, int tabsize, in newscreen() argument 193 COLS = SP->csize = csize > 0 ? csize : columns; in newscreen()
|
H A D | setcurscreen.c | 63 COLS = SP->csize; in setcurscreen()
|
/titanic_44/usr/src/cmd/file/ |
H A D | elf_read.c | 421 FILE_ELF_SIZE_T csize; in process_shdr() local 428 csize = sizeof (Elf_Cap); in process_shdr() 474 if (pread64(EI->elffd, &Chdr, csize, cap_off) in process_shdr() 475 != csize || in process_shdr() 483 cap_off += csize; in process_shdr()
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | sun4vpi.c | 121 size_t csize; in pi_enum() local 157 MD_STR_COMPONENTS, MD_STR_FWD, &components, &csize); in pi_enum() 199 topo_mod_free(mod, components, csize); in pi_enum()
|
/titanic_44/usr/src/uts/i86xpv/os/ |
H A D | xpv_panic.c | 376 uint32_t csize; in dump_xpv_data() local 387 csize = (uint32_t)compress((void *)va, dump_cbuf, PAGESIZE); in dump_xpv_data() 388 dumpvp_write(&csize, sizeof (uint32_t)); in dump_xpv_data() 389 dumpvp_write(dump_cbuf, csize); in dump_xpv_data() 401 csize = (uint32_t)compress((void *)HYPERVISOR_shared_info, dump_cbuf, in dump_xpv_data() 403 dumpvp_write(&csize, sizeof (uint32_t)); in dump_xpv_data() 404 dumpvp_write(dump_cbuf, csize); in dump_xpv_data()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 1962 uint32_t csize; in dumpsys_bzrun() local 2002 csize = hp->cpout->size - CSIZE - ps->avail_out; in dumpsys_bzrun() 2003 cs = DUMP_SET_TAG(csize, hp->tag); in dumpsys_bzrun() 2004 if (csize > 0) { in dumpsys_bzrun() 2006 dumpsys_swrite(hp, hp->cpout, csize + CSIZE); in dumpsys_bzrun() 2089 dumpsys_lzjbrun(helper_t *hp, size_t csize, void *buf, size_t size) in dumpsys_lzjbrun() argument 2094 size_t osize = csize > 0 ? CSIZE + size : size; in dumpsys_lzjbrun() 2128 if (csize > 0) { in dumpsys_lzjbrun() 2129 cs = DUMP_SET_TAG(csize, 0); in dumpsys_lzjbrun() 2143 size_t csize; in dumpsys_lzjbcompress() local [all …]
|
/titanic_44/usr/src/lib/libnsl/nsl/ |
H A D | _utility.c | 220 int csize) in _t_register_lookevent() argument 230 if ((csize > cbuf_size) || dsize > dbuf_size) { in _t_register_lookevent() 243 if (cptr && csize >= (int)sizeof (struct T_discon_ind) && in _t_register_lookevent() 297 (void) memcpy(tlbs->tl_lookcbuf, cptr, csize); in _t_register_lookevent() 301 tlbs->tl_lookclen = csize; in _t_register_lookevent() 509 unsigned int csize, dsize, asize, osize; in _t_alloc_bufs() local 513 csize = _t_setsize(tsap->CDATA_size, B_FALSE); in _t_alloc_bufs() 516 size1 = _T_MAX(csize, dsize); in _t_alloc_bufs()
|
/titanic_44/usr/src/cmd/tbl/ |
H A D | t4.c | 35 csize[i][icol][0]=0; in getspec() 175 temp = snp = csize[nclin][icol-1]; in readspec()
|
H A D | t0.c | 42 char csize[MAXHEAD][MAXCOL][4]; variable
|
H A D | t..c | 36 extern char csize[MAXHEAD][MAXCOL][4];
|
/titanic_44/usr/src/cmd/keyserv/ |
H A D | keyserv.c | 1353 int csize, len; local 1365 csize = atoi(size); 1367 csize = atoi(size); 1371 csize = 0 - csize; 1374 if (csize == 0) { 1379 return (csize);
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 1278 uint32_t csize; in dump_plat_data() local 1282 csize = (uint32_t)compress(HYPERVISOR_shared_info, dump_cbuf, in dump_plat_data() 1284 dumpvp_write(&csize, sizeof (uint32_t)); in dump_plat_data() 1285 dumpvp_write(dump_cbuf, csize); in dump_plat_data()
|
/titanic_44/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 162 size_t csize; /* call graph array size */ in profile_open() local 281 csize = (nsym + 1) * PRF_CGINIT * sizeof (L_cgarc); in profile_open() 282 Fsize = (hsize + psize + csize); in profile_open()
|