Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/file.c find_delalloc_subrange() -> btrfs_count_range_bits()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 1 start 1232228668315844608
PARAM_VALUE 4 bits 32
PARAM_VALUE 5 contig 1
PARAM_VALUE 6 cached_state 0,4096-ptr_max
BUF_SIZE 6 cached_state (-1)-0,8
BUF_SIZE 6 cached_state (-1)-0,8
CAPPED_DATA 1 *start 1
DATA_SOURCE 1 start $5
DATA_SOURCE 2 search_end $2
DATA_SOURCE 6 cached_state $3
PARAM_COMPARE 2 search_end <= $3
NOSPEC 1 *start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *start 0-s32max[c]
UNITS 2 search_end unit_byte
UNITS 3 max_bytes unit_byte
USER_PTR 1 start
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/inode.c fallback_to_cow() -> btrfs_count_range_bits()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->inode->root->fs_info->delalloc_bytes.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 tree->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 start 1664074875338813440
PARAM_VALUE 1 *start 0-18446744073709551614
PARAM_VALUE 4 bits 2048
PARAM_VALUE 5 contig 0
PARAM_VALUE 6 cached_state 0
BUF_SIZE 0 tree 96
CAPPED_DATA 2 search_end 1
CAPPED_DATA 2 search_end 1
CAPPED_DATA 3 max_bytes 1
CAPPED_DATA 3 max_bytes 1
DATA_SOURCE 2 search_end $3
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 *start
UNITS 2 search_end unit_byte
UNITS 3 max_bytes unit_byte
HALF_LOCKED2 &mapping->invalidate_lock