Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/boot/libsa/
H A Dtftp.c143 } __packed __aligned(4) wbuf; in tftp_senderr()
149 len = sizeof (wbuf.space); 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()
176 sendudp(h->iodesc, &wbuf.t, wtail - (char *)&wbuf.t); in tftp_sendack()
294 } __packed __aligned(4) wbuf; in tftp_makereq()
313 wtail = wbuf.t.th_stuff; in tftp_makereq()
347 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_makereq()
405 res = sendrecv(h->iodesc, &sendudp, &wbuf.t, wtail - (char *)&wbuf.t, in tftp_getnextblock()
[all …]
H A Drarp.c73 } 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 Darp.c83 } 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 Dbootp.c130 } wbuf; in bootp() local
149 bp = &wbuf.wbootp; in bootp()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.dol.c150 static tchar *wbuf = NULL; in Dword() local
159 wbuf = xrealloc(wbuf, (wbufsiz+1) * sizeof (tchar)); \ in Dword()
166 if (wbuf == NULL) in Dword()
181 wbuf[wp] = 0; in Dword()
190 wbuf[wp++] = c; in Dword()
227 wbuf[wp++] = c; in Dword()
233 wbuf[wp++] = '`'; in Dword()
271 wbuf[wp++] = 0; in Dword()
275 wbuf[wp++] = c; in Dword()
278 Gcat(S_ /* "" */, wbuf); in Dword()
[all …]
H A Dsh.lex.c201 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 Dsfwr.c41 { 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/sparc/sys/
H A Dregset.h134 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/sun4v/ml/
H A Dwbuf.S57 ! 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/sun4u/ml/
H A Dwbuf.S56 ! 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 Dmachdep.c193 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 Dsignal.c92 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 Dfileno.c84 wchar_t *wbuf; in check_memstream() local
97 wmem = open_wmemstream(&wbuf, &size); in check_memstream()
H A Dorientation_test.c113 wchar_t *wbuf; in main() local
245 f = open_wmemstream(&wbuf, &size); in main()
/illumos-gate/usr/src/cmd/mail/
H A Dcopylet.c75 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 Dsignal.c171 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 Dn3.c62 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 Dhsfs_vnops.c665 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 Dv9dep.c502 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 Dsmb_session.c207 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 DPisadep.c170 &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 DMakefile43 vfprintf.o vfscanf.o vprintf.o vsnprintf.o wbuf.o wsetup.o xtrap.o
/illumos-gate/usr/src/lib/libproc/sparcv9/
H A DPisadep.c218 &gwin.wbuf[i], in find_gwin()
256 (void) memcpy(rwp, &gwin->wbuf[i], in read_gwin()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmpmtab.c66 char wbuf[BUFSIZ]; in read_pmtab() local
99 wptr = wbuf; in read_pmtab()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c884 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);

12