Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_remove_dev_stat_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 devid 0
DATA_SOURCE 0 trans r btrfs_start_transaction
NOCHECK_CALL
LOCK2 &dev_replace->lock_finishing_cancel_unmount
TYPE_LOCK (struct btrfs_dev_replace)->lock_finishing_cancel_unmount

fs/btrfs/volumes.c btrfs_rm_device() -> btrfs_remove_dev_stat_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 0 trans->fs_info->balance_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->chunk_block_rsv.space_info->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->chunk_mutex.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 trans->fs_info->chunk_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 trans->fs_info->chunk_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 trans->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->mapping_tree_lock.owner (-1)
PARAM_VALUE 0 trans->fs_info->mapping_tree_lock.owner_cpu u32max
PARAM_VALUE 0 trans->fs_info->mapping_tree_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 trans->fs_info->profiles_lock.seqcount.seqcount.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->super_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 trans r btrfs_start_transaction
CAPABLE 0 21
UNITS 1 devid unit_byte