Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/free-space-cache.c __btrfs_write_out_cache() -> write_cache_extent_entries()

Type Parameter Key Value
PARAM_VALUE 0 io_ctl 4096-ptr_max
PARAM_VALUE 0 io_ctl->bitmaps 0
PARAM_VALUE 0 io_ctl->cur 8
PARAM_VALUE 0 io_ctl->entries 0
PARAM_VALUE 0 io_ctl->index 0
PARAM_VALUE 0 io_ctl->inode 4096-ptr_max
PARAM_VALUE 0 io_ctl->inode->i_mapping 0
PARAM_VALUE 0 io_ctl->inode->i_size 0
PARAM_VALUE 0 io_ctl->num_pages 0
PARAM_VALUE 0 io_ctl->orig 0
PARAM_VALUE 0 io_ctl->page 0
PARAM_VALUE 0 io_ctl->pages 4096-ptr_max
PARAM_VALUE 0 io_ctl->size 18446744073709551608
PARAM_VALUE 0 *io_ctl->pages 4096-ptr_max
PARAM_VALUE 1 block_group 4096-ptr_max
PARAM_VALUE 1 block_group->data_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 block_group->data_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 block_group->dirty_list.next 4096-ptr_max
PARAM_VALUE 1 block_group->dirty_list.next->next 4096-ptr_max
PARAM_VALUE 1 block_group->dirty_list.prev 4096-ptr_max
PARAM_VALUE 1 block_group->dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 1 block_group->dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 block_group->disk_cache_state 2-3
PARAM_VALUE 1 block_group->free_space_ctl 4096-ptr_max
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.dep_map->name 0-255
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 block_group->free_space_ctl->cache_writeout_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 block_group->free_space_ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 block_group->fs_info 4096-ptr_max
PARAM_VALUE 1 block_group->fs_info->discard_ctl.work.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 block_group->fs_info->discard_ctl.work.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 block_group->fs_info->discard_ctl.work.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 block_group->inode 0,4096-ptr_max,(-984)
PARAM_VALUE 1 block_group->io_ctl.bitmaps 0
PARAM_VALUE 1 block_group->io_ctl.cur 8
PARAM_VALUE 1 block_group->io_ctl.entries 0
PARAM_VALUE 1 block_group->io_ctl.index 0
PARAM_VALUE 1 block_group->io_ctl.inode 4096-ptr_max
PARAM_VALUE 1 block_group->io_ctl.num_pages 0
PARAM_VALUE 1 block_group->io_ctl.orig 0
PARAM_VALUE 1 block_group->io_ctl.page 0
PARAM_VALUE 1 block_group->io_ctl.pages 4096-ptr_max
PARAM_VALUE 1 block_group->io_ctl.size 18446744073709551608
PARAM_VALUE 1 block_group->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 *block_group->io_ctl->pages 4096-ptr_max
PARAM_VALUE 2 entries 2486420106907586560
PARAM_VALUE 2 *entries 0
PARAM_VALUE 3 bitmaps 9108236233439035392
PARAM_VALUE 3 *bitmaps 0
PARAM_VALUE 4 bitmap_list 2160474090387333120
PARAM_VALUE 4 bitmap_list->next 2160474090387333120
PARAM_VALUE 4 bitmap_list->prev 2160474090387333120
BUF_SIZE 0 io_ctl 72
DATA_SOURCE 1 block_group $1
PARAM_COMPARE 1 &block_group->io_ctl == $0
MEM_ZERO 0 io_ctl
MEM_ZERO 0 io_ctl->inode
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 io_ctl->num_pages
LOCK2 &ctl->cache_writeout_mutex
LOCK2 &ctl->tree_lock
HALF_LOCKED2 &trans->transaction->cache_write_mutex
HALF_LOCKED2 1 &block_group->data_rwsem
TYPE_LOCK (struct btrfs_free_space_ctl)->cache_writeout_mutex
TYPE_LOCK (struct btrfs_free_space_ctl)->tree_lock