/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | pxfs_ki.h | 48 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/avs/ns/rdc/ |
H A D | rdc_diskq.c | 295 rdc_fill_ioheader(rdc_aio_t *aio, io_hdr *hd, int qpos) argument 297 ASSERT(MUTEX_HELD(&rdc_k_info[aio->index].group->diskq.disk_qlock)); 301 hd->dat.pos = aio->pos; 302 hd->dat.hpos = aio->pos; 304 hd->dat.len = aio->len; 305 hd->dat.flag = aio->flag; 306 hd->dat.iostatus = aio->iostatus; 307 hd->dat.setid = rdc_idx2setid(aio->index); 309 if (!aio->handle) 920 * copy orig aio t 1014 rdc_diskq_enqueue(rdc_k_info_t *krdc, rdc_aio_t *aio) argument 1547 rdc_netqueue_insert(rdc_aio_t *aio, net_queue *q) argument 1578 rdc_fill_aio(rdc_group_t *grp, rdc_aio_t *aio, io_hdr *hdr, nsc_buf_t *abuf) argument 1643 rdc_aio_t *aio; local 1674 rdc_aio_t *aio = NULL; local 1908 rdc_aio_t *aio = NULL; local 2519 rdc_aio_t *aio; local [all...] |
H A D | rdc_clnt.c | 991 rdc_fixlen(rdc_aio_t *aio) argument 993 nsc_vec_t *vecp = aio->qhandle->sb_vec; 1000 aio->qhandle->sb_len = len; 1013 rdc_aio_t *aio; local 1070 aio = q->net_qhead; 1071 tmpkrdc = &rdc_k_info[aio->index]; 1074 aio->qhandle->sb_user--; 1075 if (aio->qhandle->sb_user == 0) { 1076 rdc_fixlen(aio); 1077 (void) nsc_free_buf(aio 1347 rdc_memq_enqueue(rdc_k_info_t *krdc, rdc_aio_t *aio) argument 1437 rdc_aio_t *aio; local 1640 rdc_aio_t *aio; local 1832 rdc_aio_t *aio = NULL; local 2039 _rdc_remote_flush(rdc_aio_t *aio) argument 2580 rdc_aio_t *aio; local [all...] |
H A D | rdc_diskq.h | 324 extern void rdc_fixlen(rdc_aio_t *aio);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_queue.c | 368 vdev_queue_agg_io_done(zio_t *aio) argument 370 if (aio->io_type == ZIO_TYPE_READ) { 373 while ((pio = zio_walk_parents(aio, &zl)) != NULL) { 374 bcopy((char *)aio->io_data + (pio->io_offset - 375 aio->io_offset), pio->io_data, pio->io_size); 379 zio_buf_free(aio->io_data, aio->io_size); 509 zio_t *first, *last, *aio, *dio, *mandatory, *nio; local 613 aio = zio_vdev_delegated_io(first->io_vd, first->io_offset, 617 aio 647 zio_t *zio, *aio; local [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | asynch.h | 33 #include <sys/aio.h>
|
H A D | aio_impl.h | 31 #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 D | aiocb.h | 35 #include <sys/aio.h>
|
H A D | devops.h | 119 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);
|
/illumos-gate/usr/src/lib/librt/common/ |
H A D | llib-lrt | 32 #include <aio.h>
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zvol.h | 54 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 D | sar.c | 339 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/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 491 rdc_aio_t *aio; local 496 aio = mdb_zalloc(sizeof (*aio), UM_GC); 498 if (mdb_vread(aio, sizeof (*aio), addr) != sizeof (*aio)) { 503 aio->next, aio->handle, aio->qhandle); 505 " seq: %d\n", aio [all...] |
/illumos-gate/usr/src/man/man3head/ |
H A D | Makefile | 23 aio.h.3head \ 113 aio.3head \ 202 aio.3head := LINKSRC = aio.h.3head
|
/illumos-gate/usr/src/uts/common/io/lvm/md/ |
H A D | md.c | 1692 * The main catch is that the *aio struct which is passed to us may 1699 mdaread(dev_t dev, struct aio_req *aio, cred_t *credp) argument 1714 (dev, aio, credp)); 1716 if ((error = md_chk_uio(aio->aio_uio)) != 0) 1719 return (aphysio(mdstrategy, anocancel, dev, B_READ, md_minphys, aio)); 1760 * The main catch is that the *aio struct which is passed to us may 1768 mdawrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument 1783 (dev, aio, credp)); 1785 if ((error = md_chk_uio(aio->aio_uio)) != 0) 1788 return (aphysio(mdstrategy, anocancel, dev, B_WRITE, md_minphys, aio)); [all...] |
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/ |
H A D | xdf_shell.c | 741 xdfs_aread(dev_t dev, struct aio_req *aio, cred_t *credp) argument 748 return (ldi_aread(xsp->xdfss_tgt_lh[part], aio, credp)); 755 return (xdfs_hvm_cb_ops->cb_aread(dev, aio, credp)); 760 xdfs_awrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument 767 return (ldi_awrite(xsp->xdfss_tgt_lh[part], aio, credp)); 774 return (xdfs_hvm_cb_ops->cb_awrite(dev, aio, credp));
|
/illumos-gate/usr/src/uts/common/io/lvm/trans/ |
H A D | mdtrans.c | 726 md_trans_aread(dev_t dev, struct aio_req *aio, cred_t *credp) argument 730 if ((error = md_chk_uio(aio->aio_uio)) != 0) 733 return (aphysio(mdstrategy, anocancel, dev, B_READ, minphys, aio)); 750 md_trans_awrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument 754 if ((error = md_chk_uio(aio->aio_uio)) != 0) 757 return (aphysio(mdstrategy, anocancel, dev, B_WRITE, minphys, aio));
|
/illumos-gate/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 99 static int cmdkarw(dev_t dev, struct aio_req *aio, int flag); 130 static int cmdkaread(dev_t dev, struct aio_req *aio, cred_t *credp); 131 static int cmdkawrite(dev_t dev, struct aio_req *aio, cred_t *credp); 1230 cmdkaread(dev_t dev, struct aio_req *aio, cred_t *credp) argument 1232 return (cmdkarw(dev, aio, B_READ)); 1250 cmdkawrite(dev_t dev, struct aio_req *aio, cred_t *credp) argument 1252 return (cmdkarw(dev, aio, B_WRITE)); 1282 cmdkarw(dev_t dev, struct aio_req *aio, int flag) argument 1297 return (aphysio(cmdkstrategy, anocancel, dev, flag, cmdkmin, aio));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | aio_subr.c | 78 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 447 * special case handling for zero length requests. the aio request 449 * to complete this request is to copyout a zero to the aio request's 689 * 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...] |
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | asyncio.h | 48 #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/cmd/lms/heci/ |
H A D | HECIUnix.cpp | 42 #include <aio.h>
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | lofi.c | 1764 lofi_aread(dev_t dev, struct aio_req *aio, struct cred *credp) argument 1768 UIO_CHECK(aio->aio_uio); 1769 return (aphysio(lofi_strategy, anocancel, dev, B_READ, minphys, aio)); 1774 lofi_awrite(dev_t dev, struct aio_req *aio, struct cred *credp) argument 1778 UIO_CHECK(aio->aio_uio); 1779 return (aphysio(lofi_strategy, anocancel, dev, B_WRITE, minphys, aio));
|
/illumos-gate/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 845 aio.o \ 1157 $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c) \ 1181 aio.o \
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 822 aio.o \ 1116 $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c) \ 1143 aio.o \
|
/illumos-gate/usr/src/lib/libc/amd64/ |
H A D | Makefile | 798 aio.o \ 1093 $(AIOOBJS:%.o=$(LIBCDIR)/port/aio/%.c) \ 1117 aio.o \
|