Home
last modified time | relevance | path

Searched refs:outp (Results 1 – 25 of 41) sorted by relevance

12

/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_svc.c83 cachefsd_null_1_svc(void *inp, void *outp, struct svc_req *reqp) in cachefsd_null_1_svc() argument
89 dbug_assert(outp == NULL); in cachefsd_null_1_svc()
111 cachefsd_caches_return *outp, in cachefsd_caches_1_svc() argument
123 dbug_assert(outp); in cachefsd_caches_1_svc()
125 if (inp || (outp == NULL)) { in cachefsd_caches_1_svc()
151 outp->ccr_modify = all_object_p->i_modify; in cachefsd_caches_1_svc()
152 outp->ccr_ids.ccr_ids_len = cnt; in cachefsd_caches_1_svc()
153 outp->ccr_ids.ccr_ids_val = headp; in cachefsd_caches_1_svc()
176 cachefsd_cache_status_1_svc(int *inp, struct cachefsd_cache_status *outp, in cachefsd_cache_status_1_svc() argument
190 dbug_assert(outp); in cachefsd_cache_status_1_svc()
[all …]
/titanic_44/usr/src/lib/libcmd/common/
H A Duniq.c88 register char *cp, *ep, *mp, *bufp, *outp; in uniq() local
163 if(outp!=sbufp) in uniq()
164 sfwrite(fdout,outp,0); in uniq()
174 outp[f++] = ' '; in uniq()
175 outp[f++] = '0' + count + 1; in uniq()
176 outp[f] = ' '; in uniq()
182 outp[f--] = ' '; in uniq()
185 outp[f--] = '0' + (count % 10); in uniq()
188 outp[f--] = ' '; in uniq()
193 if(outp!=sbufp) in uniq()
[all …]
H A Dfmt.c57 char* outp; member
86 if (!fp->outp) in outline()
88 while (fp->outp[-1] == ' ') in outline()
89 fp->outp--; in outline()
90 *fp->outp = 0; in outline()
118 if ((d = (fp->outp - cp)) <= 0) in outline()
120 else if ((c = fp->outp[-1]) == 'n' && d > 1 && fp->outp[-2] == '\\') in outline()
133 fp->outp = 0; in outline()
160 fp->outp = fp->outbuf+prefix; in split()
166 if (!fp->outp || prefix < fp->prefix) in split()
[all …]
/titanic_44/usr/src/uts/common/io/net80211/
H A Dnet80211_ioctl.c136 wldp_t *outp; in wifi_cfg_essid() local
143 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_essid()
144 ow_essid = (wl_essid_t *)outp->wldp_buf; in wifi_cfg_essid()
155 outp->wldp_result = WL_NOTSUPPORTED; in wifi_cfg_essid()
170 wldp_t *outp; in wifi_cfg_bssid() local
175 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_bssid()
179 wl_get_bssid(ic, outp->wldp_buf); in wifi_cfg_bssid()
189 outp->wldp_result = WL_NOTSUPPORTED; in wifi_cfg_bssid()
204 wldp_t *outp; in wifi_cfg_nodename() local
213 outp = (wldp_t *)omp->b_rptr; in wifi_cfg_nodename()
[all …]
/titanic_44/usr/src/cmd/exstr/
H A Dexstr.c258 char *outp; local
263 outp = outbuf;
344 if (outp != outbuf) {
346 *outp++ = *inp++;
347 *outp = '\0';
351 outp = outbuf;
367 *outp++ = *inp++;
402 outp += snprintf(outp, BUFSIZ - (outp - outbuf),
406 outp += snprintf(outp, BUFSIZ - (outp - outbuf),
415 if (outp != outbuf) {
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dchap.c795 u_char *outp; local
802 outp = outpacket_buf;
804 MAKEHEADER(outp, PPP_CHAP); /* paste in a CHAP header */
806 PUTCHAR(CHAP_CHALLENGE, outp);
807 PUTCHAR(cstate->chal_id, outp);
808 PUTSHORT(outlen, outp);
810 PUTCHAR(chal_len, outp); /* put length of challenge */
811 BCOPY(cstate->challenge, outp, chal_len);
812 INCPTR(chal_len, outp);
814 BCOPY(cstate->chal_name, outp, name_len); /* append hostname */
[all …]
H A Dupap.c601 u_char *outp; local
609 outp = outpacket_buf;
611 MAKEHEADER(outp, PPP_PAP);
613 PUTCHAR(UPAP_AUTHREQ, outp);
614 PUTCHAR(++u->us_id, outp);
615 PUTSHORT(outlen, outp);
616 PUTCHAR(u->us_userlen, outp);
617 BCOPY(u->us_user, outp, u->us_userlen);
618 INCPTR(u->us_userlen, outp);
619 PUTCHAR(pwlen, outp);
[all …]
H A Dcbcp.c434 u_char *outp; local
437 outp = outpacket_buf;
441 MAKEHEADER(outp, PPP_CBCP);
443 PUTCHAR(code, outp);
444 PUTCHAR(us->us_id, outp);
445 PUTSHORT(outlen, outp);
448 BCOPY(buf, outp, len);
H A Dfsm.c820 u_char *outp; local
841 outp = outpacket_buf + PPP_HDRLEN + HEADERLEN;
851 (*f->callbacks->addci)(f, outp, &cilen);
856 fsm_sdata(f, CODE_CONFREQ, f->reqid, outp, cilen);
876 u_char *outp; local
886 outp = outpacket_buf;
889 if (datalen && data != outp + PPP_HDRLEN + HEADERLEN)
890 BCOPY(data, outp + PPP_HDRLEN + HEADERLEN, datalen);
892 MAKEHEADER(outp, f->protocol);
893 PUTCHAR(code, outp);
[all …]
/titanic_44/usr/src/lib/libpp/common/
H A Dpp.h73 #define pplastout() ((pp.outp>pp.outbuf)?*(pp.outp-1):pp.lastout)
75 #define pppendout() (pp.outp-pp.outbuf)
76 #define ppputchar(c) (*pp.outp++=(c))
77 #define ppflushout() do{if(pp.outp>pp.outbuf){PPWRITE(pp.outp-pp.outbuf);pp.outp=pp.outbuf;}}while(…
78outp>pp.oute){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else…
410 char* outp; /* outbuf pointer */ member
H A Dppprintf.c36 if (!(sp = sfnew(NiL, pp.outp, MAXTOKEN, -1, SF_WRITE|SF_STRING))) in ppprintf()
41 pp.outp += sfseek(sp, 0L, SEEK_CUR); in ppprintf()
H A Dppmacref.c37 p = (pp.state & (DIRECTIVE|JOINING)) == DIRECTIVE ? pp.outp : pp.addp; in ppmacref()
48 pp.outp = p; in ppmacref()
/titanic_44/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c269 __inet_pton(int af, char *inp, void *outp, int compat) in __inet_pton() argument
277 if (str2inet_addr(inp, (ipaddr_t *)outp) != 0) { in __inet_pton()
279 *(uint32_t *)outp = htonl(*(uint32_t *)outp); in __inet_pton()
292 v6outp = (union v6buf_u *)outp; in __inet_pton()
414 _inet_pton(int af, char *inp, void *outp) in _inet_pton() argument
416 return (__inet_pton(af, inp, outp, 0)); in _inet_pton()
424 inet_pton(int af, char *inp, void *outp) in inet_pton() argument
426 return (__inet_pton(af, inp, outp, 1)); in inet_pton()
/titanic_44/usr/src/cmd/pack/
H A Dpack.c147 register char **q, *outp; in output() local
160 outp = &outbuff[6]; in output()
161 *outp++ = maxlev; in output()
163 *outp++ = levcount[i]; in output()
164 *outp++ = levcount[maxlev]-2; in output()
168 *outp++ = c; in output()
169 dictsize = outp-&outbuff[0]; in output()
191 *outp = **q++; in output()
193 *outp |= **q++; in output()
196 *++outp = **q++; in output()
[all …]
/titanic_44/usr/src/cmd/fmt/
H A Dfmt.c52 wchar_t *outp; /* Pointer in above */ variable
121 outp = NOSTR; in main()
350 if (outp) { in prefix()
353 *outp = L'\0'; in prefix()
355 outp = NOSTR; in prefix()
494 if (outp == NOSTR) in pack()
497 *outp = L'\0'; in pack()
500 for (cp = word; *cp; *outp++ = *cp++) { in pack()
508 for (cp = word; *cp; *outp++ = *cp++) { in pack()
521 if (outp == NOSTR) in oflush()
[all …]
/titanic_44/usr/src/cmd/compress/
H A Dcompress.c254 static FILE *outp; /* current output file */ variable
550 outp = stdout; in main()
557 outp = outfile; in main()
562 outp = stdout; in main()
669 outp = stdout; in main()
679 outp = outfile; in main()
684 outp = stdout; in main()
804 if (freopen(ofname, "w", outp) == NULL) { in main()
863 if (ferror(outp) || jmpval == 3) { in main()
987 if ((putc(magic_header[0], outp) == EOF || in compress()
[all …]
/titanic_44/usr/src/cmd/unpack/
H A Dunpack.c68 static char *outp; variable
176 outp = &outbuff[0]; in decode()
206 c = outp - &outbuff[0]; in decode()
221 *outp++ = *p; in decode()
222 if (outp == &outbuff[BUFSIZ]) { in decode()
223 if (write(outfile, outp = &outbuff[0], in decode()
498 outp = outbuff; in expand()
560 (void) write(outfile, outbuff, outp - outbuff); in expand()
623 *outp++ = c; in putch()
624 if (outp == &outbuff[BUFSIZ]) { in putch()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c86 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in set_buffers() local
103 outp = (uchar_t *)(outip + 1); in set_buffers()
120 outip->ip_hl = (outp - (uchar_t *)outip) >> 2; in set_buffers()
127 outicmp = (struct icmp *)outp; in set_buffers()
134 outudp = (struct udphdr *)outp; in set_buffers()
199 uchar_t *outp; /* packet following the IP header (UDP/ICMP) */ in send_probe() local
208 outp = (uchar_t *)(outip + 1); in send_probe()
210 outudp = (struct udphdr *)outp; in send_probe()
212 outicmp = (struct icmp *)outp; in send_probe()
214 outdata = (struct outdata *)(outp + ICMP_MINLEN); in send_probe()
[all …]
H A Dtraceroute_aux6.c78 uchar_t *outp; in set_buffers6() local
96 outp = (uchar_t *)(outip + 1); in set_buffers6()
100 outicmp = (struct icmp *)outp; in set_buffers6()
105 outudp = (struct udphdr *)outp; in set_buffers6()
304 uchar_t *outp; in send_probe6() local
326 outp = (uchar_t *)(outip + 1); in send_probe6()
328 outicmp = (struct icmp *)outp; in send_probe6()
330 outdata = (struct outdata *)(outp + ICMP6_MINLEN); in send_probe6()
350 iov.iov_base = outp; in send_probe6()
/titanic_44/usr/src/cmd/tcopy/
H A Dtcopy.c69 int n, nw, inp, outp; local
87 if ((outp = open(outf, O_WRONLY, 0666)) < 0) {
124 nw = write(outp, buff, (size_t)n);
165 if (ioctl(outp, MTIOCTOP, (char *)&op) < 0) {
181 (void) close(outp);
/titanic_44/usr/src/lib/libcurses/screen/
H A Dtparm.c255 char *outp = result; in tparm() local
304 *outp++ = c; in tparm()
389 (void) sprintf(outp, formatbuffer, in tparm()
392 (void) sprintf(outp, formatbuffer, op); in tparm()
400 while (*outp) in tparm()
401 outp++; in tparm()
475 *outp++ = (char)op; in tparm()
485 *outp++ = c; in tparm()
724 (void) strcpy(outp, added); in tparm()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c152 #define sset8(outp, idx, sval) \ argument
153 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
155 #define sset16(outp, idx, sval) \ argument
156 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
157 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
160 #define sset24(outp, idx, sval) \ argument
161 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 2), \
162 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 1), \
163 (((uchar_t *)(outp))[idx++]) = sbyte(sval, 0)
166 #define sset32(outp, idx, sval) \ argument
[all …]
/titanic_44/usr/src/cmd/audio/audiotest/
H A Dwavedata.c71 int p = 12, outp = 0; in uncompress_wave() local
119 outbuf[outp++] = s; \ in uncompress_wave()
127 outp = 0; in uncompress_wave()
193 return (outp * 2); in uncompress_wave()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoed.h44 ppptun_atype *pap, uint32_t *outp, void **srvp);
/titanic_44/usr/src/cmd/cfgadm/
H A Dcfgadm.c107 static void out_was_req(ap_out_t *outp, ap_arg_t *in_array, int nargs,
186 static void do_post_filter(ap_out_t *outp, post_filter_t *post_filtp, int *jp);
1922 out_was_req(ap_out_t *outp, ap_arg_t *in_array, int nargs, int no_dyn) in out_was_req() argument
1931 outp->req = 1; in out_was_req()
1937 outp->ldatap->ap_phys_id); in out_was_req()
1938 (void) snprintf(logid, sizeof (logid), "%s", outp->ldatap->ap_log_id); in out_was_req()
1985 outp->req = 1; in out_was_req()
1991 do_post_filter(ap_out_t *outp, post_filter_t *post_filtp, int *nselp) in do_post_filter() argument
1995 if (outp->req != 1) { in do_post_filter()
2008 if (all_fields[i].compare(&post_filtp->ldata, outp->ldatap, in do_post_filter()
[all …]

12