Home
last modified time | relevance | path

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

12

/fs/
Daio.c128 kiocb_cachep = KMEM_CACHE(kiocb, SLAB_HWCACHE_ALIGN|SLAB_PANIC); in aio_setup()
223 void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel) in kiocb_set_cancel_fn()
239 static int kiocb_cancel(struct kioctx *ctx, struct kiocb *kiocb, in kiocb_cancel() argument
250 cancel = ACCESS_ONCE(kiocb->ki_cancel); in kiocb_cancel()
256 cancel = cmpxchg(&kiocb->ki_cancel, old, KIOCB_CANCELLED); in kiocb_cancel()
259 atomic_inc(&kiocb->ki_users); in kiocb_cancel()
263 res->obj = (u64)(unsigned long)kiocb->ki_obj.user; in kiocb_cancel()
264 res->data = kiocb->ki_user_data; in kiocb_cancel()
265 ret = cancel(kiocb, res); in kiocb_cancel()
287 struct kiocb *req; in free_ioctx()
[all …]
Dread_write.c26 typedef ssize_t (*iov_fn_t)(struct kiocb *, const struct iovec *,
336 struct kiocb kiocb; in do_sync_read() local
339 init_sync_kiocb(&kiocb, filp); in do_sync_read()
340 kiocb.ki_pos = *ppos; in do_sync_read()
341 kiocb.ki_left = len; in do_sync_read()
342 kiocb.ki_nbytes = len; in do_sync_read()
344 ret = filp->f_op->aio_read(&kiocb, &iov, 1, kiocb.ki_pos); in do_sync_read()
346 ret = wait_on_sync_kiocb(&kiocb); in do_sync_read()
347 *ppos = kiocb.ki_pos; in do_sync_read()
386 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()
96 static int bad_file_aio_fsync(struct kiocb *iocb, int datasync) in bad_file_aio_fsync()
Ddirect-io.c137 struct kiocb *iocb; /* kiocb */
1099 do_blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode, in do_blockdev_direct_IO()
1334 __blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode, in __blockdev_direct_IO()
Dblock_dev.c161 blkdev_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, in blkdev_direct_IO()
1525 ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, in blkdev_aio_write()
1548 static ssize_t blkdev_aio_read(struct kiocb *iocb, const struct iovec *iov, in blkdev_aio_read()
Dpipe.c377 pipe_read(struct kiocb *iocb, const struct iovec *_iov, in pipe_read()
504 pipe_write(struct kiocb *iocb, const struct iovec *_iov, in pipe_write()
/fs/cifs/
Dcifsfs.h88 extern ssize_t cifs_user_readv(struct kiocb *iocb, const struct iovec *iov,
90 extern ssize_t cifs_strict_readv(struct kiocb *iocb, const struct iovec *iov,
92 extern ssize_t cifs_user_writev(struct kiocb *iocb, const struct iovec *iov,
94 extern ssize_t cifs_strict_writev(struct kiocb *iocb, const struct iovec *iov,
Dfile.c2482 ssize_t cifs_user_writev(struct kiocb *iocb, const struct iovec *iov, in cifs_user_writev()
2506 cifs_writev(struct kiocb *iocb, const struct iovec *iov, in cifs_writev()
2545 cifs_strict_writev(struct kiocb *iocb, const struct iovec *iov, in cifs_strict_writev()
2904 ssize_t cifs_user_readv(struct kiocb *iocb, const struct iovec *iov, in cifs_user_readv()
2917 cifs_strict_readv(struct kiocb *iocb, const struct iovec *iov, in cifs_strict_readv()
/fs/nfs/
Ddirect.c75 struct kiocb * iocb; /* controlling i/o request */
124 ssize_t nfs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, loff_t pos, unsigned lon… in nfs_direct_IO()
443 static ssize_t nfs_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_read()
847 static ssize_t nfs_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_direct_write()
902 ssize_t nfs_file_direct_read(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_read()
958 ssize_t nfs_file_direct_write(struct kiocb *iocb, const struct iovec *iov, in nfs_file_direct_write()
Dinternal.h288 ssize_t nfs_file_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
292 ssize_t nfs_file_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
Dfile.c175 nfs_file_read(struct kiocb *iocb, const struct iovec *iov, in nfs_file_read()
615 ssize_t nfs_file_write(struct kiocb *iocb, const struct iovec *iov, in nfs_file_write()
/fs/udf/
Dfile.c121 static ssize_t udf_adinicb_direct_IO(int rw, struct kiocb *iocb, in udf_adinicb_direct_IO()
137 static ssize_t udf_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in udf_file_aio_write()
/fs/sdcardfs/
Dmmap.c69 static ssize_t sdcardfs_direct_IO(int rw, struct kiocb *iocb, in sdcardfs_direct_IO()
/fs/xfs/
Dxfs_vnodeops.h9 struct kiocb;
Dxfs_file.c230 struct kiocb *iocb, in xfs_file_aio_read()
623 struct kiocb *iocb, in xfs_file_dio_aio_write()
708 struct kiocb *iocb, in xfs_file_buffered_aio_write()
756 struct kiocb *iocb, in xfs_file_aio_write()
Dxfs_aops.c1380 struct kiocb *iocb, in xfs_end_io_direct_write()
1414 struct kiocb *iocb, in xfs_vm_direct_IO()
/fs/ocfs2/
Daops.h65 static inline void ocfs2_iocb_set_rw_locked(struct kiocb *iocb, int level) in ocfs2_iocb_set_rw_locked()
/fs/ext4/
Dfile.c93 ext4_file_write_iter(struct kiocb *iocb, struct iov_iter *from)
224 ext4_file_dio_write(struct kiocb *iocb, const struct iovec *iov, in ext4_file_dio_write()
297 ext4_file_write(struct kiocb *iocb, const struct iovec *iov, in ext4_file_write()
/fs/9p/
Dvfs_addr.c260 v9fs_direct_IO(int rw, struct kiocb *iocb, const struct iovec *iov, in v9fs_direct_IO()
/fs/jfs/
Dinode.c333 static ssize_t jfs_direct_IO(int rw, struct kiocb *iocb, in jfs_direct_IO()
/fs/ecryptfs/
Dfile.c47 static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb, in ecryptfs_read_update_atime()
/fs/fuse/
Dfuse_i.h241 struct kiocb *iocb;
/fs/ceph/
Dfile.c632 static ssize_t ceph_aio_read(struct kiocb *iocb, const struct iovec *iov, in ceph_aio_read()
703 static ssize_t ceph_aio_write(struct kiocb *iocb, const struct iovec *iov, in ceph_aio_write()
/fs/ntfs/
Dfile.c1781 static ssize_t ntfs_file_buffered_write(struct kiocb *iocb, in ntfs_file_buffered_write()
2084 static ssize_t ntfs_file_aio_write_nolock(struct kiocb *iocb, in ntfs_file_aio_write_nolock()
2123 static ssize_t ntfs_file_aio_write(struct kiocb *iocb, const struct iovec *iov, in ntfs_file_aio_write()
/fs/afs/
Dinternal.h750 extern ssize_t afs_file_write(struct kiocb *, const struct iovec *,

12