Searched refs:io_ctl (Results 1 – 4 of 4) sorted by relevance
422 ASSERT(io_ctl->index < io_ctl->num_pages); in io_ctl_map_page()423 io_ctl->page = io_ctl->pages[io_ctl->index++]; in io_ctl_map_page()424 io_ctl->cur = page_address(io_ctl->page); in io_ctl_map_page()425 io_ctl->orig = io_ctl->cur; in io_ctl_map_page()598 io_ctl_set_crc(io_ctl, io_ctl->index - 1); in io_ctl_add_entry()601 if (io_ctl->index >= io_ctl->num_pages) in io_ctl_add_entry()618 if (io_ctl->cur != io_ctl->orig) { in io_ctl_add_bitmap()620 if (io_ctl->index >= io_ctl->num_pages) in io_ctl_add_bitmap()627 if (io_ctl->index < io_ctl->num_pages) in io_ctl_add_bitmap()638 if (io_ctl->cur != io_ctl->orig) in io_ctl_zero_remaining_pages()[all …]
221 struct btrfs_io_ctl io_ctl; member
1129 WARN_ON(!IS_ERR(inode) && inode != block_group->io_ctl.inode); in btrfs_remove_block_group()3421 cache->io_ctl.inode = NULL; in btrfs_start_dirty_block_groups()3423 if (ret == 0 && cache->io_ctl.inode) { in btrfs_start_dirty_block_groups()3577 cache->io_ctl.inode = NULL; in btrfs_write_dirty_block_groups()3579 if (ret == 0 && cache->io_ctl.inode) { in btrfs_write_dirty_block_groups()4369 ASSERT(block_group->io_ctl.inode == NULL); in btrfs_put_block_group_cache()
4719 inode = cache->io_ctl.inode; in btrfs_cleanup_bg_io()4728 cache->io_ctl.inode = NULL; in btrfs_cleanup_bg_io()4731 ASSERT(cache->io_ctl.pages == NULL); in btrfs_cleanup_bg_io()