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

/linux-4.4.14/arch/um/os-Linux/
H A DMakefile6 obj-y = aio.o execvp.o file.o helper.o irq.o main.o mem.o process.o \
12 USER_OBJS := $(user-objs-y) aio.o elf_aux.o execvp.o file.o helper.o irq.o \
H A Daio.c12 #include <aio.h>
23 struct aio_context *aio; member in struct:aio_thread_req
31 * If we don't have aio in libc, we define the necessary stubs here.
67 int len, unsigned long long offset, struct aio_context *aio) do_aio()
70 .aio_data = (unsigned long) aio, do_aio()
192 reply = ((struct aio_thread_reply) { .data = req.aio, not_aio_thread()
194 err = write(req.aio->reply_fd, &reply, sizeof(reply)); not_aio_thread()
197 "fd = %d, err = %d\n", req.aio->reply_fd, errno); not_aio_thread()
266 unsigned long long offset, struct aio_context *aio) submit_aio_26()
271 err = do_aio(ctx, type, io_fd, buf, len, offset, aio); submit_aio_26()
273 reply = ((struct aio_thread_reply) { .data = aio, submit_aio_26()
275 err = write(aio->reply_fd, &reply, sizeof(reply)); submit_aio_26()
279 "fd = %d, err = %d\n", aio->reply_fd, -err); submit_aio_26()
295 unsigned long long offset, struct aio_context *aio) submit_aio_26()
310 __uml_setup("aio=2.4", set_aio_24,
311 "aio=2.4\n"
362 unsigned long long offset, struct aio_context *aio) submit_aio_24()
369 .aio = aio, submit_aio_24()
383 struct aio_context *aio) submit_aio()
385 aio->reply_fd = reply_fd; submit_aio()
387 return submit_aio_24(type, io_fd, buf, len, offset, aio); submit_aio()
389 return submit_aio_26(type, io_fd, buf, len, offset, aio); submit_aio()
66 do_aio(aio_context_t ctx, enum aio_type type, int fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) do_aio() argument
265 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) submit_aio_26() argument
294 submit_aio_26(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) submit_aio_26() argument
361 submit_aio_24(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, struct aio_context *aio) submit_aio_24() argument
381 submit_aio(enum aio_type type, int io_fd, char *buf, int len, unsigned long long offset, int reply_fd, struct aio_context *aio) submit_aio() argument
/linux-4.4.14/arch/um/include/shared/
H A Daio.h26 struct aio_context *aio);
/linux-4.4.14/drivers/ata/
H A Dpata_mpc52xx.c631 struct ata_ioports *aio; mpc52xx_ata_init_one() local
645 aio = &ap->ioaddr; mpc52xx_ata_init_one()
646 aio->cmd_addr = NULL; /* Don't have a classic reg block */ mpc52xx_ata_init_one()
647 aio->altstatus_addr = &priv->ata_regs->tf_control; mpc52xx_ata_init_one()
648 aio->ctl_addr = &priv->ata_regs->tf_control; mpc52xx_ata_init_one()
649 aio->data_addr = &priv->ata_regs->tf_data; mpc52xx_ata_init_one()
650 aio->error_addr = &priv->ata_regs->tf_features; mpc52xx_ata_init_one()
651 aio->feature_addr = &priv->ata_regs->tf_features; mpc52xx_ata_init_one()
652 aio->nsect_addr = &priv->ata_regs->tf_sec_count; mpc52xx_ata_init_one()
653 aio->lbal_addr = &priv->ata_regs->tf_sec_num; mpc52xx_ata_init_one()
654 aio->lbam_addr = &priv->ata_regs->tf_cyl_low; mpc52xx_ata_init_one()
655 aio->lbah_addr = &priv->ata_regs->tf_cyl_high; mpc52xx_ata_init_one()
656 aio->device_addr = &priv->ata_regs->tf_dev_head; mpc52xx_ata_init_one()
657 aio->status_addr = &priv->ata_regs->tf_command; mpc52xx_ata_init_one()
658 aio->command_addr = &priv->ata_regs->tf_command; mpc52xx_ata_init_one()
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c287 /* setup aio context to handle up to AIO_MAX requests */ main()
289 perror("unable to setup aio"); main()
360 /* we read aio events */ main()
/linux-4.4.14/fs/
H A Daio.c32 #include <linux/aio.h>
181 struct list_head ki_list; /* the aio core uses this
193 unsigned long aio_nr; /* current system wide number of aio requests */
194 unsigned long aio_max_nr = 0x10000; /* system wide maximum number of aio requests */
207 struct qstr this = QSTR_INIT("[aio]", 5); aio_private_file()
242 return mount_pseudo(fs_type, "aio:", NULL, &ops, AIO_RING_MAGIC); aio_mount()
246 * Creates the slab caches used by the aio routines, panic on
252 .name = "aio", aio_setup()
258 panic("Failed to create aio fs mount."); aio_setup()
795 * Cancels all outstanding aio requests on an aio context. Used
994 * Allocate a slot for an aio request.
H A DMakefile31 obj-$(CONFIG_AIO) += aio.o
H A Ddirect-io.c1302 * partial aio read or full aio write have been setup. In that case do_blockdev_direct_IO()
H A Dcompat.c50 #include <linux/aio.h>
/linux-4.4.14/include/linux/
H A Dpercpu-refcount.h27 * See fs/aio.c for some example usage; it's used there for struct kioctx, which
31 * In the aio code, kill_ioctx() is called when we wish to destroy a kioctx; it
40 * someone else already called it. The aio code uses it this way, but it's not
H A Dfs.h2687 /* filesystem can handle aio writes beyond i_size */
/linux-4.4.14/include/uapi/linux/
H A Daio_abi.h57 /* read() from /dev/aio returns these structures. */
H A Dsysctl.h822 FS_AIO_NR=18, /* current system-wide number of aio requests */
823 FS_AIO_MAX_NR=19, /* system-wide maximum number of aio requests */
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c261 /* setup aio context to handle up to 2 requests */ main()
263 perror("unable to setup aio"); main()
/linux-4.4.14/arch/parisc/include/uapi/asm/
H A Derrno.h116 #define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
/linux-4.4.14/drivers/usb/gadget/function/
H A Df_fs.c32 #include <linux/aio.h>
144 bool aio; member in struct:ffs_io_data
793 if (io_data->aio) { ffs_epfile_io()
914 p->aio = true; ffs_epfile_write_iter()
916 p->aio = false; ffs_epfile_write_iter()
926 if (p->aio) ffs_epfile_write_iter()
932 if (p->aio) ffs_epfile_write_iter()
950 p->aio = true; ffs_epfile_read_iter()
952 p->aio = false; ffs_epfile_read_iter()
957 if (p->aio) { ffs_epfile_read_iter()
971 if (p->aio) ffs_epfile_read_iter()
978 if (p->aio) { ffs_epfile_read_iter()
/linux-4.4.14/kernel/
H A Dsysctl_binary.c817 { CTL_ULONG, FS_AIO_NR, "aio-nr" },
818 { CTL_ULONG, FS_AIO_MAX_NR, "aio-max-nr" },
H A Dsysctl.c22 #include <linux/aio.h>
1667 .procname = "aio-nr",
1674 .procname = "aio-max-nr",
H A Dfork.c75 #include <linux/aio.h>
/linux-4.4.14/fs/ocfs2/
H A Dfile.c2367 * Wait on previous unaligned aio to complete before ocfs2_file_write_iter()
2379 /* buffered aio wouldn't have proper lock coverage today */ ocfs2_file_write_iter()
2521 /* buffered aio wouldn't have proper lock coverage today */ ocfs2_file_read_iter()
H A Daops.c620 * particularly interested in the aio/dio case. We use the rw_lock DLM lock
879 /* overwrite aio may return -EIOCBQUEUED, and it is not an error */ ocfs2_direct_IO_write()
/linux-4.4.14/drivers/spi/
H A Dspidev.c672 /* REVISIT switch to aio primitives, so that userspace
/linux-4.4.14/arch/tile/kernel/
H A Dprocess.c185 * fork() clears the pending signals, alarms, and aio for the child. copy_thread()
/linux-4.4.14/drivers/usb/gadget/legacy/
H A Dinode.c28 #include <linux/aio.h>
493 * complete the aio request immediately. ep_aio_complete()
/linux-4.4.14/fs/nfs/
H A Ddirect.c37 * 04 May 2005 support O_DIRECT with aio --cel
/linux-4.4.14/drivers/scsi/qla2xxx/
H A Dqla_iocb.c2549 struct srb_iocb *aio = &sp->u.iocb_cmd; qla24xx_abort_iocb() local
2559 cpu_to_le32(MAKE_HANDLE(req->id, aio->u.abt.cmd_hndl)); qla24xx_abort_iocb()
/linux-4.4.14/drivers/block/
H A Dloop.c1686 /* complete non-aio request */ loop_handle_cmd()
/linux-4.4.14/fs/xfs/
H A Dxfs_file.c692 * the dio layer. To avoid the problem with aio, we also need to wait for
/linux-4.4.14/fs/ext4/
H A Dextents.c4042 * Flag the inode(non aio case) or end_io struct (aio case) ext4_ext_handle_unwritten_extents()
H A Dext4.h3246 /* For ioend & aio unwritten conversion wait queues */

Completed in 2168 milliseconds