/illumos-gate/usr/src/boot/libsa/ |
H A D | tftp.c | 143 } __packed __aligned(4) wbuf; in tftp_senderr() 148 if (len > sizeof (wbuf.space)) in tftp_senderr() 149 len = sizeof (wbuf.space); in tftp_senderr() 151 wbuf.t.th_opcode = htons((ushort_t)ERROR); in tftp_senderr() 152 wbuf.t.th_code = htons(errcode); in tftp_senderr() 154 wtail = wbuf.t.th_msg; in tftp_senderr() 159 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_senderr() 168 } __packed __aligned(4) wbuf; in tftp_sendack() 171 wbuf.t.th_opcode = htons((ushort_t)ACK); in tftp_sendack() 172 wtail = (char *)&wbuf.t.th_block; in tftp_sendack() [all …]
|
H A D | rarp.c | 73 } wbuf; in rarp_getipaddress() local 88 bzero((char*)&wbuf.data, sizeof(wbuf.data)); in rarp_getipaddress() 89 ap = &wbuf.data.arp; in rarp_getipaddress() 100 rarpsend, &wbuf.data, sizeof(wbuf.data), in rarp_getipaddress()
|
H A D | arp.c | 83 } wbuf; in arpwhohas() local 101 bzero((char *)&wbuf.data, sizeof (wbuf.data)); in arpwhohas() 102 ah = &wbuf.data.arp; in arpwhohas() 119 arpsend, &wbuf.data, sizeof (wbuf.data), in arpwhohas()
|
H A D | bootp.c | 130 } wbuf; in bootp() local 149 bp = &wbuf.wbootp; in bootp()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.dol.c | 150 static tchar *wbuf = NULL; in Dword() local 159 wbuf = xrealloc(wbuf, (wbufsiz+1) * sizeof (tchar)); \ in Dword() 166 if (wbuf == NULL) in Dword() 167 wbuf = xalloc((wbufsiz+1) * sizeof (tchar)); in Dword() 181 wbuf[wp] = 0; in Dword() 190 wbuf[wp++] = c; in Dword() 217 wbuf[wp++] = c == '`' ? '`' : c | QUOTE; in Dword() 222 wbuf[wp++] = c | QUOTE; in Dword() 227 wbuf[wp++] = c; in Dword() 233 wbuf[wp++] = '`'; in Dword() [all …]
|
H A D | sh.lex.c | 201 tchar wbuf[BUFSIZ]; in word() local 208 wp = wbuf; in word() 308 wp = &wbuf[1]; in word() 315 tprintf("word() returning:%t\n", wbuf); in word() 317 return (savestr(wbuf)); in word() 761 tchar wbuf[BUFSIZ]; in subword() local 783 wp = wbuf; in subword() 821 return (savestr(wbuf)); in subword()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfwr.c | 41 { reg char *sp, *wbuf, *endbuf; local 45 wbuf = buf; 91 if(buf > wbuf) 96 if((wr = syswritef(f->file,wbuf,buf-wbuf)) > 0) 100 if(wr != (buf-wbuf)) 102 wbuf = buf; 112 wbuf = (buf += s);
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | wbuf.S | 57 ! spill the window into wbuf slot 0 58 ! (we know wbuf is empty since we came from user mode) 153 ! We handle it by spilling the window to the wbuf and retrying 168 ! use previous wbcnt to spill new spbuf & wbuf 193 ! spill the window into wbuf slot 0 194 ! (we know wbuf is empty since we came from user mode) 346 ! We handle it by spilling the window to the wbuf and retrying 361 ! use previous wbcnt to spill new spbuf & wbuf
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | regset.h | 134 struct rwindow wbuf[SPARC_MAXREGWINDOW]; member 142 struct rwindow32 wbuf[SPARC_MAXREGWINDOW]; member 148 struct rwindow64 wbuf[SPARC_MAXREGWINDOW]; member
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | wbuf.S | 56 ! spill the window into wbuf slot 0 57 ! (we know wbuf is empty since we came from user mode) 151 ! We handle it by spilling the window to the wbuf and retrying 165 ! use previous wbcnt to spill new spbuf & wbuf 190 ! spill the window into wbuf slot 0 191 ! (we know wbuf is empty since we came from user mode) 285 ! We handle it by spilling the window to the wbuf and retrying 299 ! use previous wbcnt to spill new spbuf & wbuf
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 193 caddr_t wbuf; in lwp_forkregs() local 202 wbuf = mpcb->mpcb_wbuf; in lwp_forkregs() 221 kmem_cache_free(wbuf32_cache, wbuf); in lwp_forkregs() 222 wbuf = kmem_cache_alloc(wbuf64_cache, KM_SLEEP); in lwp_forkregs() 225 kmem_cache_free(wbuf64_cache, wbuf); in lwp_forkregs() 226 wbuf = kmem_cache_alloc(wbuf32_cache, KM_SLEEP); in lwp_forkregs() 232 mpcb->mpcb_wbuf = wbuf; in lwp_forkregs() 233 mpcb->mpcb_wbuf_pa = va_to_pa(wbuf); in lwp_forkregs()
|
/illumos-gate/usr/src/cmd/csh/sparc/ |
H A D | signal.c | 92 sc.sc_wbuf[i][j] = ucp->uc_mcontext.gwins->wbuf[i].rw_local[j]; in sigvechandler() 94 sc.sc_wbuf[i][j+8] = ucp->uc_mcontext.gwins->wbuf[i].rw_in[j]; in sigvechandler() 134 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j] = sc.sc_wbuf[i][j]; in sigvechandler() 136 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j] = sc.sc_wbuf[i][j+8]; in sigvechandler()
|
/illumos-gate/usr/src/test/libc-tests/tests/stdio/ |
H A D | fileno.c | 84 wchar_t *wbuf; in check_memstream() local 97 wmem = open_wmemstream(&wbuf, &size); in check_memstream()
|
H A D | orientation_test.c | 113 wchar_t *wbuf; in main() local 245 f = open_wmemstream(&wbuf, &size); in main()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | copylet.c | 75 char wbuf[LSIZE]; in xxxcopylet() local 200 sprintf(wbuf, "%d", affcnt); in xxxcopylet() 203 + strlen(wbuf) + 2); in xxxcopylet()
|
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/ |
H A D | signal.c | 171 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j]; in ucbsigvechandler() 174 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j]; in ucbsigvechandler() 300 ucp->uc_mcontext.gwins->wbuf[i].rw_local[j] = in ucbsigvechandler() 303 ucp->uc_mcontext.gwins->wbuf[i].rw_in[j] = in ucbsigvechandler()
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n3.c | 62 tchar *wbuf; variable 65 tchar wbuf[BLK]; variable 503 wbuf = &corebuf[woff]; /* INCORE only */ 507 wbuf[wbfi++] = i; 538 write(ibf, (char *)wbuf, wbfi * sizeof(tchar)); in wbfl()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_vnops.c | 665 struct buf *wbuf; in hsfs_ra_task() local 670 wbuf = &(info->bufs[count]); in hsfs_ra_task() 672 DTRACE_PROBE1(hsfs_io_wait_ra, struct buf *, wbuf); in hsfs_ra_task() 680 DTRACE_PROBE1(hsfs_io_done_ra, struct buf *, wbuf); in hsfs_ra_task() 1342 struct buf *wbuf; in hsfs_getapage() local 1350 wbuf = &bufs[count]; in hsfs_getapage() 1351 DTRACE_PROBE1(hsfs_io_wait, struct buf *, wbuf); in hsfs_getapage() 1366 DTRACE_PROBE1(hsfs_io_done, struct buf *, wbuf); in hsfs_getapage() 1369 err = geterror(wbuf); in hsfs_getapage()
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | v9dep.c | 502 bcopy(&gwins->wbuf[i], rwp, sizeof (struct rwindow)); in setgwins() 504 rwindow_nto32(&gwins->wbuf[i], rwp); in setgwins() 537 rwindow_32ton(&gwins->wbuf[i], rwp); in setgwins32() 539 bcopy(&gwins->wbuf[i], rwp, sizeof (struct rwindow32)); in setgwins32() 575 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow)); in getgwins() 577 rwindow_32ton(rwp, &gwp->wbuf[i]); in getgwins() 608 rwindow_nto32(rwp, &gwp->wbuf[i]); in getgwins32() 610 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow32)); in getgwins32()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_session.c | 207 smb_wchar_t *wbuf = NULL; in smb_netbios_session_request() local 270 wbuf = kmem_alloc((SMB_PI_MAX_HOST * sizeof (smb_wchar_t)), KM_SLEEP); in smb_netbios_session_request() 271 (void) oemtoucs(wbuf, client_name, SMB_PI_MAX_HOST, OEM_CPG_850); in smb_netbios_session_request() 272 (void) smb_wcstombs(session->workstation, wbuf, SMB_PI_MAX_HOST); in smb_netbios_session_request() 273 kmem_free(wbuf, (SMB_PI_MAX_HOST * sizeof (smb_wchar_t))); in smb_netbios_session_request()
|
/illumos-gate/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 170 &gwin.wbuf[i], in find_gwin() 208 (void) memcpy(rwp, &gwin->wbuf[i], in read_gwin()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | Makefile | 43 vfprintf.o vfscanf.o vprintf.o vsnprintf.o wbuf.o wsetup.o xtrap.o
|
/illumos-gate/usr/src/lib/libproc/sparcv9/ |
H A D | Pisadep.c | 218 &gwin.wbuf[i], in find_gwin() 256 (void) memcpy(rwp, &gwin->wbuf[i], in read_gwin()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpmtab.c | 66 char wbuf[BUFSIZ]; in read_pmtab() local 99 wptr = wbuf; in read_pmtab()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | deliver.c | 884 char wbuf[MAXNAME + 20]; local 886 (void) sm_snprintf(wbuf, sizeof(wbuf), "sendall(%.*s)", 888 checkfd012(wbuf); 1887 char wbuf[MAXLINE]; local 1890 (void) sm_snprintf(wbuf, sizeof(wbuf), "%s... openmailer(%s)", 1893 checkfd012(wbuf); 3632 char wbuf[MAXLINE]; local 3635 (void) sm_snprintf(wbuf, sizeof(wbuf), 3641 checkfd012(wbuf);
|