Searched refs:iop (Results 76 - 100 of 111) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/sys/idm/
H A Didm_so.h116 int idm_iov_sosend(ksocket_t so, iovec_t *iop, int iovlen,
119 int idm_iov_sorecv(ksocket_t so, iovec_t *iop, int iovlen,
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c470 struct iocblk *iop; local
484 iop = (struct iocblk *)mp->b_rptr;
485 switch (iop->ioc_cmd) {
489 } else if (iop->ioc_count != 2 * sizeof (uint32_t) ||
601 sps->sps_ioc_id = iop->ioc_id;
656 sps->sps_ioc_id = iop->ioc_id;
707 struct iocblk *iop; local
752 iop = (struct iocblk *)mp->b_rptr;
753 switch (iop->ioc_cmd) {
787 if (iop
863 struct iocblk *iop; local
981 struct iocblk *iop; local
1313 struct iocblk *iop; local
1864 struct iocblk *iop; local
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dcmd.c509 struct ionod *iop; local
544 iop = (struct ionod *)getstor(sizeof(struct ionod));
547 iop->ioname = (char *) make(wdarg->argval);
549 iop->ioname = (char *) (wdarg->argval);
551 iop->iolink = 0;
552 iop->iofile = iof;
555 iop->iolst = iopend;
556 iopend = iop;
559 iop->ionxt = inout(lastio);
560 return(iop);
[all...]
H A Dservice.c50 initio(struct ionod *iop, int save) argument
59 while (iop) {
60 iof = iop->iofile;
61 ion = mactrim(iop->ioname);
110 iop = iop->ionxt;
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_bitmap.c714 bm_getiov(int bmd, bm_io_t *iop) argument
721 if (!iop)
725 else if (iop->bmio_iovcnt <= 0)
729 vp = iop->bmio_iov;
730 for (i = 0; i < iop->bmio_iovcnt; vp++, i++) {
747 bm_setiov(int bmd, bm_io_t *iop) argument
754 if (!iop)
758 else if (iop->bmio_iovcnt <= 0)
760 else if (!iop->bmio_iov)
764 vp = iop
1494 dbm_getiov(int bmd, bm_io_t *iop) argument
1527 dbm_setiov(int bmd, bm_io_t *iop) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dlex.c181 static void lex_advance(Sfio_t *iop, const char *buff, register int size, void *context) argument
189 if(iop && !sfstacked(iop))
1612 register struct ionod *iop; local
1620 iop = newof(0,struct ionod,1,lp->lexd.docextra+n+ARGVAL);
1621 iop->iolst = lp->heredoc;
1630 iop->ioname = (char*)(iop+1);
1631 strcpy(iop->ioname,lp->arg->argval);
1632 iop
1703 here_copy(Lex_t *lp,register struct ionod *iop) argument
2329 alias_exceptf(Sfio_t *iop,int type,void *data, Sfdisc_t *handle) argument
2373 register Sfio_t *iop, *base; local
[all...]
H A Dsubshell.c479 Sfio_t *iop=0; local
556 if(!(iop = sftmp(PIPE_BUF)))
561 sfswap(iop,sfstdout);
604 iop = sh_iostream(shp,sp->pipefd);
609 /* move tmp file to iop and restore sfstdout */
610 iop = sfswap(sfstdout,NIL(Sfio_t*));
611 if(!iop)
615 iop = sfswap(sfstdout,NIL(Sfio_t*));
617 if(iop && sffileno(iop)
[all...]
H A Dbash.c314 Sfio_t *iop; local
418 iop = sfopen(NULL, bash_pre_rc, "s");
419 sh_eval(iop,0);
H A Dnvtree.c52 static int read_tree(Namval_t* np, Sfio_t *iop, int n, Namfun_t *dp) argument
59 while((c = sfgetc(iop)) && isblank(c));
60 sfungetc(iop,c);
64 sfstack(iop,sp);
65 c=sh_eval(iop,SH_READEVAL);
H A Dxec.c292 static void out_pattern(Sfio_t *iop, register const char *cp, int n) argument
305 sfputr(iop,"$'\\n",'\'');
314 sfputc(iop,'\\');
317 sfputc(iop,c);
322 static void out_string(Sfio_t *iop, register const char *cp, int c, int quoted) argument
328 if(iop==stkstd && cp==stkptr(stkstd,n))
334 sfputr(iop,cp,c);
403 Sfio_t *iop = stkstd; local
410 sfputr(iop,name,-1);
413 sfputc(iop,'[');
464 sh_eval(register Sfio_t *iop, int mode) argument
537 volatile Sfio_t *iop; local
1718 Sfio_t *iop=0; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c555 static int hist_nearend(History_t *hp, Sfio_t *iop, register off_t size) argument
560 if(size <= 2L || sfseek(iop,size,SEEK_SET)<0)
564 while(cp=buff=(unsigned char*)sfreserve(iop,SF_UNBOUND,SF_LOCKR))
566 n = sfvalue(iop);
588 sfread(iop,(char*)buff,n);
591 if((n=sfread(iop,(char*)marker,4))==4)
607 sfseek(iop,(off_t)2,SEEK_SET);
764 static ssize_t hist_write(Sfio_t *iop,const void *buff,register size_t insize,Sfdisc_t* handle) argument
766 static int hist_write(Sfio_t *iop,const void *buff,register int insize,Sfdisc_t* handle)
776 return(write(sffileno(iop),(cha
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_ascii.c163 ascii_setwidth(struct termp *p, int iop, int width) argument
168 if (iop > 0)
170 else if (iop == 0)
H A Dterm.c873 int iop, width; local
875 iop = 0;
880 iop = 1;
884 iop = -1;
893 iop = 0;
895 (*p->setwidth)(p, iop, width);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtypeset.c405 static void print_value(Sfio_t *iop, Namval_t *np, struct tdata *tp) argument
415 sfputr(iop,nv_name(np),aflag=='+'?'\n':'=');
420 nv_outnode(np,iop,-1,0);
421 sfwrite(iop,")\n",2);
431 sfputr(iop,name,'\n');
1066 Sfio_t *iop=0; local
1091 iop = tp->sh->heredocs;
1094 iop = sfopen(iop,fname,"r");
1096 iop
[all...]
H A Dhist.c264 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_READ); local
268 sh_eval(iop,1);
H A Dmkservice.c183 static void process_stream(Sfio_t* iop) argument
185 int r=0, fd = sffileno(iop);
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c1108 struct iocblk *iop; local
1122 iop = (struct iocblk *)mp->b_rptr;
1131 struct iocblk *, iop);
1133 switch (iop->ioc_cmd) {
1169 iop->ioc_count != sizeof (*ptn) ||
1190 if (mp->b_cont == NULL || iop->ioc_count != sizeof (*pti)) {
1206 if (iop->ioc_cmd == PPPTUN_GINFO) {
1242 if (mp->b_cont == NULL || iop->ioc_count < sizeof (uint32_t)) {
1273 if (len == 0 || len > iop->ioc_count) {
1284 iop
1510 struct iocblk *iop; local
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c712 struct iocblk *iop; local
715 iop = (struct iocblk *)mp->b_rptr;
718 switch (iop->ioc_cmd) {
720 if (iop->ioc_count != 2 * sizeof (uint32_t) ||
759 if (iop->ioc_count != 2 || mp->b_cont == NULL)
787 if (iop->ioc_count < 2 || mp->b_cont == NULL)
799 if (opt_len > iop->ioc_count) {
800 opt_len = iop->ioc_count;
812 if (iop->ioc_cmd == PPPIO_XCOMP) {
879 if (iop
981 struct iocblk *iop; local
1154 struct iocblk *iop; local
[all...]
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c442 FILE *iop; local
447 (iop = fdopen(fd, "w+")) == NULL) {
452 return (iop);
/illumos-gate/usr/src/cmd/mail/
H A Dinit.c173 time_t iop; variable
H A Dsendmail.c86 time(&iop);
87 bp = localtime(&iop);
/illumos-gate/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c522 struct iocblk *iop; local
532 iop = (struct iocblk *)mp->b_rptr;
533 ASSERT(state != NULL && iop != NULL);
538 switch (iop->ioc_cmd) {
541 if (iop->ioc_count != sizeof (uint32_t) || mp->b_cont == NULL)
572 if (iop->ioc_count != sizeof (uint32_t) || mp->b_cont == NULL)
603 if (iop->ioc_count < sizeof (uint32_t) ||
604 iop->ioc_count > sizeof (ext_accm) ||
610 (caddr_t)state->sa_xaccm, iop->ioc_count);
620 if (iop
776 struct iocblk *iop; local
[all...]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c608 lnsync(FILE *iop) argument
613 if (!sflag || iop != stdout)
619 (void) fprintf(iop, "#line %d \"", cline = fline[ifx]);
620 fpath(iop);
621 (void) fprintf(iop, "\"\n");
623 (void) fprintf(iop, "#line %d\n", cline = fline[ifx]);
627 fpath(FILE *iop) argument
634 (void) fprintf(iop, "%s", fname[0]);
637 (void) fprintf(iop, ":%s", fname[i]);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fct.c161 emlxs_iotrace_t *iop = port->iotrace; local
166 if (!iop) {
182 if ((iop->fct_cmd == fct_cmd) &&
183 (iop->trc[0] != (uint8_t)(0)))
185 iop++;
195 iop = port->iotrace + iotrace_index;
197 if (iop->trc[0] == (uint8_t)(0))
200 iop++;
201 if (iop == (port->iotrace + iotrace_cnt))
202 iop
[all...]
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c2061 FILE *iop; /* I/O stream */ member in struct:buff
2075 initbuf(FILE *iop, int filen, long offset) argument
2077 bufwchar[filen].iop = iop;
2091 rewind(bufwchar[filen].iop);
2147 ch = getc(bufwchar[filen].iop);
2172 sizeof (char), NW, bufwchar[filen].iop);
2173 if (ferror(bufwchar[filen].iop)) {
2193 sizeof (char), NW, bufwchar[filen].iop);
2194 if (ferror(bufwchar[filen].iop)) {
[all...]

Completed in 96 milliseconds

12345