Home
last modified time | relevance | path

Searched refs:iof (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Ddeparse.c440 iof=iop->iofile; in p_redirect()
450 if(iof&IOPUT) in p_redirect()
464 if(iof&IOLSEEK) in p_redirect()
467 if(iof&IOARITH) in p_redirect()
470 else if(iof&IOMOV) in p_redirect()
474 else if(iof&IOCLOB) in p_redirect()
485 if(iof&IOSTRIP) in p_redirect()
491 iof = ' '; in p_redirect()
497 if((iof&IOLSEEK) && (iof&IOARITH)) in p_redirect()
498 iof2 = iof, iof = ' '; in p_redirect()
[all …]
H A Dparse.c1685 iof = 0; in inout()
1693 iof |= IOMOV; in inout()
1697 iof |= IORDW; in inout()
1710 if(iof<0) in inout()
1713 iof = 1; in inout()
1715 iof |= IOPUT; in inout()
1717 iof |= IOAPP; in inout()
1719 iof |= IOMOV; in inout()
1754 if( (iof&IOPROCSUB) && !(iof&IOLSEEK)) in inout()
1759 if(iof&IODOC) in inout()
[all …]
H A Dio.c1176 iof=iop->iofile; in sh_redirect()
1183 if(iof&IOPUT) in sh_redirect()
1197 if(!(iof&IORAW)) in sh_redirect()
1199 if(iof&IOLSEEK) in sh_redirect()
1211 if(iof&IOPUT) in sh_redirect()
1238 if((iof&IOLSEEK) || ((iof&IOMOV) && *fname=='-')) in sh_redirect()
1243 if(iof&IOLSEEK) in sh_redirect()
1246 if(iof&IOARITH) in sh_redirect()
1257 if(iof&IODOC) in sh_redirect()
1305 if(iof&IOPUT) in sh_redirect()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfdisc.c188 #define GETDISCF(func,iof,type) \ argument
189 { for(d = f->disc; d && !d->iof; d = d->disc) ; \
190 func = d ? d->iof : NIL(type); \
241 #define DISCF(dst,iof,type) (dst ? dst->iof : NIL(type)) argument
242 #define REINIT(oiof,iof,type) \ argument
244 { for(d = f->disc; d && !d->iof; d = d->disc) ; \
245 if(DISCF(d,iof,type) != oiof) \
H A Dsfhdr.h938 #define SFDISC(f,dc,iof) \ argument
943 while(d && !(d->iof)) d = d->disc; \
/illumos-gate/usr/src/cmd/sh/
H A Dfunc.c422 int iof; in prio() local
427 iof = iop->iofile; in prio()
434 prn_buff(iof & IOUFD); in prio()
436 if (iof & IODOC) in prio()
438 else if (iof & IOMOV) in prio()
440 if (iof & IOPUT) in prio()
446 else if ((iof & IOPUT) == 0) in prio()
448 else if (iof & IOAPP) in prio()
H A Dcmd.c508 int iof; local
512 iof = wdnum;
516 iof |= IODOC|IODOC_SUBST;
522 iof |= 1;
523 iof |= IOPUT;
526 iof |= IOAPP;
532 iof |= IOMOV;
534 iof |= IORDW;
552 iop->iofile = iof;
553 if (iof & IODOC)
H A Dservice.c53 int iof, fd; in initio() local
60 iof = iop->iofile; in initio()
62 ioufd = iof & IOUFD; in initio()
70 if (iof & IODOC_SUBST) { in initio()
84 } else if (iof & IOMOV) { in initio()
93 } else if (((iof & IOPUT) == 0) && ((iof & IORDW) == 0)) in initio()
95 else if (iof & IORDW) /* For <> */ { in initio()
100 } else if (iof & IOAPP && in initio()
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_eth.c511 uint32_t iof; in fcoet_process_sol_fcp_data() local
548 iof = 0; in fcoet_process_sol_fcp_data()
667 uint32_t iof; in fcoet_process_sol_els_rsp() local
702 iof = FCT_IOF_FCA_DONE; in fcoet_process_sol_els_rsp()
847 uint32_t iof; in fcoet_process_sol_ct_rsp() local
875 iof = FCT_IOF_FCA_DONE; in fcoet_process_sol_ct_rsp()
887 uint32_t iof; in fcoet_send_sol_fcp_data_done() local
901 iof = 0; in fcoet_send_sol_fcp_data_done()
921 uint32_t iof = FCT_IOF_FCA_DONE; in fcoet_send_fcp_status_done() local
947 uint32_t iof; in fcoet_send_unsol_els_rsp_done() local
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dstmf.h385 uint32_t iof);
386 void stmf_send_status_done(scsi_task_t *task, stmf_status_t s, uint32_t iof);
389 void stmf_task_lu_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof);
391 uint32_t iof);
H A Dvnode.h1117 #define VOP_READ(vp, uiop, iof, cr, ct) \ argument
1118 fop_read(vp, uiop, iof, cr, ct)
1119 #define VOP_WRITE(vp, uiop, iof, cr, ct) \ argument
1120 fop_write(vp, uiop, iof, cr, ct)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.c633 FILE *iof; local
682 iof = fopen((char *)fn, "r");
683 if (iof == NULL)
686 setbuf(iof, (char *)iofbuf);
687 fstat64(fileno(iof), &sbuf);
689 if (top == 0L || iof == NULL)
699 fseeko64(iof, mid, 0);
702 if(fgets((char *)linebuf, sizeof linebuf, iof)==NULL)
705 if(fgets((char *)linebuf, sizeof linebuf, iof)==NULL)
744 fclose(iof);
[all …]
H A Dex_temp.c212 getblock(line atl, int iof) in getblock() argument
237 ichanged |= iof; in getblock()
242 ichang2 |= iof; in getblock()
248 if (iof == READ) { in getblock()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h1030 #define VOP_READ(vp, uiop, iof, cr, ct) \ argument
1031 fop_read(vp, uiop, iof, cr, ct)
1032 #define VOP_WRITE(vp, uiop, iof, cr, ct) \ argument
1033 fop_write(vp, uiop, iof, cr, ct)
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/sys/
H A Dvnode.h1037 #define VOP_READ(vp, uiop, iof, cr, ct) \ argument
1038 fop_read(vp, uiop, iof, cr, ct)
1039 #define VOP_WRITE(vp, uiop, iof, cr, ct) \ argument
1040 fop_write(vp, uiop, iof, cr, ct)
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c5040 stmf_task_audit(itask, TE_XFER_DONE, iof, dbuf); in stmf_data_xfer_done()
5065 if (iof & STMF_IOF_LPORT_DONE) { in stmf_data_xfer_done()
5178 stmf_task_audit(itask, TE_SEND_STATUS_DONE, iof, NULL); in stmf_send_status_done()
5189 if (iof & STMF_IOF_LPORT_DONE) { in stmf_send_status_done()
5365 stmf_task_audit(itask, TE_TASK_LU_ABORTED, iof, NULL); in stmf_task_lu_aborted()
5371 } else if ((iof & STMF_IOF_LU_DONE) == 0) { in stmf_task_lu_aborted()
5374 "%p, s=%llx, iof=%x", (void *)task, st, iof); in stmf_task_lu_aborted()
5404 } else if ((iof & STMF_IOF_LPORT_DONE) == 0) { in stmf_task_lport_aborted()
5407 "task=%p, s=%llx, iof=%x", (void *)task, st, iof); in stmf_task_lport_aborted()
5421 uint32_t iof) in stmf_task_lport_aborted_unlocked() argument
[all …]
/illumos-gate/usr/src/cmd/ed/
H A Ded.c1732 getblock(long atl, long iof) in getblock() argument
1748 ichanged |= iof; in getblock()
1753 if (iof == READ) { in getblock()
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c1963 uint32_t iof = 0; in fct_scsi_data_xfer_done() local
1980 iof = STMF_IOF_LPORT_DONE; in fct_scsi_data_xfer_done()
1986 stmf_data_xfer_done((scsi_task_t *)cmd->cmd_specific, dbuf, iof); in fct_scsi_data_xfer_done()
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c6796 uint32_t iof = 0; in qlt_handle_ctio_completion() local
6943 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
6947 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
6954 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
6977 fct_scsi_data_xfer_done(cmd, dbuf, iof); in qlt_handle_ctio_completion()
6984 fct_send_response_done(cmd, fc_st, iof); in qlt_handle_ctio_completion()
6988 fct_cmd_fca_aborted(cmd, fc_st, iof); in qlt_handle_ctio_completion()