Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/free-space-cache.c insert_into_bitmap() -> add_bytes_to_bitmap()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->block_group 4096-ptr_max
PARAM_VALUE 0 ctl->block_group->fs_info 4096-ptr_max
PARAM_VALUE 0 ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 1 info->bitmap 1-u64max
CAPPED_DATA 1 info->offset 1
DATA_SOURCE 0 ctl $0
NOSPEC 2 offset
NOSPEC 2 offset
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 offset 1-6442450941[c]
USER_DATA 3 bytes 0-u64max[c]
NO_OVERFLOW_SIMPLE 2 offset
UNITS 2 offset unit_byte
UNITS 3 bytes unit_byte
LOCK2 &cluster->lock
LOCK2 0 &ctl->tree_lock
HALF_LOCKED2 &ctl->cache_writeout_mutex
TYPE_LOCK (struct btrfs_free_cluster)->lock
TYPE_LOCK (struct btrfs_free_space_ctl)->tree_lock

fs/btrfs/free-space-cache.c insert_into_bitmap() -> add_bytes_to_bitmap()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->block_group 4096-ptr_max
PARAM_VALUE 0 ctl->block_group->fs_info 4096-ptr_max
PARAM_VALUE 0 ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 info 4096-ptr_max
CAPPED_DATA 1 info->offset 1
DATA_SOURCE 0 ctl $0
DATA_SOURCE 1 info r tree_search_offset
NOSPEC 2 offset
NOSPEC 2 offset
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 offset 1-8589934588[c]
USER_DATA 3 bytes 0-u64max[c]
NO_OVERFLOW_SIMPLE 2 offset
UNITS 2 offset unit_byte
UNITS 3 bytes unit_byte
LOCK2 0 &ctl->tree_lock
HALF_LOCKED2 &ctl->cache_writeout_mutex
TYPE_LOCK (struct btrfs_free_space_ctl)->tree_lock

fs/btrfs/free-space-cache.c test_add_free_space_entry() -> add_bytes_to_bitmap()

Type Parameter Key Value
PARAM_VALUE 0 ctl 4096-ptr_max
PARAM_VALUE 0 ctl->block_group 4096-ptr_max
PARAM_VALUE 0 ctl->block_group->fs_info 4096-ptr_max
PARAM_VALUE 0 ctl->cache_writeout_mutex.magic 4096-ptr_max
PARAM_VALUE 0 ctl->tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctl->trimming_ranges.next 4096-ptr_max
PARAM_VALUE 0 ctl->trimming_ranges.prev 4096-ptr_max
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 4 trim_state 1
DATA_SOURCE 2 offset $1
DATA_SOURCE 3 bytes $2
PREEMPT_ADD <- disables preempt
UNITS 3 bytes unit_byte
LOCK2 0 &ctl->tree_lock
TYPE_LOCK (struct btrfs_free_space_ctl)->tree_lock