Searched refs:aio (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/crypto/heimdal/kcm/
H A Dsessions.c63 auditinfo_addr_t aio;
66 if (au_sdev_read_aia(h, &event, &aio) != 0)
78 kcm_cache_remove_session(aio.ai_asid);
/freebsd-11-stable/lib/libc/sys/
H A Daio_suspend.c37 #include <sys/aio.h>
/freebsd-11-stable/tests/sys/aio/
H A DMakefile1 # $FreeBSD: stable/11/tests/sys/aio/Makefile 337239 2018-08-03 14:01:32Z asomers $
3 TESTSDIR= ${TESTSBASE}/sys/aio
H A Daio_test.c26 * $FreeBSD: stable/11/tests/sys/aio/aio_test.c 330222 2018-03-01 06:54:03Z eadler $
49 #include <aio.h>
79 * A completion function will block until the aio has completed, then return
80 * the result of the aio. errno will be set appropriately.
155 poll(struct aiocb *aio) argument
159 while ((error = aio_error(aio)) == EINPROGRESS)
164 return (aio_return(aio));
180 poll_signaled(struct aiocb *aio) argument
185 error = aio_error(aio);
191 return (aio_return(aio));
232 suspend(struct aiocb *aio) argument
245 waitcomplete(struct aiocb *aio) argument
262 struct aiocb aio; local
291 struct aiocb aio; local
[all...]
H A Daio_kqueue_test.c25 * $FreeBSD: stable/11/tests/sys/aio/aio_kqueue_test.c 326677 2017-12-08 05:20:54Z asomers $
40 #include <aio.h>
52 #define PATH_TEMPLATE "aio.XXXXXXXXXX"
74 PLAIN_REQUIRE_KERNEL_MODULE("aio", 0);
78 if (sysctlbyname("vfs.aio.max_aio_queue_per_proc",
H A Dlio_kqueue_test.c25 * $FreeBSD: stable/11/tests/sys/aio/lio_kqueue_test.c 326677 2017-12-08 05:20:54Z asomers $
36 #include <aio.h>
48 #define PATH_TEMPLATE "aio.XXXXXXXXXX"
73 PLAIN_REQUIRE_KERNEL_MODULE("aio", 0);
77 if (sysctlbyname("vfs.aio.max_aio_queue_per_proc",
H A Dlio_test.c26 * $FreeBSD: stable/11/tests/sys/aio/lio_test.c 337239 2018-08-03 14:01:32Z asomers $
32 #include <aio.h>
73 ATF_REQUIRE_KERNEL_MODULE("aio");
77 ATF_REQUIRE_EQ(sysctlbyname("vfs.aio.max_aio_queue_per_proc",
/freebsd-11-stable/tools/regression/aio/aiop/
H A Daiop.c47 #include <aio.h>
126 struct aiocb *aio; local
191 aio = calloc(aio_len, sizeof(struct aiocb));
201 set_aio(aio + i, choose_aio(iowhat), fd, offset, io_size, abuf[i]);
206 n = a - aio;
211 set_aio(aio + n, choose_aio(iowhat), fd, offset, io_size, abuf[n]);
/freebsd-11-stable/tests/sys/
H A DMakefile6 TESTS_SUBDIRS+= aio
/freebsd-11-stable/tools/tools/nanobsd/pcengines/
H A Dtest.sh33 kldstat -n aio || kldload aio
/freebsd-11-stable/lib/libc/net/
H A Dname6.c643 struct hp_order *aio; local
673 if ((aio = malloc(sizeof(*aio) * n)) == NULL)
675 memset(aio, 0, sizeof(*aio) * n);
681 free(aio);
687 aio[i].aio_h_addr = ap;
688 sa = &aio[i].aio_sa;
712 aio[i].aio_dstscope = gai_addr2scopetype(sa);
713 aio[
847 set_source(struct hp_order *aio, struct policyhead *ph) argument
[all...]
H A Dgetaddrinfo.c678 struct ai_order *aio; local
693 if ((aio = calloc(n, sizeof(*aio))) == NULL)
700 free(aio);
705 aio[i].aio_ai = ai;
706 aio[i].aio_dstscope = gai_addr2scopetype(ai->ai_addr);
707 aio[i].aio_dstpolicy = match_addrselectpolicy(ai->ai_addr,
709 set_source(&aio[i], &policyhead);
710 aio[i].aio_initial_sequence = i;
714 qsort(aio,
847 set_source(struct ai_order *aio, struct policyhead *ph) argument
[all...]
/freebsd-11-stable/lib/librt/
H A DMakefile17 SRCS+= aio.c mq.c sigev_thread.c timer.c
H A Daio.c26 * $FreeBSD: stable/11/lib/librt/aio.c 322892 2017-08-25 14:42:11Z asomers $
33 #include <sys/aio.h>
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzvol.h55 extern int zvol_aread(dev_t dev, struct aio_req *aio, cred_t *cr);
56 extern int zvol_awrite(dev_t dev, struct aio_req *aio, cred_t *cr);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_queue.c521 vdev_queue_agg_io_done(zio_t *aio) argument
523 if (aio->io_type == ZIO_TYPE_READ) {
526 while ((pio = zio_walk_parents(aio, &zl)) != NULL) {
527 abd_copy_off(pio->io_abd, aio->io_abd,
528 0, pio->io_offset - aio->io_offset, pio->io_size);
532 abd_free(aio->io_abd);
676 zio_t *first, *last, *aio, *dio, *mandatory, *nio; local
808 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset,
812 aio->io_timestamp = first->io_timestamp;
818 ASSERT3U(dio->io_type, ==, aio
850 zio_t *zio, *aio; local
[all...]
/freebsd-11-stable/share/examples/scsi_target/
H A Dscsi_target.c43 #include <aio.h>
260 struct aiocb aio, *aiop; local
263 memset(&aio, 0, sizeof(aio));
264 aio.aio_buf = malloc(sector_size);
265 if (aio.aio_buf == NULL)
267 aio.aio_fildes = file_fd;
268 aio.aio_offset = 0;
269 aio.aio_nbytes = sector_size;
271 if (aio_read(&aio) !
[all...]
/freebsd-11-stable/sys/netsmb/
H A Dsmb_trantcp.c294 struct iovec aio; local
298 aio.iov_base = (caddr_t)&len;
299 aio.iov_len = sizeof(len);
300 auio.uio_iov = &aio;
/freebsd-11-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_poll_private.h49 #define _AIO_OS390 /* enable a bunch of z/OS aio.h definitions */
50 #include <aio.h> /* aiocb */
/freebsd-11-stable/sys/nfs/
H A Dbootp_subr.c586 struct iovec aio; local
726 aio.iov_base = (caddr_t) &ifctx->call;
727 aio.iov_len = sizeof(ifctx->call);
729 auio.uio_iov = &aio;
781 aio.iov_base = (caddr_t) &gctx->reply;
782 aio.iov_len = sizeof(gctx->reply);
784 auio.uio_iov = &aio;
/freebsd-11-stable/sys/dev/iscsi/
H A Discsi.c1000 struct iscsi_outstanding *io, *aio; local
1019 aio = iscsi_outstanding_find(is, io->io_datasn);
1020 if (aio != NULL && aio->io_ccb != NULL)
1021 iscsi_session_terminate_task(is, aio, CAM_REQ_ABORTED);
2143 struct iscsi_outstanding *io, *aio; local
2158 aio = iscsi_outstanding_find_ccb(is, cab->abort_ccb);
2159 if (aio == NULL) {
2181 io->io_datasn = aio->io_initiator_task_tag;
2188 bhstmr->bhstmr_referenced_task_tag = aio
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_cam.c2559 ocs_io_t *aio = NULL; local
2587 aio = accb->ccb_h.ccb_io_ptr;
2588 if (aio == NULL) {
2596 aio->tgt_io.state, aio->tag,
2597 aio->init_task_tag, aio->tgt_io.flags);
2603 if ((aio->tgt_io.flags & OCS_CAM_IO_F_ABORT_RECV) == 0) {
2609 aio->tgt_io.flags |= OCS_CAM_IO_F_ABORT_CAM;
2610 ocs_target_io_free(aio);
[all...]
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_syscalls.c80 #include <aio.h>
/freebsd-11-stable/sys/kern/
H A Dsys_socket.c37 #include <sys/aio.h>
78 static SYSCTL_NODE(_kern_ipc, OID_AUTO, aio, CTLFLAG_RD, NULL,
H A Dvfs_aio.c75 #include <sys/aio.h>
104 FEATURE(aio, "Asynchronous I/O");
107 static MALLOC_DEFINE(M_LIO, "lio", "listio aio control block list");
108 static MALLOC_DEFINE(M_AIOS, "aios", "aio_suspend aio control block list");
110 static SYSCTL_NODE(_vfs, OID_AUTO, aio, CTLFLAG_RW, 0,
141 "Maximum number of aio requests to queue, globally");
145 "Number of queued aio requests");
149 "Number of aio requests presently handled by the buf subsystem");
154 "Number of aio requests presently handled by unmapped I/O buffers");
167 "Maximum active aio request
[all...]

Completed in 194 milliseconds

12