Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_queue.c392 vdev_queue_agg_io_done(zio_t *aio) in vdev_queue_agg_io_done() argument
394 if (aio->io_type == ZIO_TYPE_READ) { in vdev_queue_agg_io_done()
398 abd_copy_off(pio->io_abd, aio->io_abd, in vdev_queue_agg_io_done()
403 abd_free(aio->io_abd); in vdev_queue_agg_io_done()
681 abd_zero_off(aio->io_abd, in vdev_queue_aggregate()
688 zio_add_child(dio, aio); in vdev_queue_aggregate()
703 return (aio); in vdev_queue_aggregate()
709 zio_t *zio, *aio; in vdev_queue_io_to_issue() local
740 aio = vdev_queue_aggregate(vq, zio); in vdev_queue_io_to_issue()
741 if (aio != NULL) in vdev_queue_io_to_issue()
[all …]
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c339 iodevinfo_t *aio, *dio, *oio; in prpass() local
504 safe_zalloc((void *)&aio, size, 0); in prpass()
519 aio[i] = axio[j]; in prpass()
529 axio = aio; in prpass()
769 iodevinfo_t *nio, *oio, *aio, *dio; in update_counters() local
785 aio = axio; in update_counters()
790 aio->kios.reads += dio->kios.reads in update_counters()
794 aio->kios.nread += dio->kios.nread in update_counters()
802 aio->kios.wtime += dio->kios.wtime in update_counters()
804 aio->kios.rtime += dio->kios.rtime in update_counters()
[all …]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpxfs_ki.h46 extern int clpxfs_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
47 extern int clpxfs_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p);
/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/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);
1194 cmdkaread(dev_t dev, struct aio_req *aio, cred_t *credp) in cmdkaread() argument
1196 return (cmdkarw(dev, aio, B_READ)); in cmdkaread()
1214 cmdkawrite(dev_t dev, struct aio_req *aio, cred_t *credp) in cmdkawrite() argument
1216 return (cmdkarw(dev, aio, B_WRITE)); in cmdkawrite()
1246 cmdkarw(dev_t dev, struct aio_req *aio, int flag) in cmdkarw() argument
1261 return (aphysio(cmdkstrategy, anocancel, dev, flag, cmdkmin, aio)); in cmdkarw()
/illumos-gate/usr/src/uts/common/sys/
H A Daio_impl.h105 typedef struct aio { struct
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.h312 struct aio *p_aio; /* pointer to async I/O struct */
H A DMakefile76 aio.h \
/illumos-gate/usr/src/uts/common/os/
H A Daio_subr.c77 struct aio_req *aio) in aphysio() argument
79 struct uio *uio = aio->aio_uio; in aphysio()
80 aio_req_t *reqp = (aio_req_t *)aio->aio_private; in aphysio()
1074 kmem_free(aiop, sizeof (struct aio)); in aio_cleanup_exit()
1279 struct aio *aiop = procp->p_aio; in aio_cleanup_dr_delete_memory()
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);
2466 aiop = kmem_zalloc(sizeof (struct aio), KM_NOSLEEP); in aio_aiop_alloc()
2837 driver_aio_write(vnode_t *vp, struct aio_req *aio, cred_t *cred_p) in driver_aio_write() argument
2850 return ((*cb->cb_awrite)(dev, aio, cred_p)); in driver_aio_write()
2861 driver_aio_read(vnode_t *vp, struct aio_req *aio, cred_t *cred_p) in driver_aio_read() argument
2874 return ((*cb->cb_aread)(dev, aio, cred_p)); in driver_aio_read()
/illumos-gate/usr/src/man/man3head/
H A DMakefile24 aio.h.3head \
213 aio.3head \
399 aio.3head := LINKSRC = aio.h.3head
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c1435 bd_aread(dev_t dev, struct aio_req *aio, cred_t *credp) in bd_aread() argument
1438 int ret = bd_check_uio(dev, aio->aio_uio); in bd_aread()
1442 return (aphysio(bd_strategy, anocancel, dev, B_READ, bd_minphys, aio)); in bd_aread()
1446 bd_awrite(dev_t dev, struct aio_req *aio, cred_t *credp) in bd_awrite() argument
1449 int ret = bd_check_uio(dev, aio->aio_uio); in bd_awrite()
1453 return (aphysio(bd_strategy, anocancel, dev, B_WRITE, bd_minphys, aio)); in bd_awrite()
/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) in dcdaread() argument
1704 struct uio *uio = aio->aio_uio; in dcdaread()
1721 return (aphysio(dcdstrategy, anocancel, dev, B_READ, dcdmin, aio)); in dcdaread()
1751 dcdawrite(dev_t dev, struct aio_req *aio, cred_t *cred_p) in dcdawrite() argument
1754 struct uio *uio = aio->aio_uio; in dcdawrite()
1771 return (aphysio(dcdstrategy, anocancel, dev, B_WRITE, dcdmin, aio)); in dcdawrite()
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c1971 lofi_aread(dev_t dev, struct aio_req *aio, struct cred *credp __unused) in lofi_aread() argument
1975 UIO_CHECK(aio->aio_uio); in lofi_aread()
1976 return (aphysio(lofi_strategy, anocancel, dev, B_READ, minphys, aio)); in lofi_aread()
1980 lofi_awrite(dev_t dev, struct aio_req *aio, struct cred *credp __unused) in lofi_awrite() argument
1984 UIO_CHECK(aio->aio_uio); in lofi_awrite()
1985 return (aphysio(lofi_strategy, anocancel, dev, B_WRITE, minphys, aio)); in lofi_awrite()
/illumos-gate/usr/src/lib/libc/
H A DMakefile.targ230 pics/%.o: $(LIBCBASE)/../port/aio/%.c
/illumos-gate/usr/src/head/
H A DMakefile50 aio.h \
/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) in vdc_aread() argument
1592 return (aphysio(vdc_strategy, anocancel, dev, B_READ, vdc_min, aio)); in vdc_aread()
1596 vdc_awrite(dev_t dev, struct aio_req *aio, cred_t *cred) in vdc_awrite() argument
1601 return (aphysio(vdc_strategy, anocancel, dev, B_WRITE, vdc_min, aio)); in vdc_awrite()
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile826 aio.o \
/illumos-gate/usr/src/lib/libc/i386/
H A DMakefile.com873 aio.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com844 aio.o \
/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) in st_aread() argument
3812 return (st_arw(dev, aio, B_READ)); in st_aread()
3818 st_awrite(dev_t dev, struct aio_req *aio, cred_t *cred_p) in st_awrite() argument
3824 return (st_arw(dev, aio, B_WRITE)); in st_awrite()
4014 st_arw(dev_t dev, struct aio_req *aio, int flag) in st_arw() argument
4016 struct uio *uio = aio->aio_uio; in st_arw()
4068 aphysio(st_queued_strategy, anocancel, dev, flag, st_minphys, aio); in st_arw()
H A Dsd.c866 static int sdaread(dev_t dev, struct aio_req *aio, cred_t *cred_p);
867 static int sdawrite(dev_t dev, struct aio_req *aio, cred_t *cred_p);
10302 sdaread(dev_t dev, struct aio_req *aio, cred_t *cred_p) in sdaread() argument
10305 struct uio *uio = aio->aio_uio; in sdaread()
10367 err = aphysio(sdstrategy, anocancel, dev, B_READ, sdmin, aio); in sdaread()
10392 sdawrite(dev_t dev, struct aio_req *aio, cred_t *cred_p) in sdawrite() argument
10395 struct uio *uio = aio->aio_uio; in sdawrite()
10457 err = aphysio(sdstrategy, anocancel, dev, B_WRITE, sdmin, aio); in sdawrite()
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com900 aio.o \
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-header.p5m50 file path=usr/include/aio.h
688 file path=usr/include/sys/aio.h
1742 link path=usr/share/man/man3head/aio.3head target=aio.h.3head
1743 file path=usr/share/man/man3head/aio.h.3head

12