Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/disk-io.c btrfs_add_log_tree() -> alloc_log_tree()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
LOCK2 &root->log_mutex
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct btrfs_root)->log_mutex

fs/btrfs/disk-io.c btrfs_init_log_root_tree() -> alloc_log_tree()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->log_root_tree 0
PARAM_VALUE 0 fs_info->tree_root 4096-ptr_max
PARAM_VALUE 0 fs_info->tree_root->log_mutex.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->log_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fs_info->tree_root->log_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 fs_info->tree_root->log_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->log_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 fs_info->tree_root->log_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 fs_info $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
LOCK2 &tree_root->log_mutex
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
TYPE_LOCK (struct btrfs_root)->log_mutex