Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/free-space-tree.c btrfs_free_space_test_bit() -> extent_buffer_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 1 start 101-4294967396
DATA_SOURCE 2 nr r div_u64
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &caching_ctl->mutex
HALF_LOCKED2 &fs_info->commit_root_sem
HALF_LOCKED2 &pool->lock

fs/btrfs/tests/extent-io-tests.c check_eb_bitmap() -> extent_buffer_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folio_shift 12
PARAM_VALUE 0 eb->folio_size 4096
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next->next 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next->prev 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->eb_leak_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eb->leak_list.next 4096-ptr_max
PARAM_VALUE 0 eb->leak_list.prev 4096-ptr_max
PARAM_VALUE 0 eb->len 0-65536
PARAM_VALUE 0 eb->lock.count.counter 0
PARAM_VALUE 0 eb->lock.dep_map->name 0-255
PARAM_VALUE 0 eb->lock.first_waiter 0
PARAM_VALUE 0 eb->lock.magic 4096-ptr_max
PARAM_VALUE 0 eb->lock.osq.tail.counter 0
PARAM_VALUE 0 eb->lock.owner.counter 0
PARAM_VALUE 0 eb->refs.refs.counter 1
PARAM_VALUE 0 eb->start 0-u32max
PARAM_VALUE 0 eb->writeback_inhibitors.counter 0
PARAM_VALUE 1 start 0
PARAM_VALUE 2 nr 0-524287
BUF_SIZE 0 eb (-1)-s32max
BUF_SIZE 0 eb (-1)-s32max
BUF_SIZE 0 eb->fs_info 11312
CAPPED_DATA 0 eb 1
CAPPED_DATA 0 eb->len 1
CAPPED_DATA 2 nr 1
CAPPED_DATA 2 nr 1
DATA_SOURCE 0 eb $1
FUZZY_MAX 0 eb->len 1
NO_OVERFLOW_SIMPLE 0 eb->len
NO_OVERFLOW_SIMPLE 0 eb->start

fs/btrfs/tests/extent-io-tests.c check_eb_bitmap() -> extent_buffer_test_bit()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folio_shift 12
PARAM_VALUE 0 eb->folio_size 4096
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next->next 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->allocated_ebs.next->prev 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->eb_leak_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 eb->leak_list.next 4096-ptr_max
PARAM_VALUE 0 eb->leak_list.prev 4096-ptr_max
PARAM_VALUE 0 eb->len 0-65536
PARAM_VALUE 0 eb->lock.count.counter 0
PARAM_VALUE 0 eb->lock.dep_map->name 0-255
PARAM_VALUE 0 eb->lock.first_waiter 0
PARAM_VALUE 0 eb->lock.magic 4096-ptr_max
PARAM_VALUE 0 eb->lock.osq.tail.counter 0
PARAM_VALUE 0 eb->lock.owner.counter 0
PARAM_VALUE 0 eb->refs.refs.counter 1
PARAM_VALUE 0 eb->start 0-u32max
PARAM_VALUE 0 eb->writeback_inhibitors.counter 0
PARAM_VALUE 1 start 0-u16max
PARAM_VALUE 2 nr 0-7
BUF_SIZE 0 eb (-1)-s32max
BUF_SIZE 0 eb (-1)-s32max
BUF_SIZE 0 eb->fs_info 11312
CAPPED_DATA 0 eb 1
CAPPED_DATA 0 eb->len 1
CAPPED_DATA 1 start 1
CAPPED_DATA 2 nr 1
DATA_SOURCE 0 eb $1
FUZZY_MAX 0 eb->len 1
NO_OVERFLOW_SIMPLE 0 eb->len
NO_OVERFLOW_SIMPLE 0 eb->start