Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_data_csum_ok() -> btrfs_test_range_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 3 bit 256
PARAM_VALUE 4 cached 0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/extent_io.c find_lock_delalloc_range() -> btrfs_test_range_bit()

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 0-18446744073709547519
PARAM_VALUE 3 bit 32
PARAM_VALUE 4 cached->state 32-4294967295
BUF_SIZE 0 tree 96
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte

fs/btrfs/relocation.c tree_block_processed() -> btrfs_test_range_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 3 bit 1
PARAM_VALUE 4 cached 0
DATA_SOURCE 1 start $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 start unit_byte
UNITS 2 end unit_byte
LOCK2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->reclaim_bgs_lock
TYPE_LOCK (struct btrfs_fs_info)->cleaner_mutex
TYPE_LOCK (struct btrfs_fs_info)->reclaim_bgs_lock