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

12

/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpxfs_ki.h48 extern int clpxfs_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
49 extern int clpxfs_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c392 vdev_queue_agg_io_done(zio_t *aio) argument
394 if (aio->io_type == ZIO_TYPE_READ) {
397 while ((pio = zio_walk_parents(aio, &zl)) != NULL) {
398 abd_copy_off(pio->io_abd, aio->io_abd,
399 0, pio->io_offset - aio->io_offset, pio->io_size);
403 abd_free(aio->io_abd);
543 zio_t *first, *last, *aio, *dio, *mandatory, *nio; local
667 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset,
671 aio->io_timestamp = first->io_timestamp;
677 ASSERT3U(dio->io_type, ==, aio
709 zio_t *zio, *aio; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dasynch.h33 #include <sys/aio.h>
H A Daio_impl.h31 #include <sys/aio.h>
80 int aio_req_fd; /* aio's file descriptor */
101 * Struct for asynchronous I/O (aio) information per process.
103 * The field will be null if no aio is used.
105 typedef struct aio { struct
115 aio_req_t *aio_free; /* freelist of aio requests */
121 kmutex_t aio_mutex; /* mutex for aio struct */
138 #define AIO_CLEANUP 0x0001 /* do aio cleanup processing */
144 #define AIO_SOLARIS_REQ 0x0040 /* an old solaris aio req was issued */
150 #define AIO_PENDING 0x0002 /* aio i
[all...]
H A Daiocb.h35 #include <sys/aio.h>
H A Ddevops.h119 int (*cb_aread)(dev_t dev, struct aio_req *aio, cred_t *credp);
120 int (*cb_awrite)(dev_t dev, struct aio_req *aio, cred_t *credp);
H A Dproc.h316 struct aio *p_aio; /* pointer to async I/O struct */
H A DMakefile74 aio.h \
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzvol.h54 extern int zvol_aread(dev_t dev, struct aio_req *aio, cred_t *cr);
55 extern int zvol_awrite(dev_t dev, struct aio_req *aio, cred_t *cr);
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c339 iodevinfo_t *aio, *dio, *oio; local
504 safe_zalloc((void *)&aio, size, 0);
519 aio[i] = axio[j];
529 axio = aio;
769 iodevinfo_t *nio, *oio, *aio, *dio; local
785 aio = axio;
788 aio->kios.wlastupdate += dio->kios.wlastupdate
790 aio->kios.reads += dio->kios.reads
792 aio->kios.writes += dio->kios.writes
794 aio
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c103 static int cmdkarw(dev_t dev, struct aio_req *aio, int flag);
134 static int cmdkaread(dev_t dev, struct aio_req *aio, cred_t *credp);
135 static int cmdkawrite(dev_t dev, struct aio_req *aio, cred_t *credp);
1206 cmdkaread(dev_t dev, struct aio_req *aio, cred_t *credp) argument
1208 return (cmdkarw(dev, aio, B_READ));
1226 cmdkawrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument
1228 return (cmdkarw(dev, aio, B_WRITE));
1258 cmdkarw(dev_t dev, struct aio_req *aio, int flag) argument
1273 return (aphysio(cmdkstrategy, anocancel, dev, flag, cmdkmin, aio));
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c78 struct aio_req *aio)
80 struct uio *uio = aio->aio_uio;
81 aio_req_t *reqp = (aio_req_t *)aio->aio_private;
225 * mapout earlier so that more kmem is available when aio is
231 /* decrement fd's ref count by one, now that aio request is done. */
391 * If this is an old Solaris aio request, and the process has
409 * but there is a window, where it could miss to see a new aio
449 * special case handling for zero length requests. the aio request
451 * to complete this request is to copyout a zero to the aio request's
691 * cleanup aio request
72 aphysio( int (*strategy)(struct buf *), int (*cancel)(struct buf *), dev_t dev, int rw, void (*mincnt)(struct buf *), struct aio_req *aio) argument
[all...]
H A Daio.c115 static int driver_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
116 static int driver_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
570 /* don't block if no outstanding aio */
803 * put the aio request structure back into the free list.
1083 * initialize aio by allocating an aio_t struct for this
1103 * start a special thread that will cleanup after aio requests
1107 * SOFTLOCKed. Some pages will be SOFTLOCKed when there are aio
1782 * Write out the results for an aio request that is done.
2431 /* this is an old solaris aio request */
2440 * initialize aio reques
2837 driver_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p) argument
2861 driver_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p) argument
[all...]
/illumos-gate/usr/src/lib/libc/inc/
H A Dasyncio.h48 #include <aio.h>
60 #define SIGAIOCANCEL SIGLWP /* special aio cancelation signal */
308 extern mutex_t __aio_initlock; /* makes aio initialization atomic */
311 extern mutex_t __aio_mutex; /* global aio lock */
320 extern int __uaio_ok; /* indicates if aio is initialized */
/illumos-gate/usr/src/man/man3head/
H A DMakefile23 aio.h.3head \
204 aio.3head \
382 aio.3head := LINKSRC = aio.h.3head
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1165 bd_aread(dev_t dev, struct aio_req *aio, cred_t *credp) argument
1168 int ret = bd_check_uio(dev, aio->aio_uio);
1172 return (aphysio(bd_strategy, anocancel, dev, B_READ, bd_minphys, aio));
1176 bd_awrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument
1179 int ret = bd_check_uio(dev, aio->aio_uio);
1183 return (aphysio(bd_strategy, anocancel, dev, B_WRITE, bd_minphys, aio));
/illumos-gate/usr/src/head/
H A DMakefile50 aio.h \
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c79 static int dcdaread(dev_t dev, struct aio_req *aio, cred_t *cred_p);
80 static int dcdawrite(dev_t dev, struct aio_req *aio, cred_t *cred_p);
1701 dcdaread(dev_t dev, struct aio_req *aio, cred_t *cred_p) argument
1704 struct uio *uio = aio->aio_uio;
1721 return (aphysio(dcdstrategy, anocancel, dev, B_READ, dcdmin, aio));
1751 dcdawrite(dev_t dev, struct aio_req *aio, cred_t *cred_p) argument
1754 struct uio *uio = aio->aio_uio;
1771 return (aphysio(dcdstrategy, anocancel, dev, B_WRITE, dcdmin, aio));
/illumos-gate/usr/src/lib/libc/i386/
H A DMakefile.com863 aio.o \
1177 aio.o \
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com892 aio.o \
1197 aio.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com835 aio.o \
1127 aio.o \
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile817 aio.o \
1116 aio.o \
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c1802 lofi_aread(dev_t dev, struct aio_req *aio, struct cred *credp) argument
1806 UIO_CHECK(aio->aio_uio);
1807 return (aphysio(lofi_strategy, anocancel, dev, B_READ, minphys, aio));
1812 lofi_awrite(dev_t dev, struct aio_req *aio, struct cred *credp) argument
1816 UIO_CHECK(aio->aio_uio);
1817 return (aphysio(lofi_strategy, anocancel, dev, B_WRITE, minphys, aio));
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c117 static int vdc_aread(dev_t dev, struct aio_req *aio, cred_t *cred);
118 static int vdc_awrite(dev_t dev, struct aio_req *aio, cred_t *cred);
1587 vdc_aread(dev_t dev, struct aio_req *aio, cred_t *cred) argument
1592 return (aphysio(vdc_strategy, anocancel, dev, B_READ, vdc_min, aio));
1596 vdc_awrite(dev_t dev, struct aio_req *aio, cred_t *cred) argument
1601 return (aphysio(vdc_strategy, anocancel, dev, B_WRITE, vdc_min, aio));
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c427 static int st_aread(dev_t dev, struct aio_req *aio, cred_t *cred_p);
428 static int st_awrite(dev_t dev, struct aio_req *aio, cred_t *cred_p);
508 static int st_arw(dev_t dev, struct aio_req *aio, int flag);
3806 st_aread(dev_t dev, struct aio_req *aio, cred_t *cred_p) argument
3812 return (st_arw(dev, aio, B_READ));
3818 st_awrite(dev_t dev, struct aio_req *aio, cred_t *cred_p) argument
3824 return (st_arw(dev, aio, B_WRITE));
4014 st_arw(dev_t dev, struct aio_req *aio, int flag) argument
4016 struct uio *uio = aio->aio_uio;
4068 aphysio(st_queued_strategy, anocancel, dev, flag, st_minphys, aio);
[all...]

Completed in 279 milliseconds

12