Home
last modified time | relevance | path

Searched refs:io_ctl (Results 1 – 5 of 5) sorted by relevance

/fs/btrfs/
Dfree-space-cache.c248 &block_group->io_ctl, path, in btrfs_truncate_free_space_cache()
307 static int io_ctl_init(struct btrfs_io_ctl *io_ctl, struct inode *inode, in io_ctl_init() argument
323 memset(io_ctl, 0, sizeof(struct btrfs_io_ctl)); in io_ctl_init()
325 io_ctl->pages = kcalloc(num_pages, sizeof(struct page *), GFP_NOFS); in io_ctl_init()
326 if (!io_ctl->pages) in io_ctl_init()
329 io_ctl->num_pages = num_pages; in io_ctl_init()
330 io_ctl->root = root; in io_ctl_init()
331 io_ctl->check_crcs = check_crcs; in io_ctl_init()
332 io_ctl->inode = inode; in io_ctl_init()
337 static void io_ctl_free(struct btrfs_io_ctl *io_ctl) in io_ctl_free() argument
[all …]
Dfree-space-cache.h73 struct btrfs_io_ctl *io_ctl,
Dextent-tree.c3601 &cache->io_ctl, path, in btrfs_start_dirty_block_groups()
3624 cache->io_ctl.inode = NULL; in btrfs_start_dirty_block_groups()
3626 if (ret == 0 && cache->io_ctl.inode) { in btrfs_start_dirty_block_groups()
3756 &cache->io_ctl, path, in btrfs_write_dirty_block_groups()
3776 cache->io_ctl.inode = NULL; in btrfs_write_dirty_block_groups()
3778 if (ret == 0 && cache->io_ctl.inode) { in btrfs_write_dirty_block_groups()
3827 &cache->io_ctl, path, cache->key.objectid); in btrfs_write_dirty_block_groups()
9953 ASSERT(block_group->io_ctl.inode == NULL); in btrfs_put_block_group_cache()
10551 WARN_ON(!IS_ERR(inode) && inode != block_group->io_ctl.inode); in btrfs_remove_block_group()
10555 &block_group->io_ctl, path, in btrfs_remove_block_group()
Ddisk-io.c4524 inode = cache->io_ctl.inode; in btrfs_cleanup_bg_io()
4528 cache->io_ctl.inode = NULL; in btrfs_cleanup_bg_io()
Dctree.h610 struct btrfs_io_ctl io_ctl; member