Lines Matching refs:IOWRITE
497 if(!(status&IOWRITE)) in sh_iostream()
512 if(!(status&IOWRITE)) in sh_iostream()
740 if(!(mode&IOWRITE) && ((flags==O_WRONLY) || (flags==O_RDWR))) in sh_open()
764 mode = IOWRITE; in sh_open()
766 mode = (IOREAD|IOWRITE); in sh_open()
811 sh.fdstatus[pv[1]] = IONOSEEK|IOWRITE; in sh_pipe()
1599 if(mode==W_OK && (flags&IOWRITE)) in sh_ioaccess()
1799 if(!(n&(IOREAD|IOWRITE))) in sh_iocheckfd()
1807 n |= IOWRITE; in sh_iocheckfd()
1812 n |= (IOREAD|IOWRITE); in sh_iocheckfd()
1835 n |= IOREAD|IOWRITE; in sh_iocheckfd()
1992 flag = (mode&SF_WRITE)?IOWRITE:0; in sftrack()
2361 if(mode==SF_WRITE && !(n&IOWRITE)) in sh_iogetiop()
2390 if(status&IOWRITE) in sh_fd2sfio()