Searched refs:aiocb (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Daio.h70 struct aiocb { struct
182 struct aiocb * aiocbp );
185 * Return the error status associated with the aiocb structure referenced by the
191 int aio_error( const struct aiocb * aiocbp );
195 * the file descriptor aio_fildes member of the aiocb structure referenced by the
209 struct aiocb * aiocbp );
225 int aio_read( struct aiocb * aiocbp );
228 * Return the return status associated with the aiocb structure referenced by
234 * of a given asynchronous operation; thereafter, if the same aiocb structure
236 * When the aiocb structur
[all...]
H A Daio_kern.h54 struct user_aiocb aiocb; /* copy of aiocb from user land */ member in struct:aio_workq_entry
/xnu-2782.1.97/bsd/kern/
H A Dkern_aio.c543 /* the aiocb causes unspecified results. We return EBADF in */
757 * held for async IO call associated with the given aiocb pointer.
956 (aiocbp == USER_ADDR_NULL && fd == entryp->aiocb.aio_fildes) ) {
1272 /* copyin our aiocb pointers from list */
1424 if (entryp->aiocb.aio_reqprio < 0)
1425 entryp->aiocb.aio_reqprio = 0;
1426 if (entryp->aiocb.aio_reqprio > 0) {
1427 entryp->priority -= entryp->aiocb.aio_reqprio;
1450 * The caller gets error and return status for each aiocb in the list
1567 entryp->aiocb
[all...]
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c4698 struct aiocb * my_aiocbp;
4703 struct aiocb * my_aiocb_list[ AIO_TESTS_OUR_COUNT ];
4704 struct aiocb my_aiocbs[ AIO_TESTS_OUR_COUNT ];
4921 my_err = aio_suspend( (const struct aiocb *const*) my_aiocb_list, AIO_TESTS_OUR_COUNT, &my_timeout );

Completed in 38 milliseconds