Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/transaction.c create_pending_snapshot() -> btrfs_get_new_fs_root()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->tree_root 4096-ptr_max
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 objectid 0-18446744073709551359
PARAM_VALUE 2 anon_dev 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 fs_info unit_byte
LOCK2 &fs_info->reloc_mutex
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &fs_info->transaction_kthread_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->reloc_mutex

fs/btrfs/ioctl.c create_subvol() -> btrfs_get_new_fs_root()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->tree_root 4096-ptr_max
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 fs_info->tree_root->objectid_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 objectid 0-18446744073709551359
PARAM_VALUE 2 anon_dev 2616630167459393536
PARAM_VALUE 2 *anon_dev 0-s32max
UNITS 0 fs_info unit_byte
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem