Home
last modified time | relevance | path

Searched refs:aiocb (Results 1 – 7 of 7) sorted by relevance

/dragonfly/sys/sys/
H A Daio.h77 typedef struct aiocb { struct
96 int aio_read(struct aiocb *); argument
101 int aio_write(struct aiocb *);
109 int lio_listio(int, struct aiocb * __restrict const[__restrict_arr], int,
117 int aio_error(const struct aiocb *);
125 ssize_t aio_return(struct aiocb *);
130 int aio_cancel(int, struct aiocb *);
135 int aio_suspend(const struct aiocb * const[], int, const struct timespec *);
140 int aio_fsync(int, struct aiocb *);
142 int aio_waitcomplete(struct aiocb **, struct timespec *);
H A Dsysproto.h761 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
764 struct aiocb *const * aiocbp; char aiocbp_[PAD_(struct aiocb *const *)];
770 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
773 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
776 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
779 struct aiocb * aiocbp; char aiocbp_[PAD_(struct aiocb *)];
783 struct aiocb *const * acb_list; char acb_list_[PAD_(struct aiocb *const *)];
934 struct aiocb ** aiocbp; char aiocbp_[PAD_(struct aiocb **)];
/dragonfly/lib/librt/
H A Daio.c98 aio_read(struct aiocb *ap) in aio_read()
118 aio_write(struct aiocb *ap) in aio_write()
138 aio_fsync(int op, struct aiocb *ap) in aio_fsync()
155 lio_listio(int mode, struct aiocb * __restrict const apv[__restrict_arr], in lio_listio()
199 aio_error(const struct aiocb *ap) in aio_error()
211 aio_return(struct aiocb *ap) in aio_return()
217 aio_cancel(int fildes, struct aiocb *aiocbp) in aio_cancel()
230 aio_suspend(const struct aiocb *const list[], int nent, const struct timespec *timo) in aio_suspend()
/dragonfly/share/examples/scsi_target/
H A Dscsi_target.h77 struct aiocb aiocb; /* AIO descriptor for this CTIO */ member
H A Dscsi_cmds.c524 c_descr->aiocb.aio_offset = c_descr->offset; in start_io()
525 c_descr->aiocb.aio_nbytes = ctio->dxfer_len; in start_io()
530 if (aio_read(&c_descr->aiocb) < 0) in start_io()
569 if (aio_return(&c_descr->aiocb) < 0) { in tcmd_rdwr_done()
603 if (aio_write(&c_descr->aiocb) < 0) in tcmd_rdwr_done()
H A Dscsi_target.c210 struct aiocb aio, *aiop; in main()
828 c_descr->aiocb.aio_buf = c_descr->buf; in get_ctio()
829 c_descr->aiocb.aio_fildes = file_fd; in get_ctio()
830 se = &c_descr->aiocb.aio_sigevent; in get_ctio()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_syscalls.c102 extern int __sys_aio_suspend(const struct aiocb * const[], int,
152 int _aio_suspend(const struct aiocb * const iocbs[], int,
184 _aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct in _aio_suspend()