Lines Matching defs:iop
61 #define SET_IONOLOCK(iop) ((iop)->_flag |= _IONOLOCK) argument
62 #define CLEAR_IONOLOCK(iop) ((iop)->_flag &= ~_IONOLOCK) argument
63 #define GET_IONOLOCK(iop) ((iop)->_flag & _IONOLOCK) argument
64 #define SET_BYTE_MODE(iop) ((iop)->_flag |= _BYTE_MODE_FLAG) argument
65 #define CLEAR_BYTE_MODE(iop) ((iop)->_flag &= ~_BYTE_MODE_FLAG) argument
66 #define GET_BYTE_MODE(iop) ((iop)->_flag & _BYTE_MODE_FLAG) argument
67 #define SET_WC_MODE(iop) ((iop)->_flag |= _WC_MODE_FLAG) argument
68 #define CLEAR_WC_MODE(iop) ((iop)->_flag &= ~_WC_MODE_FLAG) argument
69 #define GET_WC_MODE(iop) ((iop)->_flag & _WC_MODE_FLAG) argument
70 #define GET_NO_MODE(iop) (!((iop)->_flag & \ argument
72 #define SET_SEEKABLE(iop) ((iop)->_flag |= _SEEKABLE) argument
73 #define CLEAR_SEEKABLE(iop) ((iop)->_flag &= ~_SEEKABLE) argument
74 #define GET_SEEKABLE(iop) ((iop)->_flag & _SEEKABLE) argument
78 #define SET_IONOLOCK(iop) ((iop)->__ionolock = 1) argument
79 #define CLEAR_IONOLOCK(iop) ((iop)->__ionolock = 0) argument
80 #define GET_IONOLOCK(iop) ((iop)->__ionolock) argument
81 #define SET_BYTE_MODE(iop) ((iop)->__orientation |= _BYTE_MODE_FLAG) argument
82 #define CLEAR_BYTE_MODE(iop) ((iop)->__orientation &= ~_BYTE_MODE_FLAG) argument
83 #define GET_BYTE_MODE(iop) ((iop)->__orientation & _BYTE_MODE_FLAG) argument
84 #define SET_WC_MODE(iop) ((iop)->__orientation |= _WC_MODE_FLAG) argument
85 #define CLEAR_WC_MODE(iop) ((iop)->__orientation &= ~_WC_MODE_FLAG) argument
86 #define GET_WC_MODE(iop) ((iop)->__orientation & _WC_MODE_FLAG) argument
87 #define GET_NO_MODE(iop) (!((iop)->__orientation & \ argument
89 #define SET_SEEKABLE(iop) ((iop)->__seekable = 1) argument
90 #define CLEAR_SEEKABLE(iop) ((iop)->__seekable = 0) argument
91 #define GET_SEEKABLE(iop) ((iop)->__seekable) argument
94 #define STDIOP(iop) ((iop) >= &_iob[0] && (iop) < &_iob[_NFILE]) argument
97 #define IOPIND(iop) ((iop) - &_iob[0]) argument
128 #define _bufend(iop) _realbufend(iop) argument
153 #define _realbufend(iop) ((iop)->_end) argument
183 #define GET_FD(iop) ((iop)->_file) argument
184 #define SET_FILE(iop, fd) ((iop)->_file = (fd)) argument
186 #define GET_FD(iop) \ argument
188 #define SET_FILE(iop, fd) (iop)->_magic = (fd); (iop)->__extendedfd = 0 argument
247 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) || \ argument
254 #define IOB_LCK(iop) (&((iop)->_lock)) argument
256 #define IOB_LCK(iop) (STDIOP(iop) ? &_xftab[IOPIND(iop)]._lock \ argument