Home
last modified time | relevance | path

Searched refs:io (Results 1 – 18 of 18) sorted by relevance

/fs/ext4/
Dpage-io.c162 static int ext4_end_io(ext4_io_end_t *io) in ext4_end_io() argument
164 struct inode *inode = io->inode; in ext4_end_io()
165 loff_t offset = io->offset; in ext4_end_io()
166 ssize_t size = io->size; in ext4_end_io()
167 handle_t *handle = io->handle; in ext4_end_io()
172 io, inode->i_ino, io->list.next, io->list.prev); in ext4_end_io()
174 io->handle = NULL; /* Following call will use up the handle */ in ext4_end_io()
183 ext4_clear_io_unwritten_flag(io); in ext4_end_io()
184 ext4_release_io_end(io); in ext4_end_io()
192 ext4_io_end_t *io, *io0, *io1; in dump_completed_IO() local
[all …]
DMakefile7 ext4-y := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o page-io.o \
Dext4.h1492 static inline void ext4_inode_aio_set(struct inode *inode, ext4_io_end_t *io) in ext4_inode_aio_set() argument
1494 inode->i_private = io; in ext4_inode_aio_set()
3219 extern void ext4_io_submit_init(struct ext4_io_submit *io,
3222 extern void ext4_io_submit(struct ext4_io_submit *io);
3223 extern int ext4_bio_write_page(struct ext4_io_submit *io,
Dextents.c4058 ext4_io_end_t *io = ext4_inode_aio(inode); in ext4_ext_handle_unwritten_extents() local
4086 if (io) in ext4_ext_handle_unwritten_extents()
4087 ext4_set_io_unwritten_flag(inode, io); in ext4_ext_handle_unwritten_extents()
4326 ext4_io_end_t *io = ext4_inode_aio(inode); in ext4_ext_map_blocks() local
4545 if (io) in ext4_ext_map_blocks()
4546 ext4_set_io_unwritten_flag(inode, io); in ext4_ext_map_blocks()
/fs/fuse/
Dfile.c568 static ssize_t fuse_get_res_by_io(struct fuse_io_priv *io) in fuse_get_res_by_io() argument
570 if (io->err) in fuse_get_res_by_io()
571 return io->err; in fuse_get_res_by_io()
573 if (io->bytes >= 0 && io->write) in fuse_get_res_by_io()
576 return io->bytes < 0 ? io->size : io->bytes; in fuse_get_res_by_io()
595 static void fuse_aio_complete(struct fuse_io_priv *io, int err, ssize_t pos) in fuse_aio_complete() argument
597 bool is_sync = is_sync_kiocb(io->iocb); in fuse_aio_complete()
600 spin_lock(&io->lock); in fuse_aio_complete()
602 io->err = io->err ? : err; in fuse_aio_complete()
603 else if (pos >= 0 && (io->bytes < 0 || pos < io->bytes)) in fuse_aio_complete()
[all …]
Dcuse.c93 struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb->ki_filp); in cuse_read_iter() local
96 return fuse_direct_io(&io, to, &pos, FUSE_DIO_CUSE); in cuse_read_iter()
101 struct fuse_io_priv io = FUSE_IO_PRIV_SYNC(kiocb->ki_filp); in cuse_write_iter() local
107 return fuse_direct_io(&io, from, &pos, in cuse_write_iter()
Dfuse_i.h380 struct fuse_io_priv *io; member
430 struct list_head io; member
944 ssize_t fuse_direct_io(struct fuse_io_priv *io, struct iov_iter *iter,
Ddev.c1338 list_add(&req->list, &fpq->io); in fuse_dev_do_read()
1979 list_move(&req->list, &fpq->io); in fuse_dev_do_write()
2210 list_for_each_entry_safe(req, next, &fpq->io, list) { in fuse_abort_conn()
2270 WARN_ON(!list_empty(&fpq->io)); in fuse_dev_release()
Dinode.c582 INIT_LIST_HEAD(&fpq->io); in fuse_pqueue_init()
/fs/f2fs/
Ddata.c301 static void __submit_merged_bio(struct f2fs_bio_info *io) in __submit_merged_bio() argument
303 struct f2fs_io_info *fio = &io->fio; in __submit_merged_bio()
305 if (!io->bio) in __submit_merged_bio()
308 bio_set_op_attrs(io->bio, fio->op, fio->op_flags); in __submit_merged_bio()
311 trace_f2fs_prepare_read_bio(io->sbi->sb, fio->type, io->bio); in __submit_merged_bio()
313 trace_f2fs_prepare_write_bio(io->sbi->sb, fio->type, io->bio); in __submit_merged_bio()
315 __submit_bio(io->sbi, io->bio, fio->type); in __submit_merged_bio()
316 io->bio = NULL; in __submit_merged_bio()
319 static bool __has_merged_page(struct f2fs_bio_info *io, in __has_merged_page() argument
326 if (!io->bio) in __has_merged_page()
[all …]
Dsegment.c2784 struct f2fs_bio_info *io; in allocate_data_block() local
2788 io = sbi->write_io[fio->type] + fio->temp; in allocate_data_block()
2789 spin_lock(&io->io_lock); in allocate_data_block()
2790 list_add_tail(&fio->list, &io->io_list); in allocate_data_block()
2791 spin_unlock(&io->io_lock); in allocate_data_block()
/fs/btrfs/
DMakefile5 file-item.o inode-item.o inode-map.o disk-io.o \
19 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o
Dextent-tree.c3529 struct list_head *io = &cur_trans->io_bgs; in btrfs_start_dirty_block_groups() local
3605 list_add_tail(&cache->io_list, io); in btrfs_start_dirty_block_groups()
3688 struct list_head *io = &cur_trans->io_bgs; in btrfs_write_dirty_block_groups() local
3737 list_add_tail(&cache->io_list, io); in btrfs_write_dirty_block_groups()
3757 while (!list_empty(io)) { in btrfs_write_dirty_block_groups()
3758 cache = list_first_entry(io, struct btrfs_block_group_cache, in btrfs_write_dirty_block_groups()
/fs/befs/
DMakefile7 befs-objs := datastream.o btree.o super.o inode.o debug.o io.o linuxvfs.o
DChangeLog135 * Implemented the abstracted read_block() in io.c [WD]
140 hanging disk io problem. It turns out you need to have the sync_pages
230 It doesn't chew up the buffer cache (it does page io instead), and seems
300 * Created io.c, for io related functions.
/fs/ubifs/
DMakefile3 ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o
/fs/
DMakefile17 obj-y += buffer.o block_dev.o direct-io.o mpage.o
/fs/nfs/
Dpnfs.c1420 bool size = false, size_set = false, io = false, io_set = false, ret = false; in pnfs_within_mdsthreshold() local
1441 io = true; in pnfs_within_mdsthreshold()
1456 io = true; in pnfs_within_mdsthreshold()
1461 if (size && io) in pnfs_within_mdsthreshold()
1463 } else if (size || io) in pnfs_within_mdsthreshold()
1466 dprintk("<-- %s size %d io %d ret %d\n", __func__, size, io, ret); in pnfs_within_mdsthreshold()