Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/volumes.c calc_one_profile_avail() -> alloc_virtual_chunk()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_devices->rw_devices 1-u64max
PARAM_VALUE 0 fs_info->sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 1 devices_info 4096-ptr_max
PARAM_VALUE 2 type 0-8
PARAM_VALUE 3 allocated 2534533230122655744
BUF_SIZE 1 devices_info 0-u64max
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 devices_info r _kzalloc_noprof
DATA_SOURCE 2 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fs_info->fs_error
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &uuid_mutex
HALF_LOCKED2 0 &fs_info->chunk_mutex
HALF_LOCKED2 0 &fs_info->fs_devices->device_list_mutex
TYPE_LOCK (struct btrfs_fs_info)->chunk_mutex

fs/btrfs/volumes.c calc_one_profile_avail() -> alloc_virtual_chunk()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->fs_devices 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_devices->rw_devices 1-u64max
PARAM_VALUE 0 fs_info->sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 1 devices_info 4096-ptr_max
PARAM_VALUE 2 type 0-8
PARAM_VALUE 3 allocated 2534533230122655744
BUF_SIZE 1 devices_info 0-u64max
DATA_SOURCE 0 fs_info $0
DATA_SOURCE 1 devices_info r _kzalloc_noprof
DATA_SOURCE 2 type $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fs_info->fs_error
UNITS 0 fs_info unit_byte
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &uuid_mutex
HALF_LOCKED2 0 &fs_info->chunk_mutex
HALF_LOCKED2 0 &fs_info->fs_devices->device_list_mutex
TYPE_LOCK (struct btrfs_fs_info)->chunk_mutex