Home
last modified time | relevance | path

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

/xnu-10002.81.5/bsd/sys/
H A Duio_internal.h103 __private_extern__ uio_t uio_createwithbuffer( int a_iovcount, off_t a_offset, int a_spacetype, in…
160 #define UIO_SIZEOF_IOVS( a_iovcount ) \ argument
161 ( MAX(sizeof(struct user_iovec), sizeof(struct kern_iovec)) * (a_iovcount) )
170 #define UIO_SIZEOF( a_iovcount ) \ argument
172 + UIO_SIZEOF_IOVS(a_iovcount) )
H A Duio.h135 uio_t uio_create( int a_iovcount, /* max number of iovecs */
/xnu-10002.81.5/bsd/kern/
H A Dkern_subr.c707 int a_iovcount, /* number of iovecs */ in uio_init() argument
714 assert(a_iovcount >= 0 && a_iovcount <= UIO_MAXIOV); in uio_init()
742 uio->uio_max_iovs = a_iovcount; in uio_init()
749 uio_alloc_iov_array(int a_spacetype, size_t a_iovcount) in uio_alloc_iov_array() argument
752 return kalloc_type(struct kern_iovec, a_iovcount, Z_WAITOK | Z_ZERO); in uio_alloc_iov_array()
755 size_t bytes = UIO_SIZEOF_IOVS(a_iovcount); in uio_alloc_iov_array()
760 uio_free_iov_array(int a_spacetype, void *iovs, size_t a_iovcount) in uio_free_iov_array() argument
763 kfree_type(struct kern_iovec, a_iovcount, iovs); in uio_free_iov_array()
765 size_t bytes = UIO_SIZEOF_IOVS(a_iovcount); in uio_free_iov_array()
777 uio_create( int a_iovcount, /* number of iovecs */ in uio_create() argument
[all …]