Lines Matching defs:iop
70 #define SET_IONOLOCK(iop) ((iop)->_flag |= _IONOLOCK) argument
71 #define CLEAR_IONOLOCK(iop) ((iop)->_flag &= ~_IONOLOCK) argument
72 #define GET_IONOLOCK(iop) ((iop)->_flag & _IONOLOCK) argument
73 #define SET_BYTE_MODE(iop) ((iop)->_flag |= _BYTE_MODE_FLAG) argument
74 #define CLEAR_BYTE_MODE(iop) ((iop)->_flag &= ~_BYTE_MODE_FLAG) argument
75 #define GET_BYTE_MODE(iop) ((iop)->_flag & _BYTE_MODE_FLAG) argument
76 #define SET_WC_MODE(iop) ((iop)->_flag |= _WC_MODE_FLAG) argument
77 #define CLEAR_WC_MODE(iop) ((iop)->_flag &= ~_WC_MODE_FLAG) argument
78 #define GET_WC_MODE(iop) ((iop)->_flag & _WC_MODE_FLAG) argument
79 #define GET_NO_MODE(iop) (!((iop)->_flag & \ argument
81 #define SET_SEEKABLE(iop) ((iop)->_flag |= _SEEKABLE) argument
82 #define CLEAR_SEEKABLE(iop) ((iop)->_flag &= ~_SEEKABLE) argument
83 #define GET_SEEKABLE(iop) ((iop)->_flag & _SEEKABLE) argument
87 #define SET_IONOLOCK(iop) ((iop)->__ionolock = 1) argument
88 #define CLEAR_IONOLOCK(iop) ((iop)->__ionolock = 0) argument
89 #define GET_IONOLOCK(iop) ((iop)->__ionolock) argument
90 #define SET_BYTE_MODE(iop) ((iop)->__orientation |= _BYTE_MODE_FLAG) argument
91 #define CLEAR_BYTE_MODE(iop) ((iop)->__orientation &= ~_BYTE_MODE_FLAG) argument
92 #define GET_BYTE_MODE(iop) ((iop)->__orientation & _BYTE_MODE_FLAG) argument
93 #define SET_WC_MODE(iop) ((iop)->__orientation |= _WC_MODE_FLAG) argument
94 #define CLEAR_WC_MODE(iop) ((iop)->__orientation &= ~_WC_MODE_FLAG) argument
95 #define GET_WC_MODE(iop) ((iop)->__orientation & _WC_MODE_FLAG) argument
96 #define GET_NO_MODE(iop) (!((iop)->__orientation & \ argument
98 #define SET_SEEKABLE(iop) ((iop)->__seekable = 1) argument
99 #define CLEAR_SEEKABLE(iop) ((iop)->__seekable = 0) argument
100 #define GET_SEEKABLE(iop) ((iop)->__seekable) argument
103 #define STDIOP(iop) ((iop) >= &_iob[0] && (iop) < &_iob[_NFILE]) argument
106 #define IOPIND(iop) ((iop) - &_iob[0]) argument
137 #define _bufend(iop) _realbufend(iop) argument
162 #define _realbufend(iop) ((iop)->_end) argument
192 #define SET_FILE(iop, fd) ((iop)->_file = (fd)) argument
194 #define SET_FILE(iop, fd) (iop)->_magic = (fd); (iop)->__extendedfd = 0 argument
253 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) || \ argument
260 #define IOB_LCK(iop) (&((iop)->_lock)) argument
262 #define IOB_LCK(iop) (STDIOP(iop) ? &_xftab[IOPIND(iop)]._lock \ argument