/illumos-gate/usr/src/uts/common/os/ |
H A D | printf.c | 80 char *bufp = buf; local 110 bufend = bufp + bufsize; 111 msgp = bufp; 129 if (msgp - bufp >= bufsize && !on_intr) { 130 ASSERT(bufp == buf); 131 bufsize = msgp - bufp + 1; 132 bufp = kmem_alloc(bufsize, KM_NOSLEEP); 133 if (bufp != NULL) 136 bufp = buf; 139 mp = log_makemsg(mid, sid, level, sl, LOG_KERN, bufp, [all...] |
/illumos-gate/usr/src/common/fs/ |
H A D | hsfs.c | 404 char *bufp; local 429 bufp = head->fi_buf; 430 if ((ISO_DESC_TYPE(bufp) != ISO_VD_PVD) || 431 (strncmp((const char *)ISO_std_id(bufp), ISO_ID_STRING, 432 ISO_ID_STRLEN) != 0) || (ISO_STD_VER(bufp) != ISO_ID_VER)) { 439 hsfsp->vol_size = ISO_VOL_SIZE(bufp); 440 hsfsp->lbn_size = ISO_BLK_SIZE(bufp); 443 hsfsp->vol_set_size = (ushort_t)ISO_SET_SIZE(bufp); 444 hsfsp->vol_set_seq = (ushort_t)ISO_SET_SEQ(bufp); 454 root_ino = IDE_EXT_LBN(ISO_root_dir(bufp)); 643 char *bufp = (char *)(filep->fi_memp + offset); local 761 parse_susp(char *bufp, uint_t *len, struct hs_direct *hsdep) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 224 char *bufp; local 243 bufp = sunw_subject_attrs(xcert_in, NULL, 0); 244 if (bufp != NULL) { 246 bufp); 247 OPENSSL_free(bufp); 250 bufp = sunw_issuer_attrs(xcert_in, NULL, 0); 251 if (bufp != NULL) { 252 (void) printf(gettext(" Issuer: %s\n"), bufp); 253 OPENSSL_free(bufp); 275 bufp [all...] |
/illumos-gate/usr/src/uts/common/io/vuidmice/ |
H A D | vuidm4p.c | 97 unsigned char *bufp; local 99 bufp = mp->b_rptr; 103 code = *bufp++; 178 if (r > 1 && !(bufp[0] & MOUSE_START_CODE) && 179 !(bufp[1] & MOUSE_START_CODE)) { 230 if (r > 0 && !(bufp[0] & MOUSE_START_CODE))
|
H A D | vuidm3p.c | 99 uchar_t *bufp; local 101 bufp = mp->b_rptr; 105 code = *bufp++;
|
H A D | vuidm5p.c | 83 uchar_t *bufp; local 85 bufp = mp->b_rptr; 89 code = *bufp++;
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 48 static int read_next_searchobj( char **bufp, long *blenp, 245 read_next_searchobj( char **bufp, long *blenp, struct ldap_searchobj **sop, argument 259 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 276 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) < 1 ) { 294 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 305 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 316 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 327 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 338 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { 349 if (( tokcnt = ldap_next_line_tokens( bufp, blen [all...] |
/illumos-gate/usr/src/cmd/bdiff/ |
H A D | bdiff.c | 536 char *bufp; local 542 bufp = fgets(*bufferp, *bufsizp, filep); 543 if (bufp == NULL) 544 return (bufp); 549 bufp = (char *)realloc((void *)*bufferp, newsize); 550 if (bufp == NULL) 554 *bufferp = bufp; 557 bufp = fgets(*bufferp + oldsize -1, oldsize + 1, filep); 558 if (bufp == NULL) { 560 bufp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | cbcp.c | 334 u_char *bufp = buf; local 389 PUTCHAR(CB_CONF_USER, bufp); 391 PUTCHAR(len , bufp); 392 PUTCHAR(5, bufp); /* delay */ 393 PUTCHAR(1, bufp); 394 BCOPY(us->us_number, bufp, strlen(us->us_number) + 1); 402 PUTCHAR(CB_CONF_ADMIN, bufp); 404 PUTCHAR(len, bufp); 405 PUTCHAR(5, bufp); /* delay */ 413 PUTCHAR(CB_CONF_NO, bufp); [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | parseproto.y | 1094 declspec_ToString(char *bufp, decl_spec_t *dsp) { 1098 *bufp = '\0'; 1103 strcat(bufp, "register"); 1116 strcat(bufp, " "); 1118 strcat(bufp, s); 1119 strcat(bufp, " "); 1120 strcat(bufp, dsp->ds_id); 1125 strcat(bufp, " "); 1127 strcat(bufp, dsp->ds_id); 1132 strcat(bufp, " "); [all...] |
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 461 char *bufp; local 505 bufp = head->fi_memp; 509 if (ISO_DESC_TYPE(bufp) != ISO_VD_PVD || 510 strncmp((char *)(ISO_std_id(bufp)), (char *)(ISO_ID_STRING), 511 ISO_ID_STRLEN) != 0 || ISO_STD_VER(bufp) != ISO_ID_VER) { 517 fsp->vol_size = ISO_VOL_SIZE(bufp); 518 fsp->lbn_size = ISO_BLK_SIZE(bufp); 521 fsp->vol_set_size = (ushort_t)ISO_SET_SIZE(bufp); 522 fsp->vol_set_seq = (ushort_t)ISO_SET_SEQ(bufp); 532 root_ino = IDE_EXT_LBN(ISO_root_dir(bufp)); 737 char *bufp = (char *)(filep->fi_memp + offset); local 859 parse_susp(char *bufp, uint_t *ce_len, struct hs_direct *hsdep) argument 1057 hs_dodates(enum hs_vol_type type, struct hs_direntry *hdp, char *bufp) argument [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 365 char buf[1024], *bufp, *endbuf; local 366 #define INITBUF() (bufp = buf, endbuf = buf+sizeof(buf)-128) 367 #define CHKBUF() (bufp >= endbuf ? (write(fd,buf,bufp-buf), bufp=buf) : bufp) 368 #define FLSBUF() (bufp > buf ? write(fd,buf,bufp-buf) : 0) 407 bufp = (*_Vmstrcpy)(bufp,"ALLOCATIO [all...] |
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.h | 99 void **bufp, size_t *sizep); 101 void **bufp, size_t *sizep);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | getrandom.c | 40 getrandom(void *bufp, size_t buflen, int flags) argument 44 uint8_t *buf = bufp;
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_log.c | 150 char *bufp; local 172 bufp = msgbuf; 175 (void) snprintf(bufp, len, "eoib%02d__%02x ", 178 bufp += 11; 180 (void) snprintf(bufp, len, "%02x ", p[i]); 182 bufp += 3; 184 (void) snprintf(bufp, len, "%02x\n", p[i]); 186 bufp += 3;
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 487 char *bufp; // temporary input buffer local 513 bufp = new char[bufl]; 514 if (bufp == 0) { // allocation error, try a smaller buf 516 bufp = new char[bufl]; 517 if (bufp == 0) 530 err = Read(bufp, cnt); 537 delete bufp; // Free the temporary buffer 553 char *bufp; // temporary output buffer local 578 bufp = new char[bufl]; 579 if (bufp [all...] |
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom.c | 178 uint64_t *bufp; local 188 bufp = (uint64_t *)lhp->allocp(size); 190 if (read(fh, bufp, size) < 0) { 191 lhp->freep(bufp, size); 197 *buf = bufp; 207 uint64_t *bufp; local 210 if ((bufsiz = get_local_core_md(lhp, &bufp)) > 0) { 213 if (mdp = md_init_intern(bufp, lhp->allocp, lhp->freep)) { 231 lhp->freep(bufp, bufsiz); 250 uint64_t *bufp; local 308 uint64_t *bufp; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_bios.c | 72 uchar_t *bufp; local 85 bufp = (uchar_t *)BIOS_IRQ_ROUTING_DATA; 89 bufp[i] = 0; 91 ((pci_irq_route_hdr_t *)hdrp)->pir_addr = (uint32_t)(uintptr_t)bufp; 115 ((uchar_t *)routes)[i] = bufp[i];
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | chk_trans.c | 177 char *p, *bufp; local 208 bufp = buf; 211 *bufp++ = *p; 212 if (bufp == buf+sizeof(buf)) 218 if (bufp != buf) { 219 this_component.length = bufp - buf; 241 bufp = buf; 252 } else if (*p == ' ' && bufp == buf) { 259 *bufp++ = *p; 260 if (bufp [all...] |
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | device.c | 152 ct_dev_status_get_minor(ct_stathdl_t stathdl, char **bufp) argument 157 if (bufp == NULL) 166 error = nvlist_lookup_string(info->nvl, CTDS_MINOR, bufp);
|
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_smr.c | 585 caddr_t bufp = NULL; local 659 for (; sp && !bufp; sp = sp->sl_next) { 682 bufp = bp->sb_bufp; 687 if (!all_empty && !bufp) { 697 } while (bufp == NULL); 699 *bufpp = bufp; 714 smr_buf_free(int domid, caddr_t bufp, uint_t len) argument 735 if (((uintptr_t)bufp & (IDN_SMR_BUFSIZE-1)) && 736 (IDN_ADDR2OFFSET(bufp) % IDN_SMR_BUFSIZE)) { 739 "%d boundary", (void *)bufp, domi 799 smr_buf_free_locked(int domid, caddr_t bufp, uint_t len) argument 1486 smr_slaballoc_get(int domid, caddr_t bufp, caddr_t ebufp) argument 1645 register caddr_t bufp; local 1890 caddr_t bufp; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | usersmtp.c | 2002 char *bufp; local 2029 bufp = &optbuf[strlen(optbuf)]; 2034 bufp = optbuf; 2047 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2049 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2051 bufp += strlen(bufp); 2084 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7) 2086 (void) sm_snprintf(bufp, SPACELEF 2270 char *bufp; local 3056 register char *bufp; local [all...] |
/illumos-gate/usr/src/cmd/banner/ |
H A D | banner.c | 184 static void banner(char *s, struct bann *bufp); 217 banner(char *s, struct bann *bufp) argument 223 r = bufp; 224 banset(blank, bufp);
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | kmem.c | 109 char *bufp; local 119 for (bufp = buffer, left = size; left > 0; bufp += r, left -= r) { 120 r = read(*kvm, bufp, left);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | sysclass.c | 140 sys_enterclass(t, cid, parmsp, reqpcredp, bufp) 145 void *bufp; 159 sys_fork(t, ct, bufp) 162 void *bufp;
|