Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 2511718517922607104
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 27
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 26
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 6339506909062635520
PARAM_VALUE 4 $ 24,36
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 38
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
DATA_SOURCE 3 $ r btrfs_item_size
FUZZY_MAX 1 slot 0
FUZZY_MAX 4 $ 36
STR_LEN 0 eb 37
PARAM_COMPARE 3 $ != $4
PARAM_COMPARE 4 $ != $3
PARAM_COMPARE 4 $ != $3
BIT_INFO 4 $ 0x0,0x3c
BIT_INFO 4 $ 0x0,0x3c
TERMINATED 2 fmt 1
HARD_MAX 4 $ 36
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 $ unit_byte
UNITS 4 $ unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 0 eb->fs_info->nr_global_roots 1-u64max
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 8928728923518586880
PARAM_VALUE 3 $ 1-u64max
PARAM_VALUE 4 $ 1-u64max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 67
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
CAPPED_DATA 4 $ 1
CAPPED_DATA 4 $ 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
DATA_SOURCE 3 $ r btrfs_stack_block_group_chunk_objectid
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 66
PARAM_COMPARE 3 $ >= $4
PARAM_COMPARE 3 $ >= $4
PARAM_COMPARE 4 $ <= $3
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 $ unit_byte
UNITS 4 $ unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 3538677926267252736
PARAM_VALUE 4 $ 256
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 58
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 57
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 3155994843358306304
PARAM_VALUE 4 $ 1-18446744073709551614
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 53
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
CAPPED_DATA 4 $ 1
CAPPED_DATA 4 $ 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 52
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 4 $ unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 2722302373898969088
PARAM_VALUE 3 $ 0,8-2040
PARAM_VALUE 4 $ 0-64
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 80
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 79
BIT_INFO 3 $ 0x0,0x7f8
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 5979182527374225408
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 85
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
DATA_SOURCE 3 $ r btrfs_stack_block_group_flags
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 84
BIT_INFO 3 $ 0x1000,0xffffffffffffffff
BIT_INFO 3 $ 0x1000,0xffffffffffffffff
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 4992657291960553472
PARAM_VALUE 3 $ 0,3,6-4095,4097-4103
PARAM_VALUE 4 $ 0-64
PARAM_VALUE 5 $ 1
PARAM_VALUE 6 $ 4
PARAM_VALUE 7 $ 2
PARAM_VALUE 8 $ 4096
PARAM_VALUE 9 $ 5
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 96
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 95
BIT_INFO 3 $ 0x0,0x1007
BIT_INFO 3 $ 0x0,0x1007
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 1099126865964118016
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 70
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 69
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 4631830696187314176
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 65
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 64
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 6491694645145124864
PARAM_VALUE 3 $ 2-u64max
PARAM_VALUE 4 $ 1-18446744073709551614
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 48
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
CAPPED_DATA 4 $ 1
CAPPED_DATA 4 $ 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
DATA_SOURCE 3 $ r btrfs_block_group_v2_remap_bytes
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 47
PARAM_COMPARE 3 $ > $4
PARAM_COMPARE 4 $ < $3
PARAM_COMPARE 4 $ < $3
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 $ unit_byte
UNITS 4 $ unit_byte
HALF_LOCKED2 &pool->lock

fs/btrfs/tree-checker.c check_block_group_item() -> block_group_err()

Type Parameter Key Value
PARAM_VALUE 0 eb 4096-ptr_max
PARAM_VALUE 0 eb->folios 4096-ptr_max
PARAM_VALUE 0 eb->fs_info 4096-ptr_max
PARAM_VALUE 0 eb->fs_info->csum_type 0-3
PARAM_VALUE 1 slot 0-s32max
PARAM_VALUE 2 fmt 3020771433355251712
PARAM_VALUE 3 $ 1-u32max
PARAM_VALUE 4 $ 0-4294967294
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 0 eb (-1),1-s32max
BUF_SIZE 2 fmt 55
CAPPED_DATA 0 eb->start 1
CAPPED_DATA 1 slot 1
DATA_SOURCE 0 eb $0
DATA_SOURCE 1 slot $2
DATA_SOURCE 3 $ r btrfs_block_group_v2_identity_remap_count
FUZZY_MAX 1 slot 0
STR_LEN 0 eb 54
TERMINATED 2 fmt 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock