Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/extent-io-tree.c btrfs_lock_extent_bits() -> set_extent_bit()

Type Parameter Key Value
PARAM_VALUE 3 bits 2,4,32770
PARAM_VALUE 4 failed_start 7916808641547902976
PARAM_VALUE 5 failed_state 4242036740534108160
PARAM_VALUE 5 *failed_state 0
PARAM_VALUE 7 changeset 0
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
BUF_SIZE 6 cached_state (-1),8
BUF_SIZE 6 cached_state (-1),8
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 bits $3
DATA_SOURCE 6 cached_state $4
NOSPEC 1 start
NOSPEC 2 end
HARD_MAX 3 bits 32770
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-u64max
USER_DATA 2 end 0-9223372041149743101,u64max
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/extent-io-tree.c btrfs_lock_extent_bits() -> set_extent_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 0 tree->lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 bits 2,4,32770
PARAM_VALUE 4 failed_start 7916808641547902976
PARAM_VALUE 5 failed_state 4242036740534108160
PARAM_VALUE 5 *failed_state 0,4096-ptr_max
PARAM_VALUE 7 changeset 0
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
BUF_SIZE 6 cached_state (-1),8
BUF_SIZE 6 cached_state (-1),8
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 bits $3
DATA_SOURCE 6 cached_state $4
NOSPEC 1 start
NOSPEC 2 end
NOSPEC 6 *cached_state->end
NOSPEC 6 *cached_state->start
HARD_MAX 3 bits 32770
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-u64max
USER_DATA 2 end 0-9223372041149743101,u64max
USER_DATA 4 *failed_start 0-u64max[c]
USER_DATA 6 *cached_state->end (-1)-s64max[u]
USER_DATA 6 *cached_state->start s64min-s64max
UNITS 1 start unit_byte
UNITS 2 end unit_byte
USER_PTR 4 failed_start
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/extent-io-tree.c btrfs_set_extent_bit() -> set_extent_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 1-u64max
PARAM_VALUE 3 bits 1,8,16,32,64-65,96,128,256,2048,2080,16384,16416,18464,262145
PARAM_VALUE 4 failed_start 0
PARAM_VALUE 5 failed_state 0
PARAM_VALUE 6 cached_state 0,4096-ptr_max
PARAM_VALUE 7 changeset 0
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 bits $3
DATA_SOURCE 6 cached_state $4
NOSPEC 1 start
NOSPEC 1 start
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-9223372036888330239[c]
USER_DATA 2 end 0-6442450941,u64max
NO_OVERFLOW_SIMPLE 0 tree->fs_info->nodesize
NO_OVERFLOW_SIMPLE 0 tree->fs_info->sectorsize
NO_OVERFLOW_SIMPLE 1 start
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &buf->lock
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &dev_replace->rwsem
HALF_LOCKED2 &fs_devices->device_list_mutex
HALF_LOCKED2 &fs_info->chunk_mutex
HALF_LOCKED2 &fs_info->mapping_tree_lock
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/extent-io-tree.c btrfs_set_record_extent_bits() -> set_extent_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 4096-ptr_max
PARAM_VALUE 3 bits 4096
PARAM_VALUE 4 failed_start 0
PARAM_VALUE 5 failed_state 0
PARAM_VALUE 6 cached_state 0
PARAM_VALUE 7 changeset 4096-ptr_max
BUF_SIZE 7 changeset (-1),48
BUF_SIZE 7 changeset (-1),48
CAPPED_DATA 1 start 1
CAPPED_DATA 1 start 1
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 bits $3
DATA_SOURCE 7 changeset $4
NOSPEC 1 start
NOSPEC 1 start
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-u64max[c]
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/extent-io-tree.c btrfs_try_lock_extent_bits() -> set_extent_bit()

Type Parameter Key Value
PARAM_VALUE 0 tree 184,4096-ptr_max
PARAM_VALUE 3 bits 2,4
PARAM_VALUE 4 failed_start 9001097336740569088
PARAM_VALUE 5 failed_state 0
PARAM_VALUE 7 changeset 0
BUF_SIZE 0 tree (-1),96
BUF_SIZE 0 tree (-1),96
DATA_SOURCE 0 tree $0
DATA_SOURCE 1 start $1
DATA_SOURCE 2 end $2
DATA_SOURCE 3 bits $3
DATA_SOURCE 6 cached_state $4
NOSPEC 1 start
HARD_MAX 3 bits 4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 start 0-u64max
USER_DATA 2 end 131071-5295098365[c]
UNITS 1 start unit_byte
UNITS 2 end unit_byte
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem
HALF_LOCKED2 &leaf->lock