Home
last modified time | relevance | path

Searched refs:io_end (Results 1 – 3 of 3) sorted by relevance

/fs/ext4/
Dpage-io.c129 static void ext4_release_io_end(ext4_io_end_t *io_end) in ext4_release_io_end() argument
133 BUG_ON(!list_empty(&io_end->list)); in ext4_release_io_end()
134 BUG_ON(io_end->flag & EXT4_IO_END_UNWRITTEN); in ext4_release_io_end()
135 WARN_ON(io_end->handle); in ext4_release_io_end()
137 if (atomic_dec_and_test(&EXT4_I(io_end->inode)->i_ioend_count)) in ext4_release_io_end()
138 wake_up_all(ext4_ioend_wq(io_end->inode)); in ext4_release_io_end()
140 for (bio = io_end->bio; bio; bio = next_bio) { in ext4_release_io_end()
145 kmem_cache_free(io_end_cachep, io_end); in ext4_release_io_end()
148 static void ext4_clear_io_unwritten_flag(ext4_io_end_t *io_end) in ext4_clear_io_unwritten_flag() argument
150 struct inode *inode = io_end->inode; in ext4_clear_io_unwritten_flag()
[all …]
Dinode.c716 ext4_io_end_t *io_end = ext4_inode_aio(inode); in _ext4_get_block() local
720 if (io_end && io_end->flag & EXT4_IO_END_UNWRITTEN) in _ext4_get_block()
1893 io_submit.io_end = ext4_init_io_end(inode, GFP_NOFS); in ext4_writepage()
1894 if (!io_submit.io_end) { in ext4_writepage()
1902 ext4_put_io_end_defer(io_submit.io_end); in ext4_writepage()
2125 mpd->io_submit.io_end->size += PAGE_CACHE_SIZE; in mpage_map_and_submit_buffers()
2177 if (!mpd->io_submit.io_end->handle && in mpage_map_one_extent()
2179 mpd->io_submit.io_end->handle = handle->h_rsv_handle; in mpage_map_one_extent()
2182 ext4_set_io_unwritten_flag(inode, mpd->io_submit.io_end); in mpage_map_one_extent()
2226 mpd->io_submit.io_end->offset = in mpage_map_and_submit_extent()
[all …]
Dext4.h205 ext4_io_end_t *io_end; member
1429 struct ext4_io_end *io_end) in ext4_set_io_unwritten_flag() argument
1431 if (!(io_end->flag & EXT4_IO_END_UNWRITTEN)) { in ext4_set_io_unwritten_flag()
1432 io_end->flag |= EXT4_IO_END_UNWRITTEN; in ext4_set_io_unwritten_flag()
2983 extern ext4_io_end_t *ext4_get_io_end(ext4_io_end_t *io_end);
2984 extern int ext4_put_io_end(ext4_io_end_t *io_end);
2985 extern void ext4_put_io_end_defer(ext4_io_end_t *io_end);