Home
last modified time | relevance | path

Searched refs:kiocb (Results 1 – 25 of 39) sorted by relevance

12

/fs/
Daio.c72 kiocb_cachep = KMEM_CACHE(kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC); in aio_setup()
247 (nr_events > (0x10000000U / sizeof(struct kiocb)))) { in ioctx_alloc()
325 int (*cancel)(struct kiocb *, struct io_event *); in aio_cancel_all()
331 struct kiocb *iocb = list_kiocb(pos); in aio_cancel_all()
372 ssize_t wait_on_sync_kiocb(struct kiocb *iocb) in wait_on_sync_kiocb()
426 static struct kiocb *__aio_get_req(struct kioctx *ctx) in __aio_get_req()
428 struct kiocb *req = NULL; in __aio_get_req()
469 static inline struct kiocb *aio_get_req(struct kioctx *ctx) in aio_get_req()
471 struct kiocb *req; in aio_get_req()
484 static inline void really_put_req(struct kioctx *ctx, struct kiocb *req) in really_put_req()
[all …]
Dread_write.c242 static void wait_on_retry_sync_kiocb(struct kiocb *iocb) in wait_on_retry_sync_kiocb()
255 struct kiocb kiocb; in do_sync_read() local
258 init_sync_kiocb(&kiocb, filp); in do_sync_read()
259 kiocb.ki_pos = *ppos; in do_sync_read()
260 kiocb.ki_left = len; in do_sync_read()
263 ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos); in do_sync_read()
266 wait_on_retry_sync_kiocb(&kiocb); in do_sync_read()
270 ret = wait_on_sync_kiocb(&kiocb); in do_sync_read()
271 *ppos = kiocb.ki_pos; in do_sync_read()
310 struct kiocb kiocb; in do_sync_write() local
[all …]
Dbad_inode.c36 static ssize_t bad_file_aio_read(struct kiocb *iocb, const struct iovec *iov, in bad_file_aio_read()
42 static ssize_t bad_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in bad_file_aio_write()
102 static int bad_file_aio_fsync(struct kiocb *iocb, int datasync) in bad_file_aio_fsync()
Dread_write.h8 typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *,
Ddirect-io.c130 struct kiocb *iocb; /* kiocb */
934 direct_io_worker(int rw, struct kiocb *iocb, struct inode *inode, in direct_io_worker()
1111 __blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode, in __blockdev_direct_IO()
Dpipe.c282 pipe_read(struct kiocb *iocb, const struct iovec *_iov, in pipe_read()
395 pipe_write(struct kiocb *iocb, const struct iovec *_iov, in pipe_write()
/fs/xfs/
Dxfs_vnodeops.h10 struct kiocb;
56 ssize_t xfs_read(struct xfs_inode *ip, struct kiocb *iocb,
65 ssize_t xfs_write(struct xfs_inode *xip, struct kiocb *iocb,
/fs/ocfs2/
Dinode.h143 int ocfs2_aio_read(struct file *file, struct kiocb *req, struct iocb *iocb);
144 int ocfs2_aio_write(struct file *file, struct kiocb *req, struct iocb *iocb);
Daops.h63 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked()
Daops.c630 static void ocfs2_dio_end_io(struct kiocb *iocb, in ocfs2_dio_end_io()
671 struct kiocb *iocb, in ocfs2_direct_IO()
/fs/xfs/linux-2.6/
Dxfs_file.c50 struct kiocb *iocb, in xfs_file_aio_read()
69 struct kiocb *iocb, in xfs_file_aio_write()
Dxfs_lrw.c171 struct kiocb *iocb, in xfs_read()
561 struct kiocb *iocb, in xfs_write()
Dxfs_aops.c1470 struct kiocb *iocb, in xfs_end_io_direct()
1524 struct kiocb *iocb, in xfs_vm_direct_IO()
/fs/nfs/
Ddirect.c71 struct kiocb * iocb; /* controlling i/o request */
116 ssize_t nfs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, loff_t pos, unsigned lon… in nfs_direct_IO()
411 static ssize_t nfs_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_read()
830 static ssize_t nfs_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_write()
882 ssize_t nfs_file_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_read()
939 ssize_t nfs_file_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_write()
Dfile.c48 static ssize_t nfs_file_read(struct kiocb *, const struct iovec *iov,
50 static ssize_t nfs_file_write(struct kiocb *, const struct iovec *iov,
256 nfs_file_read(struct kiocb *iocb, const struct iovec *iov, in nfs_file_read()
506 static ssize_t nfs_file_write(struct kiocb *iocb, const struct iovec *iov, in nfs_file_write()
/fs/ext3/
Dfile.c51 ext3_file_write(struct kiocb *iocb, const struct iovec *iov, in ext3_file_write()
/fs/ntfs/
Dfile.c1782 static ssize_t ntfs_file_buffered_write(struct kiocb *iocb, in ntfs_file_buffered_write()
2097 static ssize_t ntfs_file_aio_write_nolock(struct kiocb *iocb, in ntfs_file_aio_write_nolock()
2135 static ssize_t ntfs_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in ntfs_file_aio_write()
2167 struct kiocb kiocb; in ntfs_file_writev() local
2171 init_sync_kiocb(&kiocb, file); in ntfs_file_writev()
2172 ret = ntfs_file_aio_write_nolock(&kiocb, iov, nr_segs, ppos); in ntfs_file_writev()
2174 ret = wait_on_sync_kiocb(&kiocb); in ntfs_file_writev()
/fs/ext4/
Dfile.c51 ext4_file_write(struct kiocb *iocb, const struct iovec *iov, in ext4_file_write()
/fs/smbfs/
Dfile.c218 smb_file_aio_read(struct kiocb *iocb, const struct iovec *iov, in smb_file_aio_read()
340 smb_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in smb_file_aio_write()
/fs/udf/
Dfile.c107 static ssize_t udf_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in udf_file_aio_write()
/fs/jfs/
Dinode.c309 static ssize_t jfs_direct_IO(int rw, struct kiocb *iocb, in jfs_direct_IO()
/fs/ecryptfs/
Dfile.c46 static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb, in ecryptfs_read_update_atime()
/fs/fuse/
Ddev.c742 static ssize_t fuse_dev_read(struct kiocb *iocb, const struct iovec *iov, in fuse_dev_read()
903 static ssize_t fuse_dev_write(struct kiocb *iocb, const struct iovec *iov, in fuse_dev_write()
/fs/afs/
Dinternal.h741 extern ssize_t afs_file_write(struct kiocb *, const struct iovec *,
/fs/hfsplus/
Dinode.c103 static ssize_t hfsplus_direct_IO(int rw, struct kiocb *iocb, in hfsplus_direct_IO()

12