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

12

/freebsd-current/sys/sys/
H A Daio.h94 * Private members for aiocb -- don't access
106 typedef struct aiocb { struct
150 struct aiocb *ujob; /* (*) pointer in userspace of aiocb */
152 struct aiocb uaiocb; /* (*) copy of user I/O control block */
230 int aio_read(struct aiocb *);
232 int aio_readv(struct aiocb *);
238 int aio_write(struct aiocb *);
240 int aio_writev(struct aiocb *);
249 int lio_listio(int, struct aiocb *__restric
[all...]
H A Dsysproto.h696 char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
699 char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
703 char acb_list_l_[PADL_(struct aiocb * const *)]; struct aiocb * const * acb_list; char acb_list_r_[PADR_(struct aiocb * const *)];
777 char aiocbp_l_[PADL_(struct aiocb *)]; struc
[all...]
/freebsd-current/lib/librt/
H A Daio.c50 typedef void (*aio_func)(union sigval val, struct aiocb *iocb);
52 extern int __sys_aio_read(struct aiocb *iocb);
53 extern int __sys_aio_readv(struct aiocb *iocb);
54 extern int __sys_aio_write(struct aiocb *iocb);
55 extern int __sys_aio_writev(struct aiocb *iocb);
56 extern ssize_t __sys_aio_waitcomplete(struct aiocb **iocbp, struct timespec *timeout);
57 extern ssize_t __sys_aio_return(struct aiocb *iocb);
58 extern int __sys_aio_error(struct aiocb *iocb);
59 extern int __sys_aio_fsync(int op, struct aiocb *iocb);
60 extern int __sys_lio_listio(int mode, struct aiocb * cons
[all...]
/freebsd-current/lib/libc/sys/
H A Daio_suspend.c40 aio_suspend(const struct aiocb * const iocbs[], int niocb,
/freebsd-current/tests/sys/aio/
H A Dlio_test.c67 struct aiocb *aiocbs[2];
68 struct aiocb **list[2];
96 aiocbs[i] = calloc(ios_per_call, sizeof(struct aiocb));
98 list[i] = calloc(ios_per_call, sizeof(struct aiocb*));
129 struct aiocb *list = NULL;
138 struct aiocb *list = NULL;
150 struct aiocb *list = NULL;
178 struct aiocb *list = NULL;
197 struct aiocb *list = NULL;
217 struct aiocb write_c
[all...]
H A Daio_kqueue_test.c58 struct aiocb **iocb, *kq_iocb;
79 iocb = calloc(max_queue_per_proc, sizeof(struct aiocb*));
106 iocb[i] = (struct aiocb *)calloc(1,
107 sizeof(struct aiocb));
182 ((struct aiocb*)(kq_returned.ident))->aio_sigevent.sigev_notify_kevent_flags);
H A Daio_test.c83 typedef ssize_t (*completion)(struct aiocb*);
155 poll(struct aiocb *aio)
180 poll_signaled(struct aiocb *aio)
232 suspend(struct aiocb *aio)
234 const struct aiocb *const iocbs[] = {aio};
245 waitcomplete(struct aiocb *aio)
247 struct aiocb *aiop;
277 poll_kqueue(struct aiocb *aio)
303 struct aiocb aio;
335 struct aiocb ai
[all...]
H A Dlio_kqueue_test.c57 struct aiocb *iocb[MAX_IOCBS];
58 struct aiocb **lio[LIO_MAX], **kq_lio;
107 malloc(sizeof(struct aiocb *) * iocbs_per_lio);
111 calloc(1, sizeof(struct aiocb));
/freebsd-current/lib/libc/gen/
H A Daio_read2.c36 aio_read2(struct aiocb *iocb, int flags)
H A Daio_write2.c36 aio_write2(struct aiocb *iocb, int flags)
/freebsd-current/tools/regression/aio/aiop/
H A Daiop.c104 set_aio(struct aiocb *a, iot_t iot, int fd, off_t offset, int size, char *buf)
125 struct aiocb *aio;
131 struct aiocb *a;
190 aio = calloc(aio_len, sizeof(struct aiocb));
/freebsd-current/share/examples/scsi_target/
H A Dscsi_target.h76 struct aiocb aiocb; /* AIO descriptor for this CTIO */ member in struct:ctio_descr
H A Dscsi_cmds.c600 c_descr->aiocb.aio_offset = c_descr->offset;
601 c_descr->aiocb.aio_nbytes = ctio->dxfer_len;
612 if (lseek(c_descr->aiocb.aio_fildes,
613 c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
617 if (read(c_descr->aiocb.aio_fildes,
618 (void *)c_descr->aiocb.aio_buf,
628 if (aio_read(&c_descr->aiocb) < 0) {
672 if (!notaio && aio_return(&c_descr->aiocb) < 0) {
706 if (aio_write(&c_descr->aiocb) < 0) {
710 if (aio_read(&c_descr->aiocb) <
[all...]
H A Dscsi_target.c262 struct aiocb aio, *aiop;
884 c_descr->aiocb.aio_buf = c_descr->buf;
885 c_descr->aiocb.aio_fildes = file_fd;
886 se = &c_descr->aiocb.aio_sigevent;
/freebsd-current/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c753 struct aiocb aiocb; local
754 struct aiocb const *aiocb_array[] = { &aiocb };
756 bzero(&aiocb, sizeof(aiocb));
757 aiocb.aio_fildes = d;
758 aiocb.aio_buf = (void *)buf;
759 aiocb.aio_nbytes = nbytes;
760 if (aio_write(&aiocb) <
840 struct aiocb aiocb; local
[all...]
/freebsd-current/sys/kern/
H A Dvfs_aio.c295 int (*aio_copyin)(struct aiocb *ujob, struct kaiocb *kjob, int ty);
296 long (*fetch_status)(struct aiocb *ujob);
297 long (*fetch_error)(struct aiocb *ujob);
298 int (*store_status)(struct aiocb *ujob, long status);
299 int (*store_error)(struct aiocb *ujob, long error);
300 int (*store_kernelinfo)(struct aiocb *ujob, long jobref);
301 int (*store_aiocb)(struct aiocb **ujobp, struct aiocb *ujob);
319 int aio_aqueue(struct thread *td, struct aiocb *ujob,
343 * aiocb asyn
[all...]
/freebsd-current/lib/libsys/
H A D_libsys.h24 struct aiocb;
215 typedef int (__sys_aio_read_t)(struct aiocb *);
216 typedef int (__sys_aio_write_t)(struct aiocb *);
217 typedef int (__sys_lio_listio_t)(int, struct aiocb * const *, int, struct sigevent *);
236 typedef ssize_t (__sys_aio_return_t)(struct aiocb *);
237 typedef int (__sys_aio_suspend_t)(const struct aiocb * const *, int, const struct timespec *);
238 typedef int (__sys_aio_cancel_t)(int, struct aiocb *);
239 typedef int (__sys_aio_error_t)(struct aiocb *);
272 typedef ssize_t (__sys_aio_waitcomplete_t)(struct aiocb **, struct timespec *);
352 typedef int (__sys_aio_fsync_t)(int, struct aiocb *);
[all...]
/freebsd-current/tests/sys/fs/fusefs/
H A Dfsyncdir.cc93 struct aiocb iocb, *piocb;
H A Dfsync.cc101 struct aiocb iocb, *piocb;
H A Dread.cc167 struct aiocb iocb, *piocb;
202 struct aiocb iocb0, iocb1;
283 struct aiocb iocb0, iocb1;
/freebsd-current/lib/libc/include/
H A Dlibc_private.h327 struct aiocb;
/freebsd-current/usr.sbin/diskinfo/
H A Ddiskinfo.c573 struct aiocb aios[NAIO], *aiop;
662 struct aiocb aios[MAXIOS];
665 struct aiocb *aiop;
/freebsd-current/tests/sys/kern/
H A Dunix_dgram.c315 struct aiocb aio = {
/freebsd-current/tools/test/gpioevents/
H A Dgpioevents.c384 struct aiocb iocb;
/freebsd-current/lib/libthr/thread/
H A Dthr_syscalls.c130 __thr_aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct

Completed in 316 milliseconds

12