Home
last modified time | relevance | path

Searched refs:a_iovcount (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/bsd/sys/
H A Duio_internal.h111 __private_extern__ uio_t uio_createwithbuffer( int a_iovcount, off_t a_offset, int a_spacetype, in…
188 #define UIO_SIZEOF_IOVS( a_iovcount ) \ argument
189 ( MAX(sizeof(struct user_iovec), sizeof(struct kern_iovec)) * (a_iovcount) )
198 #define UIO_SIZEOF( a_iovcount ) \ argument
200 + UIO_SIZEOF_IOVS(a_iovcount) )
H A Duio.h142 uio_t uio_create( int a_iovcount, /* max number of iovecs */
/xnu-11215/bsd/kern/
H A Dkern_subr.c848 int a_iovcount, /* number of iovecs */ in uio_init() argument
854 assert(a_iovcount >= 0 && a_iovcount <= UIO_MAXIOV); in uio_init()
879 uio->uio_max_iovs = a_iovcount; in uio_init()
886 uio_alloc_iov_array(int a_spacetype, size_t a_iovcount) in uio_alloc_iov_array() argument
892 size_t bytes = UIO_SIZEOF_IOVS(a_iovcount); in uio_alloc_iov_array()
900 kfree_type(struct kern_iovec, a_iovcount, iovs); in uio_free_iov_array()
902 size_t bytes = UIO_SIZEOF_IOVS(a_iovcount); in uio_free_iov_array()
922 if (a_iovcount < 0 || a_iovcount > UIO_MAXIOV) { in uio_create()
959 if (a_iovcount < 0 || a_iovcount > UIO_MAXIOV) { in uio_createwithbuffer()
963 if (a_buffer_size < UIO_SIZEOF(a_iovcount)) { in uio_createwithbuffer()
[all …]