/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | deparse.c | 437 register int iof,iof2; in p_redirect() local 440 iof=iop->iofile; in p_redirect() 449 *cp = '0'+(iof&IOUFD); 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() 472 else if(iof&(IORDW|IOAPP)) in p_redirect() 474 else if(iof&IOCLOB) in p_redirect() 485 if(iof&IOSTRIP) in p_redirect() [all …]
|
H A D | parse.c | 1676 register int iof = lexp->digits, token=lexp->token; in inout() local 1685 iof = 0; in inout() 1691 iof |= (IODOC|IORAW); in inout() 1693 iof |= IOMOV; in inout() 1695 iof |= IORDW|IOREWRITE; in inout() 1697 iof |= IORDW; in inout() 1701 iof |= IOLSEEK; in inout() 1703 iof |= IOCOPY; in inout() 1710 if(iof<0) in inout() 1713 iof = 1; in inout() [all …]
|
H A D | io.c | 1160 register int fd, iof; in sh_redirect() local 1176 iof=iop->iofile; in sh_redirect() 1177 fn = (iof&IOUFD); in sh_redirect() 1180 if(shp->redir0 && fn==0 && !(iof&IOMOV)) in sh_redirect() 1182 io_op[0] = '0'+(iof&IOUFD); in sh_redirect() 1183 if(iof&IOPUT) in sh_redirect() 1197 if(!(iof&IORAW)) in sh_redirect() 1199 if(iof&IOLSEEK) in sh_redirect() 1205 fname=sh_macpat(shp,ap,(iof&IOARITH)?ARG_ARITH:ARG_EXP); in sh_redirect() 1207 else if(iof&IOPROCSUB) in sh_redirect() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | func.c | 422 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 D | cmd.c | 508 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 D | service.c | 53 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/contrib/ast/src/lib/libast/sfio/ |
H A D | sfdisc.c | 188 #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 D | sfhdr.h | 938 #define SFDISC(f,dc,iof) \ argument 943 while(d && !(d->iof)) d = d->disc; \
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_eth.c | 511 uint32_t iof; in fcoet_process_sol_fcp_data() local 548 iof = 0; in fcoet_process_sol_fcp_data() 551 fct_scsi_data_xfer_done(xch->xch_cmd, dbuf, iof); 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() 704 fct_send_cmd_done(xch->xch_cmd, fc_st, iof); 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() 876 fct_send_cmd_done(xch->xch_cmd, fc_st, iof); in fcoet_process_sol_ct_rsp() 887 uint32_t iof; in fcoet_send_sol_fcp_data_done() local [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmdsub.c | 633 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 D | ex_temp.c | 212 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/uts/common/sys/ |
H A D | stmf.h | 385 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 D | vnode.h | 1117 #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/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 5029 stmf_data_xfer_done(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t iof) in stmf_data_xfer_done() argument 5040 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() 5170 stmf_send_status_done(scsi_task_t *task, stmf_status_t s, uint32_t iof) in stmf_send_status_done() argument 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() 5359 stmf_task_lu_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof) in stmf_task_lu_aborted() argument 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() [all …]
|
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 1732 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 D | fct.c | 1963 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 D | qlt.c | 6796 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()
|