Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libshell/common/sh/
H A Ddeparse.c420 register int iof,iof2; in p_redirect() local
423 iof=iop->iofile; in p_redirect()
432 *cp = '0'+(iof&IOUFD); in p_redirect()
433 if(iof&IOPUT) in p_redirect()
447 if(iof&IOLSEEK) in p_redirect()
450 if(iof&IOARITH) in p_redirect()
453 else if(iof&IOMOV) in p_redirect()
455 else if(iof&(IORDW|IOAPP)) in p_redirect()
457 else if(iof&IOCLOB) in p_redirect()
468 if(iof&IOSTRIP) in p_redirect()
[all …]
H A Dparse.c1544 register int iof = lexp->digits, token=lexp->token; in inout() local
1553 iof = 0; in inout()
1559 iof |= (IODOC|IORAW); in inout()
1561 iof |= IOMOV; in inout()
1563 iof |= IORDW|IOREWRITE; in inout()
1565 iof |= IORDW; in inout()
1569 iof |= IOLSEEK; in inout()
1571 iof |= IOCOPY; in inout()
1578 if(iof<0) in inout()
1581 iof = 1; in inout()
[all …]
H A Dio.c964 register int fd, iof; in sh_redirect() local
979 iof=iop->iofile; in sh_redirect()
980 fn = (iof&IOUFD); in sh_redirect()
983 io_op[0] = '0'+(iof&IOUFD); in sh_redirect()
984 if(iof&IOPUT) in sh_redirect()
998 if(!(iof&IORAW)) in sh_redirect()
1000 if(iof&IOLSEEK) in sh_redirect()
1006 fname=sh_macpat(shp,ap,(iof&IOARITH)?ARG_ARITH:ARG_EXP); in sh_redirect()
1008 else if(iof&IOPROCSUB) in sh_redirect()
1012 if(iof&IOPUT) in sh_redirect()
[all …]
/titanic_50/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()
/titanic_50/usr/src/lib/libast/common/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.h920 #define SFDISC(f,dc,iof) \ argument
925 while(d && !(d->iof)) d = d->disc; \
/titanic_50/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()
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 …]
/titanic_50/usr/src/uts/common/sys/
H A Dstmf.h377 uint32_t iof);
378 void stmf_send_status_done(scsi_task_t *task, stmf_status_t s, uint32_t iof);
381 void stmf_task_lu_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof);
382 void stmf_task_lport_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof);
H A Dvnode.h1035 #define VOP_READ(vp, uiop, iof, cr, ct) \ argument
1036 fop_read(vp, uiop, iof, cr, ct)
1037 #define VOP_WRITE(vp, uiop, iof, cr, ct) \ argument
1038 fop_write(vp, uiop, iof, cr, ct)
/titanic_50/usr/src/cmd/vi/port/
H A Dex_cmdsub.c632 FILE *iof; local
681 iof = fopen((char *)fn, "r");
682 if (iof == NULL)
685 setbuf(iof, (char *)iofbuf);
686 fstat64(fileno(iof), &sbuf);
688 if (top == 0L || iof == NULL)
698 fseeko64(iof, mid, 0);
701 if(fgets((char *)linebuf, sizeof linebuf, iof)==NULL)
704 if(fgets((char *)linebuf, sizeof linebuf, iof)==NULL)
743 fclose(iof);
[all …]
H A Dex_temp.c212 getblock(atl, iof) in getblock() argument
214 int iof;
239 ichanged |= iof;
244 ichang2 |= iof;
250 if (iof == READ) {
/titanic_50/usr/src/uts/common/avs/ns/
H A Dcontract.h169 #define VOP_READ(vp, uiop, iof, cr) ((void)0) argument
170 #define VOP_WRITE(vp, uiop, iof, cr) ((void)0) argument
/titanic_50/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)
/titanic_50/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c4644 stmf_data_xfer_done(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t iof) in stmf_data_xfer_done() argument
4655 stmf_task_audit(itask, TE_XFER_DONE, iof, dbuf); in stmf_data_xfer_done()
4679 if (iof & STMF_IOF_LPORT_DONE) { in stmf_data_xfer_done()
4789 stmf_send_status_done(scsi_task_t *task, stmf_status_t s, uint32_t iof) in stmf_send_status_done() argument
4797 stmf_task_audit(itask, TE_SEND_STATUS_DONE, iof, NULL); in stmf_send_status_done()
4807 if (iof & STMF_IOF_LPORT_DONE) { in stmf_send_status_done()
4992 stmf_task_lu_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof) in stmf_task_lu_aborted() argument
4998 stmf_task_audit(itask, TE_TASK_LU_ABORTED, iof, NULL); in stmf_task_lu_aborted()
5004 } else if ((iof & STMF_IOF_LU_DONE) == 0) { in stmf_task_lu_aborted()
5007 "%p, s=%llx, iof=%x", (void *)task, st, iof); in stmf_task_lu_aborted()
[all …]
/titanic_50/usr/src/cmd/ed/
H A Ded.c1715 getblock(long atl, long iof) in getblock() argument
1731 ichanged |= iof; in getblock()
1736 if (iof == READ) { in getblock()
/titanic_50/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.c4422 uint32_t iof = 0; in qlt_handle_ctio_completion() local
4494 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
4498 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
4505 iof = FCT_IOF_FCA_DONE; in qlt_handle_ctio_completion()
4528 fct_scsi_data_xfer_done(cmd, dbuf, iof); in qlt_handle_ctio_completion()
4535 fct_send_response_done(cmd, fc_st, iof); in qlt_handle_ctio_completion()
4539 fct_cmd_fca_aborted(cmd, fc_st, iof); in qlt_handle_ctio_completion()
/titanic_50/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c1944 uint32_t iof = 0; in fct_scsi_data_xfer_done() local
1961 iof = STMF_IOF_LPORT_DONE; in fct_scsi_data_xfer_done()
1967 stmf_data_xfer_done((scsi_task_t *)cmd->cmd_specific, dbuf, iof); in fct_scsi_data_xfer_done()