Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/volumes.c btrfs_relocate_chunk_finish() -> btrfs_remove_chunk()

Type Parameter Key Value
PARAM_VALUE 0 trans 0-ptr_max
PARAM_VALUE 1 chunk_offset 0-18446744073709551614
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
CAPPED_DATA 1 chunk_offset 1
CAPPED_DATA 1 chunk_offset 1
DATA_SOURCE 0 trans r btrfs_start_trans_remove_block_group
RX_PATH
TASK_NOT_RUNNING
UNITS 1 chunk_offset unit_byte
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock

fs/btrfs/block-group.c btrfs_delete_unused_bgs() -> btrfs_remove_chunk()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 trans->fs_info->unused_bg_unpin_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 trans->transaction 4096-ptr_max
PARAM_VALUE 1 chunk_offset 0-18446744073709551614
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
CAPPED_DATA 0 trans->transaction->list.prev 1
CAPPED_DATA 1 chunk_offset 1
CAPPED_DATA 1 chunk_offset 1
DATA_SOURCE 0 trans r btrfs_start_trans_remove_block_group
RX_PATH
TASK_NOT_RUNNING
UNITS 1 chunk_offset unit_byte
LOCK2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock