• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/sys/

Lines Matching refs:uio_t

99  * IO direction for uio_t.
100 * UIO_READ - data moves into iovec(s) associated with uio_t
101 * UIO_WRITE - data moves out of iovec(s) associated with uio_t
141 * uio_create - create an uio_t.
142 * Space is allocated to hold up to a_iovcount number of iovecs. The uio_t
146 uio_t uio_create( int a_iovcount, /* max number of iovecs */
152 * uio_reset - reset an uio_t.
153 * Reset the given uio_t to initial values. The uio_t is not fully initialized
158 void uio_reset( uio_t a_uio,
164 * uio_duplicate - allocate a new uio and make a copy of the given uio_t.
167 uio_t uio_duplicate( uio_t a_uio );
171 * uio_free - free a uio_t allocated via uio_create.
173 void uio_free( uio_t a_uio );
176 * uio_addiov - add an iovec to the given uio_t. You may call this up to
180 int uio_addiov( uio_t a_uio, user_addr_t a_baseaddr, user_size_t a_length );
183 * uio_getiov - get iovec data associated with the given uio_t. Use
184 * a_index to iterate over each iovec (0 to (uio_iovcnt(uio_t) - 1)).
186 * returns -1 when a_index is out of range or invalid uio_t.
189 int uio_getiov( uio_t a_uio,
195 * uio_update - update the given uio_t for a_count of completed IO.
199 void uio_update( uio_t a_uio, user_size_t a_count );
202 * uio_resid - return the residual IO value for the given uio_t
204 user_ssize_t uio_resid( uio_t a_uio );
207 * uio_setresid - set the residual IO value for the given uio_t
209 void uio_setresid( uio_t a_uio, user_ssize_t a_value );
212 * uio_iovcnt - return count of active iovecs for the given uio_t
214 int uio_iovcnt( uio_t a_uio );
217 * uio_offset - return the current offset value for the given uio_t
219 off_t uio_offset( uio_t a_uio );
222 * uio_setoffset - set the current offset value for the given uio_t
224 void uio_setoffset( uio_t a_uio, off_t a_offset );
227 * uio_rw - return the read / write flag for the given uio_t
229 int uio_rw( uio_t a_uio );
232 * uio_setrw - set the read / write flag for the given uio_t
234 void uio_setrw( uio_t a_uio, int a_value );
240 int uio_isuserspace( uio_t a_uio );
244 * with the given uio_t. May return 0.
246 user_addr_t uio_curriovbase( uio_t a_uio );
250 * with the given uio_t.
252 user_size_t uio_curriovlen( uio_t a_uio );