Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dfree-space-cache.c420 ASSERT(io_ctl->index < io_ctl->num_pages); in io_ctl_map_page()
421 io_ctl->page = io_ctl->pages[io_ctl->index++]; in io_ctl_map_page()
422 io_ctl->cur = page_address(io_ctl->page); in io_ctl_map_page()
423 io_ctl->orig = io_ctl->cur; in io_ctl_map_page()
596 io_ctl_set_crc(io_ctl, io_ctl->index - 1); in io_ctl_add_entry()
599 if (io_ctl->index >= io_ctl->num_pages) in io_ctl_add_entry()
616 if (io_ctl->cur != io_ctl->orig) { in io_ctl_add_bitmap()
618 if (io_ctl->index >= io_ctl->num_pages) in io_ctl_add_bitmap()
625 if (io_ctl->index < io_ctl->num_pages) in io_ctl_add_bitmap()
636 if (io_ctl->cur != io_ctl->orig) in io_ctl_zero_remaining_pages()
[all …]
H A Dblock-group.h206 struct btrfs_io_ctl io_ctl; member
H A Dblock-group.c1120 WARN_ON(!IS_ERR(inode) && inode != block_group->io_ctl.inode); in btrfs_remove_block_group()
3389 cache->io_ctl.inode = NULL; in btrfs_start_dirty_block_groups()
3391 if (ret == 0 && cache->io_ctl.inode) { in btrfs_start_dirty_block_groups()
3546 cache->io_ctl.inode = NULL; in btrfs_write_dirty_block_groups()
3548 if (ret == 0 && cache->io_ctl.inode) { in btrfs_write_dirty_block_groups()
4342 ASSERT(block_group->io_ctl.inode == NULL); in btrfs_put_block_group_cache()
H A Ddisk-io.c4790 inode = cache->io_ctl.inode; in btrfs_cleanup_bg_io()
4799 cache->io_ctl.inode = NULL; in btrfs_cleanup_bg_io()
4802 ASSERT(cache->io_ctl.pages == NULL); in btrfs_cleanup_bg_io()