iocb 715 fs/afs/write.c struct dentry *dentry = iocb->ki_filp->f_path.dentry; iocb 733 fs/afs/write.c result = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 740 fs/afs/write.c if (IS_SYNC(&vnode->vfs_inode) || iocb->ki_filp->f_flags & O_SYNC) { iocb 741 fs/afs/write.c ret = afs_fsync(iocb->ki_filp, dentry, 1); iocb 316 fs/aio.c struct kiocb *iocb = list_kiocb(pos); iocb 317 fs/aio.c list_del_init(&iocb->ki_list); iocb 318 fs/aio.c cancel = iocb->ki_cancel; iocb 319 fs/aio.c kiocbSetCancelled(iocb); iocb 321 fs/aio.c iocb->ki_users++; iocb 323 fs/aio.c cancel(iocb, &res); iocb 359 fs/aio.c while (iocb->ki_users) { iocb 361 fs/aio.c if (!iocb->ki_users) iocb 366 fs/aio.c return iocb->ki_user_data; iocb 629 fs/aio.c struct kioctx *ctx = iocb->ki_ctx; iocb 633 fs/aio.c if (list_empty(&iocb->ki_run_list)) { iocb 634 fs/aio.c list_add_tail(&iocb->ki_run_list, iocb 665 fs/aio.c struct kioctx *ctx = iocb->ki_ctx; iocb 669 fs/aio.c if (!(retry = iocb->ki_retry)) { iocb 693 fs/aio.c kiocbClearKicked(iocb); iocb 701 fs/aio.c iocb->ki_run_list.next = iocb->ki_run_list.prev = NULL; iocb 705 fs/aio.c if (kiocbIsCancelled(iocb)) { iocb 707 fs/aio.c aio_complete(iocb, ret, 0); iocb 716 fs/aio.c ret = retry(iocb); iocb 719 fs/aio.c BUG_ON(!list_empty(&iocb->ki_wait.task_list)); iocb 720 fs/aio.c aio_complete(iocb, ret, 0); iocb 734 fs/aio.c INIT_LIST_HEAD(&iocb->ki_run_list); iocb 737 fs/aio.c if (kiocbIsKicked(iocb)) { iocb 738 fs/aio.c __queue_kicked_iocb(iocb); iocb 761 fs/aio.c struct kiocb *iocb; iocb 768 fs/aio.c iocb = list_entry(run_list.next, struct kiocb, iocb 770 fs/aio.c list_del(&iocb->ki_run_list); iocb 774 fs/aio.c iocb->ki_users++; /* grab extra reference */ iocb 775 fs/aio.c aio_run_iocb(iocb); iocb 776 fs/aio.c __aio_put_req(ctx, iocb); iocb 869 fs/aio.c struct kioctx *ctx = iocb->ki_ctx; iocb 878 fs/aio.c BUG_ON((!list_empty(&iocb->ki_wait.task_list))); iocb 883 fs/aio.c if (!kiocbTryKick(iocb)) iocb 884 fs/aio.c run = __queue_kicked_iocb(iocb); iocb 901 fs/aio.c if (is_sync_kiocb(iocb)) { iocb 902 fs/aio.c kiocbSetKicked(iocb); iocb 903 fs/aio.c wake_up_process(iocb->ki_obj.tsk); iocb 907 fs/aio.c try_queue_kicked_iocb(iocb); iocb 918 fs/aio.c struct kioctx *ctx = iocb->ki_ctx; iocb 933 fs/aio.c if (is_sync_kiocb(iocb)) { iocb 934 fs/aio.c BUG_ON(iocb->ki_users != 1); iocb 935 fs/aio.c iocb->ki_user_data = res; iocb 936 fs/aio.c iocb->ki_users = 0; iocb 937 fs/aio.c wake_up_process(iocb->ki_obj.tsk); iocb 951 fs/aio.c if (iocb->ki_run_list.prev && !list_empty(&iocb->ki_run_list)) iocb 952 fs/aio.c list_del_init(&iocb->ki_run_list); iocb 958 fs/aio.c if (kiocbIsCancelled(iocb)) iocb 968 fs/aio.c event->obj = (u64)(unsigned long)iocb->ki_obj.user; iocb 969 fs/aio.c event->data = iocb->ki_user_data; iocb 974 fs/aio.c ctx, tail, iocb, iocb->ki_obj.user, iocb->ki_user_data, iocb 988 fs/aio.c pr_debug("added to ring %p at [%lu]\n", iocb, tail); iocb 995 fs/aio.c if (!IS_ERR(iocb->ki_eventfd)) iocb 996 fs/aio.c eventfd_signal(iocb->ki_eventfd, 1); iocb 1000 fs/aio.c ret = __aio_put_req(ctx, iocb); iocb 1312 fs/aio.c struct iovec *iov = &iocb->ki_iovec[iocb->ki_cur_seg]; iocb 1316 fs/aio.c while (iocb->ki_cur_seg < iocb->ki_nr_segs && ret > 0) { iocb 1320 fs/aio.c iocb->ki_left -= this; iocb 1323 fs/aio.c iocb->ki_cur_seg++; iocb 1330 fs/aio.c BUG_ON(ret > 0 && iocb->ki_left == 0); iocb 1335 fs/aio.c struct file *file = iocb->ki_filp; iocb 1343 fs/aio.c if ((iocb->ki_opcode == IOCB_CMD_PREADV) || iocb 1344 fs/aio.c (iocb->ki_opcode == IOCB_CMD_PREAD)) { iocb 1353 fs/aio.c if (iocb->ki_pos < 0) iocb 1357 fs/aio.c ret = rw_op(iocb, &iocb->ki_iovec[iocb->ki_cur_seg], iocb 1358 fs/aio.c iocb->ki_nr_segs - iocb->ki_cur_seg, iocb 1359 fs/aio.c iocb->ki_pos); iocb 1361 fs/aio.c aio_advance_iovec(iocb, ret); iocb 1365 fs/aio.c } while (ret > 0 && iocb->ki_left > 0 && iocb 1371 fs/aio.c if ((ret == 0) || (iocb->ki_left == 0)) iocb 1372 fs/aio.c ret = iocb->ki_nbytes - iocb->ki_left; iocb 1378 fs/aio.c && iocb->ki_nbytes - iocb->ki_left) iocb 1379 fs/aio.c ret = iocb->ki_nbytes - iocb->ki_left; iocb 1386 fs/aio.c struct file *file = iocb->ki_filp; iocb 1390 fs/aio.c ret = file->f_op->aio_fsync(iocb, 1); iocb 1396 fs/aio.c struct file *file = iocb->ki_filp; iocb 1400 fs/aio.c ret = file->f_op->aio_fsync(iocb, 0); iocb 1549 fs/aio.c struct kiocb *iocb = container_of(wait, struct kiocb, ki_wait); iocb 1552 fs/aio.c kick_iocb(iocb); iocb 1564 fs/aio.c if (unlikely(iocb->aio_reserved1 || iocb->aio_reserved2)) { iocb 1571 fs/aio.c (iocb->aio_buf != (unsigned long)iocb->aio_buf) || iocb 1572 fs/aio.c (iocb->aio_nbytes != (size_t)iocb->aio_nbytes) || iocb 1573 fs/aio.c ((ssize_t)iocb->aio_nbytes < 0) iocb 1579 fs/aio.c file = fget(iocb->aio_fildes); iocb 1589 fs/aio.c if (iocb->aio_flags & IOCB_FLAG_RESFD) { iocb 1596 fs/aio.c req->ki_eventfd = eventfd_fget((int) iocb->aio_resfd); iocb 1610 fs/aio.c req->ki_user_data = iocb->aio_data; iocb 1611 fs/aio.c req->ki_pos = iocb->aio_offset; iocb 1613 fs/aio.c req->ki_buf = (char __user *)(unsigned long)iocb->aio_buf; iocb 1614 fs/aio.c req->ki_left = req->ki_nbytes = iocb->aio_nbytes; iocb 1615 fs/aio.c req->ki_opcode = iocb->aio_lio_opcode; iocb 1677 fs/aio.c struct iocb __user *user_iocb; iocb 1678 fs/aio.c struct iocb tmp; iocb 1712 fs/aio.c if (kiocb->ki_obj.user == iocb && kiocb->ki_key == key) iocb 1731 fs/aio.c int (*cancel)(struct kiocb *iocb, struct io_event *res); iocb 1737 fs/aio.c ret = get_user(key, &iocb->aio_key); iocb 1747 fs/aio.c kiocb = lookup_kiocb(ctx, iocb, key); iocb 170 fs/block_dev.c struct file *file = iocb->ki_filp; iocb 173 fs/block_dev.c return blockdev_direct_IO_no_locking(rw, iocb, inode, I_BDEV(inode), iocb 593 fs/cifs/cifsfs.c struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode; iocb 596 fs/cifs/cifsfs.c written = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 534 fs/compat.c #define MAX_AIO_SUBMITS (PAGE_SIZE/sizeof(struct iocb *)) iocb 539 fs/compat.c struct iocb __user * __user *iocb64; iocb 549 fs/compat.c ret = copy_iocb(nr, iocb, iocb64); iocb 130 fs/direct-io.c struct kiocb *iocb; /* kiocb */ iocb 241 fs/direct-io.c dio->end_io(dio->iocb, offset, transferred, iocb 277 fs/direct-io.c int ret = dio_complete(dio, dio->iocb->ki_pos, 0); iocb 278 fs/direct-io.c aio_complete(dio->iocb, ret, 0); iocb 957 fs/direct-io.c dio->iocb = iocb; iocb 1176 fs/direct-io.c mapping = iocb->ki_filp->f_mapping; iocb 1206 fs/direct-io.c dio->is_async = !is_sync_kiocb(iocb) && !((rw & WRITE) && iocb 1209 fs/direct-io.c retval = direct_io_worker(rw, iocb, inode, iov, offset, iocb 53 fs/ecryptfs/file.c struct file *file = iocb->ki_filp; iocb 55 fs/ecryptfs/file.c rc = generic_file_aio_read(iocb, iov, nr_segs, pos); iocb 61 fs/ecryptfs/file.c rc = wait_on_sync_kiocb(iocb); iocb 778 fs/ext2/inode.c struct file *file = iocb->ki_filp; iocb 781 fs/ext2/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 54 fs/ext3/file.c struct file *file = iocb->ki_filp; iocb 59 fs/ext3/file.c ret = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 1688 fs/ext3/inode.c struct file *file = iocb->ki_filp; iocb 1717 fs/ext3/inode.c ret = blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 54 fs/ext4/file.c struct file *file = iocb->ki_filp; iocb 77 fs/ext4/file.c ret = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 2996 fs/ext4/inode.c struct file *file = iocb->ki_filp; iocb 3025 fs/ext4/inode.c ret = blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 173 fs/fat/inode.c struct file *file = iocb->ki_filp; iocb 195 fs/fat/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 741 fs/fuse/dev.c struct file *file = iocb->ki_filp; iocb 868 fs/fuse/dev.c struct fuse_conn *fc = fuse_get_conn(iocb->ki_filp); iocb 581 fs/fuse/file.c struct inode *inode = iocb->ki_filp->f_mapping->host; iocb 589 fs/fuse/file.c err = fuse_update_attributes(inode, NULL, iocb->ki_filp, NULL); iocb 594 fs/fuse/file.c return generic_file_aio_read(iocb, iov, nr_segs, pos); iocb 869 fs/fuse/file.c struct file *file = iocb->ki_filp; iocb 877 fs/fuse/file.c WARN_ON(iocb->ki_pos != pos); iocb 905 fs/fuse/file.c iocb->ki_pos = pos + written; iocb 989 fs/gfs2/ops_address.c struct file *file = iocb->ki_filp; iocb 1011 fs/gfs2/ops_address.c rv = blockdev_direct_IO_no_locking(rw, iocb, inode, inode->i_sb->s_bdev, iocb 109 fs/hfs/inode.c struct file *file = iocb->ki_filp; iocb 112 fs/hfs/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 106 fs/hfsplus/inode.c struct file *file = iocb->ki_filp; iocb 109 fs/hfsplus/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 306 fs/jfs/inode.c struct file *file = iocb->ki_filp; iocb 309 fs/jfs/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 71 fs/nfs/direct.c struct kiocb * iocb; /* controlling i/o request */ iocb 119 fs/nfs/direct.c iocb->ki_filp->f_path.dentry->d_name.name, iocb 160 fs/nfs/direct.c dreq->iocb = NULL; iocb 193 fs/nfs/direct.c if (dreq->iocb) iocb 213 fs/nfs/direct.c if (dreq->iocb) { iocb 217 fs/nfs/direct.c aio_complete(dreq->iocb, res, 0); iocb 415 fs/nfs/direct.c struct inode *inode = iocb->ki_filp->f_mapping->host; iocb 423 fs/nfs/direct.c dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); iocb 424 fs/nfs/direct.c if (!is_sync_kiocb(iocb)) iocb 425 fs/nfs/direct.c dreq->iocb = iocb; iocb 835 fs/nfs/direct.c struct inode *inode = iocb->ki_filp->f_mapping->host; iocb 849 fs/nfs/direct.c dreq->ctx = get_nfs_open_context(nfs_file_open_context(iocb->ki_filp)); iocb 850 fs/nfs/direct.c if (!is_sync_kiocb(iocb)) iocb 851 fs/nfs/direct.c dreq->iocb = iocb; iocb 886 fs/nfs/direct.c struct file *file = iocb->ki_filp; iocb 906 fs/nfs/direct.c retval = nfs_direct_read(iocb, iov, nr_segs, pos); iocb 908 fs/nfs/direct.c iocb->ki_pos = pos + retval; iocb 943 fs/nfs/direct.c struct file *file = iocb->ki_filp; iocb 970 fs/nfs/direct.c retval = nfs_direct_write(iocb, iov, nr_segs, pos, count); iocb 973 fs/nfs/direct.c iocb->ki_pos = pos + retval; iocb 256 fs/nfs/file.c struct dentry * dentry = iocb->ki_filp->f_path.dentry; iocb 261 fs/nfs/file.c if (iocb->ki_filp->f_flags & O_DIRECT) iocb 262 fs/nfs/file.c return nfs_file_direct_read(iocb, iov, nr_segs, pos); iocb 268 fs/nfs/file.c result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); iocb 271 fs/nfs/file.c result = generic_file_aio_read(iocb, iov, nr_segs, pos); iocb 506 fs/nfs/file.c struct dentry * dentry = iocb->ki_filp->f_path.dentry; iocb 511 fs/nfs/file.c if (iocb->ki_filp->f_flags & O_DIRECT) iocb 512 fs/nfs/file.c return nfs_file_direct_write(iocb, iov, nr_segs, pos); iocb 524 fs/nfs/file.c if (iocb->ki_filp->f_flags & O_APPEND) { iocb 525 fs/nfs/file.c result = nfs_revalidate_file_size(inode, iocb->ki_filp); iocb 535 fs/nfs/file.c result = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 537 fs/nfs/file.c if (result >= 0 && nfs_need_sync_write(iocb->ki_filp, inode)) { iocb 538 fs/nfs/file.c int err = nfs_do_fsync(nfs_file_open_context(iocb->ki_filp), inode); iocb 1786 fs/ntfs/file.c struct file *file = iocb->ki_filp; iocb 2082 fs/ntfs/file.c if (!mapping->a_ops->writepage || !is_sync_kiocb(iocb)) iocb 2100 fs/ntfs/file.c struct file *file = iocb->ki_filp; iocb 2125 fs/ntfs/file.c written = ntfs_file_buffered_write(iocb, iov, nr_segs, pos, ppos, iocb 2138 fs/ntfs/file.c struct file *file = iocb->ki_filp; iocb 2143 fs/ntfs/file.c BUG_ON(iocb->ki_pos != pos); iocb 2146 fs/ntfs/file.c ret = ntfs_file_aio_write_nolock(iocb, iov, nr_segs, &iocb->ki_pos); iocb 647 fs/ocfs2/aops.c struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode; iocb 651 fs/ocfs2/aops.c BUG_ON(!ocfs2_iocb_is_rw_locked(iocb)); iocb 653 fs/ocfs2/aops.c ocfs2_iocb_clear_rw_locked(iocb); iocb 655 fs/ocfs2/aops.c level = ocfs2_iocb_rw_locked_level(iocb); iocb 688 fs/ocfs2/aops.c struct file *file = iocb->ki_filp; iocb 701 fs/ocfs2/aops.c ret = blockdev_direct_IO_no_locking(rw, iocb, inode, iocb 62 fs/ocfs2/aops.h test_bit(0, (unsigned long *)&iocb->private) iocb 65 fs/ocfs2/aops.h set_bit(0, (unsigned long *)&iocb->private); iocb 67 fs/ocfs2/aops.h set_bit(1, (unsigned long *)&iocb->private); iocb 69 fs/ocfs2/aops.h clear_bit(1, (unsigned long *)&iocb->private); iocb 72 fs/ocfs2/aops.h clear_bit(0, (unsigned long *)&iocb->private) iocb 74 fs/ocfs2/aops.h test_bit(1, (unsigned long *)&iocb->private) iocb 1786 fs/ocfs2/file.c loff_t old_size, *ppos = &iocb->ki_pos; iocb 1788 fs/ocfs2/file.c struct file *file = iocb->ki_filp; iocb 1797 fs/ocfs2/file.c if (iocb->ki_left == 0) iocb 1824 fs/ocfs2/file.c iocb->ki_left, appending, iocb 1854 fs/ocfs2/file.c ocfs2_iocb_set_rw_locked(iocb, rw_level); iocb 1867 fs/ocfs2/file.c written = generic_file_direct_write(iocb, iov, &nr_segs, *ppos, iocb 1874 fs/ocfs2/file.c written = generic_file_aio_write_nolock(iocb, iov, nr_segs, iocb 1907 fs/ocfs2/file.c if (ret == -EIOCBQUEUED || !ocfs2_iocb_is_rw_locked(iocb)) { iocb 2003 fs/ocfs2/file.c struct file *filp = iocb->ki_filp; iocb 2032 fs/ocfs2/file.c ocfs2_iocb_set_rw_locked(iocb, rw_level); iocb 2051 fs/ocfs2/file.c ret = generic_file_aio_read(iocb, iov, nr_segs, iocb->ki_pos); iocb 2059 fs/ocfs2/file.c if (ret == -EIOCBQUEUED || !ocfs2_iocb_is_rw_locked(iocb)) { iocb 285 fs/pipe.c struct file *filp = iocb->ki_filp; iocb 398 fs/pipe.c struct file *filp = iocb->ki_filp; iocb 210 fs/read_write.c if (!kiocbIsKicked(iocb)) iocb 213 fs/read_write.c kiocbClearKicked(iocb); iocb 3046 fs/reiserfs/inode.c struct file *file = iocb->ki_filp; iocb 3049 fs/reiserfs/inode.c return blockdev_direct_IO(rw, iocb, inode, inode->i_sb->s_bdev, iov, iocb 221 fs/smbfs/file.c struct file * file = iocb->ki_filp; iocb 226 fs/smbfs/file.c (unsigned long) iocb->ki_left, (unsigned long) pos); iocb 239 fs/smbfs/file.c status = generic_file_aio_read(iocb, iov, nr_segs, pos); iocb 343 fs/smbfs/file.c struct file * file = iocb->ki_filp; iocb 349 fs/smbfs/file.c (unsigned long) iocb->ki_left, (unsigned long) pos); iocb 362 fs/smbfs/file.c if (iocb->ki_left > 0) { iocb 363 fs/smbfs/file.c result = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 1090 fs/ubifs/file.c struct inode *inode = iocb->ki_filp->f_mapping->host; iocb 1097 fs/ubifs/file.c ret = generic_file_aio_write(iocb, iov, nr_segs, pos); iocb 1101 fs/ubifs/file.c if (ret > 0 && (IS_SYNC(inode) || iocb->ki_filp->f_flags & O_SYNC)) { iocb 111 fs/udf/file.c struct file *file = iocb->ki_filp; iocb 114 fs/udf/file.c size_t count = iocb->ki_left; iocb 139 fs/udf/file.c retval = generic_file_aio_write(iocb, iov, nr_segs, ppos); iocb 1437 fs/xfs/linux-2.6/xfs_aops.c xfs_ioend_t *ioend = iocb->private; iocb 1463 fs/xfs/linux-2.6/xfs_aops.c xfs_finish_ioend(ioend, is_sync_kiocb(iocb)); iocb 1480 fs/xfs/linux-2.6/xfs_aops.c iocb->private = NULL; iocb 1491 fs/xfs/linux-2.6/xfs_aops.c struct file *file = iocb->ki_filp; iocb 1499 fs/xfs/linux-2.6/xfs_aops.c iocb->private = xfs_alloc_ioend(inode, IOMAP_UNWRITTEN); iocb 1500 fs/xfs/linux-2.6/xfs_aops.c ret = blockdev_direct_IO_own_locking(rw, iocb, inode, iocb 1505 fs/xfs/linux-2.6/xfs_aops.c iocb->private = xfs_alloc_ioend(inode, IOMAP_READ); iocb 1506 fs/xfs/linux-2.6/xfs_aops.c ret = blockdev_direct_IO_no_locking(rw, iocb, inode, iocb 1512 fs/xfs/linux-2.6/xfs_aops.c if (unlikely(ret != -EIOCBQUEUED && iocb->private)) iocb 1513 fs/xfs/linux-2.6/xfs_aops.c xfs_destroy_ioend(iocb->private); iocb 55 fs/xfs/linux-2.6/xfs_file.c struct file *file = iocb->ki_filp; iocb 57 fs/xfs/linux-2.6/xfs_file.c BUG_ON(iocb->ki_pos != pos); iocb 60 fs/xfs/linux-2.6/xfs_file.c return xfs_read(XFS_I(file->f_path.dentry->d_inode), iocb, iov, iocb 61 fs/xfs/linux-2.6/xfs_file.c nr_segs, &iocb->ki_pos, ioflags); iocb 71 fs/xfs/linux-2.6/xfs_file.c return __xfs_file_read(iocb, iov, nr_segs, IO_ISAIO, pos); iocb 81 fs/xfs/linux-2.6/xfs_file.c return __xfs_file_read(iocb, iov, nr_segs, IO_ISAIO|IO_INVIS, pos); iocb 92 fs/xfs/linux-2.6/xfs_file.c struct file *file = iocb->ki_filp; iocb 94 fs/xfs/linux-2.6/xfs_file.c BUG_ON(iocb->ki_pos != pos); iocb 97 fs/xfs/linux-2.6/xfs_file.c return xfs_write(XFS_I(file->f_mapping->host), iocb, iov, nr_segs, iocb 98 fs/xfs/linux-2.6/xfs_file.c &iocb->ki_pos, ioflags); iocb 108 fs/xfs/linux-2.6/xfs_file.c return __xfs_file_write(iocb, iov, nr_segs, IO_ISAIO, pos); iocb 118 fs/xfs/linux-2.6/xfs_file.c return __xfs_file_write(iocb, iov, nr_segs, IO_ISAIO|IO_INVIS, pos); iocb 178 fs/xfs/linux-2.6/xfs_lrw.c struct file *file = iocb->ki_filp; iocb 258 fs/xfs/linux-2.6/xfs_lrw.c iocb->ki_pos = *offset; iocb 259 fs/xfs/linux-2.6/xfs_lrw.c ret = generic_file_aio_read(iocb, iovp, segs, *offset); iocb 261 fs/xfs/linux-2.6/xfs_lrw.c ret = wait_on_sync_kiocb(iocb); iocb 568 fs/xfs/linux-2.6/xfs_lrw.c struct file *file = iocb->ki_filp; iocb 745 fs/xfs/linux-2.6/xfs_lrw.c ret = generic_file_direct_write(iocb, iovp, iocb 765 fs/xfs/linux-2.6/xfs_lrw.c ret = generic_file_buffered_write(iocb, iovp, segs, iocb 772 fs/xfs/linux-2.6/xfs_lrw.c ret = wait_on_sync_kiocb(iocb); iocb 37 include/linux/aio.h #define kiocbTryLock(iocb) test_and_set_bit(KIF_LOCKED, &(iocb)->ki_flags) iocb 38 include/linux/aio.h #define kiocbTryKick(iocb) test_and_set_bit(KIF_KICKED, &(iocb)->ki_flags) iocb 40 include/linux/aio.h #define kiocbSetLocked(iocb) set_bit(KIF_LOCKED, &(iocb)->ki_flags) iocb 41 include/linux/aio.h #define kiocbSetKicked(iocb) set_bit(KIF_KICKED, &(iocb)->ki_flags) iocb 42 include/linux/aio.h #define kiocbSetCancelled(iocb) set_bit(KIF_CANCELLED, &(iocb)->ki_flags) iocb 44 include/linux/aio.h #define kiocbClearLocked(iocb) clear_bit(KIF_LOCKED, &(iocb)->ki_flags) iocb 45 include/linux/aio.h #define kiocbClearKicked(iocb) clear_bit(KIF_KICKED, &(iocb)->ki_flags) iocb 46 include/linux/aio.h #define kiocbClearCancelled(iocb) clear_bit(KIF_CANCELLED, &(iocb)->ki_flags) iocb 48 include/linux/aio.h #define kiocbIsLocked(iocb) test_bit(KIF_LOCKED, &(iocb)->ki_flags) iocb 49 include/linux/aio.h #define kiocbIsKicked(iocb) test_bit(KIF_KICKED, &(iocb)->ki_flags) iocb 50 include/linux/aio.h #define kiocbIsCancelled(iocb) test_bit(KIF_CANCELLED, &(iocb)->ki_flags) iocb 128 include/linux/aio.h #define is_sync_kiocb(iocb) ((iocb)->ki_key == KIOCB_SYNC_KEY) iocb 2005 include/linux/fs.h return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, iocb 2014 include/linux/fs.h return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, iocb 2023 include/linux/fs.h return __blockdev_direct_IO(rw, iocb, inode, bdev, iov, offset, iocb 179 include/linux/net.h int (*sendmsg) (struct kiocb *iocb, struct socket *sock, iocb 181 include/linux/net.h int (*recvmsg) (struct kiocb *iocb, struct socket *sock, iocb 312 include/linux/net.h SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len), \ iocb 313 include/linux/net.h (iocb, sock, m, len)) \ iocb 314 include/linux/net.h SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len, int flags), \ iocb 315 include/linux/net.h (iocb, sock, m, len, flags)) \ iocb 17 include/linux/syscalls.h struct iocb; iocb 550 include/net/sock.h int (*sendmsg)(struct kiocb *iocb, struct sock *sk, iocb 552 include/net/sock.h int (*recvmsg)(struct kiocb *iocb, struct sock *sk, iocb 694 include/net/sock.h return (struct sock_iocb *)iocb->private; iocb 1284 mm/filemap.c struct file *filp = iocb->ki_filp; iocb 1288 mm/filemap.c loff_t *ppos = &iocb->ki_pos; iocb 1309 mm/filemap.c retval = mapping->a_ops->direct_IO(READ, iocb, iocb 2103 mm/filemap.c struct file *file = iocb->ki_filp; iocb 2148 mm/filemap.c written = mapping->a_ops->direct_IO(WRITE, iocb, iov, pos, *nr_segs); iocb 2476 mm/filemap.c struct file *file = iocb->ki_filp; iocb 2498 mm/filemap.c if (!a_ops->writepage || !is_sync_kiocb(iocb)) iocb 2520 mm/filemap.c struct file *file = iocb->ki_filp; iocb 2561 mm/filemap.c written = generic_file_direct_write(iocb, iov, &nr_segs, pos, iocb 2571 mm/filemap.c written_buffered = generic_file_buffered_write(iocb, iov, iocb 2608 mm/filemap.c written = generic_file_buffered_write(iocb, iov, nr_segs, iocb 2619 mm/filemap.c struct file *file = iocb->ki_filp; iocb 2624 mm/filemap.c BUG_ON(iocb->ki_pos != pos); iocb 2626 mm/filemap.c ret = __generic_file_aio_write_nolock(iocb, iov, nr_segs, iocb 2627 mm/filemap.c &iocb->ki_pos); iocb 2643 mm/filemap.c struct file *file = iocb->ki_filp; iocb 2648 mm/filemap.c BUG_ON(iocb->ki_pos != pos); iocb 2651 mm/filemap.c ret = __generic_file_aio_write_nolock(iocb, iov, nr_segs, iocb 2652 mm/filemap.c &iocb->ki_pos); iocb 1704 mm/shmem.c struct file *filp = iocb->ki_filp; iocb 1708 mm/shmem.c loff_t *ppos = &iocb->ki_pos; iocb 1860 net/core/sock.c err = sk->sk_prot->recvmsg(iocb, sk, msg, size, flags & MSG_DONTWAIT, iocb 713 net/ipv4/af_inet.c return sk->sk_prot->sendmsg(iocb, sk, msg, size); iocb 677 net/ipv6/udp.c return udp_sendmsg(iocb, sk, msg, len); iocb 682 net/ipv6/udp.c return udp_sendmsg(iocb, sk, msg, len); iocb 304 net/phonet/socket.c return sk->sk_prot->sendmsg(iocb, sk, m, total_len); iocb 480 net/rxrpc/af_rxrpc.c ret = rxrpc_server_sendmsg(iocb, rx, m, len); iocb 490 net/rxrpc/af_rxrpc.c ret = rxrpc_client_sendmsg(iocb, rx, trans, m, len); iocb 189 net/rxrpc/ar-output.c ret = rxrpc_send_data(iocb, rx, call, msg, len); iocb 314 net/rxrpc/ar-output.c ret = rxrpc_send_data(iocb, rx, call, msg, len); iocb 552 net/socket.c struct sock_iocb *si = kiocb_to_siocb(iocb); iocb 564 net/socket.c return sock->ops->sendmsg(iocb, sock, msg, size); iocb 569 net/socket.c struct kiocb iocb; iocb 573 net/socket.c init_sync_kiocb(&iocb, NULL); iocb 574 net/socket.c iocb.private = &siocb; iocb 575 net/socket.c ret = __sock_sendmsg(&iocb, sock, msg, size); iocb 577 net/socket.c ret = wait_on_sync_kiocb(&iocb); iocb 634 net/socket.c struct sock_iocb *si = kiocb_to_siocb(iocb); iocb 646 net/socket.c return sock->ops->recvmsg(iocb, sock, msg, size, flags); iocb 652 net/socket.c struct kiocb iocb; iocb 656 net/socket.c init_sync_kiocb(&iocb, NULL); iocb 657 net/socket.c iocb.private = &siocb; iocb 658 net/socket.c ret = __sock_recvmsg(&iocb, sock, msg, size, flags); iocb 660 net/socket.c ret = wait_on_sync_kiocb(&iocb); iocb 683 net/socket.c kfree(iocb->private); iocb 716 net/socket.c if (!is_sync_kiocb(iocb)) { iocb 720 net/socket.c iocb->ki_dtor = sock_aio_dtor; iocb 723 net/socket.c siocb->kiocb = iocb; iocb 724 net/socket.c iocb->private = siocb; iocb 747 net/socket.c return __sock_recvmsg(iocb, sock, msg, size, msg->msg_flags); iocb 758 net/socket.c if (iocb->ki_left == 0) /* Match SYS5 behaviour */ iocb 762 net/socket.c x = alloc_sock_iocb(iocb, &siocb); iocb 765 net/socket.c return do_sock_read(&x->async_msg, iocb, iocb->ki_filp, iov, nr_segs); iocb 789 net/socket.c return __sock_sendmsg(iocb, sock, msg, size); iocb 800 net/socket.c x = alloc_sock_iocb(iocb, &siocb); iocb 804 net/socket.c return do_sock_write(&x->async_msg, iocb, iocb->ki_filp, iov, nr_segs); iocb 524 net/tipc/socket.c if (iocb) iocb 600 net/tipc/socket.c if (iocb) iocb 628 net/tipc/socket.c return send_msg(iocb, sock, m, total_len); iocb 630 net/tipc/socket.c if (iocb) iocb 658 net/tipc/socket.c if (iocb) iocb 1611 net/unix/af_unix.c struct sock_iocb *siocb = kiocb_to_siocb(iocb); iocb 1731 net/unix/af_unix.c struct sock_iocb *siocb = kiocb_to_siocb(iocb); iocb 2843 sound/core/pcm_native.c pcm_file = iocb->ki_filp->private_data; iocb 2878 sound/core/pcm_native.c pcm_file = iocb->ki_filp->private_data;