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

12

/freebsd-13-stable/sys/sys/
H A Daio.h85 * Private members for aiocb -- don't access
97 typedef struct aiocb { struct
140 struct aiocb *ujob; /* (*) pointer in userspace of aiocb */
142 struct aiocb uaiocb; /* (*) copy of user I/O control block */
220 int aio_read(struct aiocb *);
222 int aio_readv(struct aiocb *);
228 int aio_write(struct aiocb *);
230 int aio_writev(struct aiocb *);
239 int lio_listio(int, struct aiocb *__restric
[all...]
H A Dsysproto.h706 char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
709 char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)];
713 char acb_list_l_[PADL_(struct aiocb * const *)]; struct aiocb * const * acb_list; char acb_list_r_[PADR_(struct aiocb * const *)];
787 char aiocbp_l_[PADL_(struct aiocb *)]; struc
[all...]
/freebsd-13-stable/lib/libc/sys/
H A Daio_suspend.c44 aio_suspend(const struct aiocb * const iocbs[], int niocb,
48 return (((int (*)(const struct aiocb * const[], int,
/freebsd-13-stable/lib/librt/
H A Daio.c51 typedef void (*aio_func)(union sigval val, struct aiocb *iocb);
53 extern int __sys_aio_read(struct aiocb *iocb);
54 extern int __sys_aio_write(struct aiocb *iocb);
55 extern ssize_t __sys_aio_waitcomplete(struct aiocb **iocbp, struct timespec *timeout);
56 extern ssize_t __sys_aio_return(struct aiocb *iocb);
57 extern int __sys_aio_error(struct aiocb *iocb);
58 extern int __sys_aio_fsync(int op, struct aiocb *iocb);
59 extern int __sys_lio_listio(int mode, struct aiocb * const list[], int nent,
67 f(sn->sn_value, (struct aiocb *)sn->sn_id);
99 aio_io(struct aiocb *ioc
[all...]
/freebsd-13-stable/tests/sys/aio/
H A Dlio_test.c69 struct aiocb *aiocbs[2];
70 struct aiocb **list[2];
98 aiocbs[i] = calloc(ios_per_call, sizeof(struct aiocb));
100 list[i] = calloc(ios_per_call, sizeof(struct aiocb*));
131 struct aiocb *list = NULL;
143 struct aiocb *list = NULL;
171 struct aiocb *list = NULL;
190 struct aiocb *list = NULL;
210 struct aiocb sync_cb, mlock_cb, writev_cb, readv_cb;
211 struct aiocb *lis
[all...]
H A Daio_kqueue_test.c60 struct aiocb **iocb, *kq_iocb;
81 iocb = calloc(max_queue_per_proc, sizeof(struct aiocb*));
108 iocb[i] = (struct aiocb *)calloc(1,
109 sizeof(struct aiocb));
185 ((struct aiocb*)(kq_returned.ident))->aio_sigevent.sigev_notify_kevent_flags);
H A Dlio_kqueue_test.c59 struct aiocb *iocb[MAX_IOCBS];
60 struct aiocb **lio[LIO_MAX], **kq_lio;
109 malloc(sizeof(struct aiocb *) * iocbs_per_lio);
113 calloc(1, sizeof(struct aiocb));
H A Daio_test.c82 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;
262 struct aiocb aio;
294 struct aiocb aio;
332 struct aiocb ai
[all...]
/freebsd-13-stable/share/examples/scsi_target/
H A Dscsi_target.h78 struct aiocb aiocb; /* AIO descriptor for this CTIO */ member in struct:ctio_descr
H A Dscsi_cmds.c606 c_descr->aiocb.aio_offset = c_descr->offset;
607 c_descr->aiocb.aio_nbytes = ctio->dxfer_len;
618 if (lseek(c_descr->aiocb.aio_fildes,
619 c_descr->aiocb.aio_offset, SEEK_SET) < 0) {
623 if (read(c_descr->aiocb.aio_fildes,
624 (void *)c_descr->aiocb.aio_buf,
634 if (aio_read(&c_descr->aiocb) < 0) {
678 if (!notaio && aio_return(&c_descr->aiocb) < 0) {
712 if (aio_write(&c_descr->aiocb) < 0) {
716 if (aio_read(&c_descr->aiocb) <
[all...]
H A Dscsi_target.c262 struct aiocb aio, *aiop;
882 c_descr->aiocb.aio_buf = c_descr->buf;
883 c_descr->aiocb.aio_fildes = file_fd;
884 se = &c_descr->aiocb.aio_sigevent;
/freebsd-13-stable/tools/regression/aio/aiop/
H A Daiop.c107 set_aio(struct aiocb *a, iot_t iot, int fd, off_t offset, int size, char *buf)
128 struct aiocb *aio;
134 struct aiocb *a;
193 aio = calloc(aio_len, sizeof(struct aiocb));
/freebsd-13-stable/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c756 struct aiocb aiocb; local
757 struct aiocb const *aiocb_array[] = { &aiocb };
759 bzero(&aiocb, sizeof(aiocb));
760 aiocb.aio_fildes = d;
761 aiocb.aio_buf = (void *)buf;
762 aiocb.aio_nbytes = nbytes;
763 if (aio_write(&aiocb) <
843 struct aiocb aiocb; local
[all...]
/freebsd-13-stable/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,
344 * aiocb asyn
[all...]
/freebsd-13-stable/lib/libc/include/
H A Dlibc_private.h311 struct aiocb;
329 int __sys_aio_suspend(const struct aiocb * const[], int,
/freebsd-13-stable/contrib/apr/poll/unix/
H A Dz_asio.c96 struct aiocb a;
175 static int asyncio(struct aiocb *a)
186 AIO(sizeof(struct aiocb), a, &rv, &errno, __err2ad());
187 DBG2(4, "BPX4AIO aiocb %p rv %d\n",
487 struct aiocb cancel_a = {0};
517 cancel_a.aio_buf = &elem->a; /* point to original aiocb */
522 /* we want the original aiocb to show up on the pollset message queue
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dfsyncdir.cc95 struct aiocb iocb, *piocb;
H A Dfsync.cc103 struct aiocb iocb, *piocb;
H A Dread.cc117 struct aiocb iocb, *piocb;
152 struct aiocb iocb0, iocb1;
233 struct aiocb iocb0, iocb1;
/freebsd-13-stable/usr.sbin/diskinfo/
H A Ddiskinfo.c568 struct aiocb aios[NAIO], *aiop;
659 struct aiocb aios[MAXIOS];
662 struct aiocb *aiop;
/freebsd-13-stable/lib/libthr/thread/
H A Dthr_syscalls.c133 __thr_aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct
/freebsd-13-stable/tools/test/gpioevents/
H A Dgpioevents.c382 struct aiocb iocb;
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c977 struct aiocb aiocbs[VDEV_LABELS];
978 struct aiocb *aiocbps[VDEV_LABELS];
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc3213 const struct aiocb *const *list = (const struct aiocb *const *)list_;
/freebsd-13-stable/usr.bin/truss/
H A Dsyscalls.c1425 print_aiocb(FILE *fp, struct aiocb *cb)
2774 struct aiocb cb;
2784 * Print argment as an array of pointers to struct aiocb, where
2802 struct aiocb cb;
2820 * aiocb, so we need to handle the extra layer of indirection.
2823 struct aiocb cb;

Completed in 402 milliseconds

12