Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/btrfs/file-item.c btrfs_alloc_dummy_sum() -> btrfs_add_ordered_sum()

Type Parameter Key Value
PARAM_VALUE 1 sum 4096-ptr_max
PARAM_VALUE 1 sum->logical 0,512-18446744073709551104
BUF_SIZE 0 entry (-1)-s32max
BUF_SIZE 0 entry (-1)-s32max
BUF_SIZE 1 sum 32
DATA_SOURCE 1 sum r _kmalloc_noprof
BIT_INFO 1 sum->logical 0x0,0xfffffffffffffe00
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entry->bytes_left
NO_OVERFLOW_SIMPLE 0 entry->disk_num_bytes
NO_OVERFLOW_SIMPLE 0 entry->file_offset
NO_OVERFLOW_SIMPLE 0 entry->num_bytes
NO_OVERFLOW_SIMPLE 0 entry->ram_bytes
NO_OVERFLOW_SIMPLE 0 entry->truncated_len
HALF_LOCKED2 &pool->lock

fs/btrfs/file-item.c btrfs_csum_one_bio() -> btrfs_add_ordered_sum()

Type Parameter Key Value
PARAM_VALUE 1 sum 4096-ptr_max
PARAM_VALUE 1 sum->list.next 4096-ptr_max
PARAM_VALUE 1 sum->list.next->next 4096-ptr_max
PARAM_VALUE 1 sum->list.prev 4096-ptr_max
PARAM_VALUE 1 sum->list.prev->next 4096-ptr_max
PARAM_VALUE 1 sum->list.prev->prev 4096-ptr_max
BUF_SIZE 0 entry (-1),1-s32max
BUF_SIZE 0 entry (-1),1-s32max
BUF_SIZE 1 sum 0-s32max,18446744071562067968-u64max
BUF_SIZE 1 sum 0-s32max,18446744071562067968-u64max
DATA_SOURCE 1 sum r __kvmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entry->bytes_left
NO_OVERFLOW_SIMPLE 0 entry->disk_bytenr
NO_OVERFLOW_SIMPLE 0 entry->disk_num_bytes
NO_OVERFLOW_SIMPLE 0 entry->file_offset
NO_OVERFLOW_SIMPLE 0 entry->num_bytes
NO_OVERFLOW_SIMPLE 0 entry->ram_bytes
NO_OVERFLOW_SIMPLE 0 entry->truncated_len
HALF_LOCKED2 &pool->lock

fs/btrfs/relocation.c btrfs_reloc_clone_csums() -> btrfs_add_ordered_sum()

Type Parameter Key Value
PARAM_VALUE 0 entry 4096-ptr_max
PARAM_VALUE 0 entry->bioc_list.next 4096-ptr_max
PARAM_VALUE 0 entry->bioc_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->bioc_list.prev 4096-ptr_max
PARAM_VALUE 0 entry->bioc_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->bioc_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->completion.done 0
PARAM_VALUE 0 entry->completion.wait.lock.magic 3735899821
PARAM_VALUE 0 entry->completion.wait.lock.owner (-1)
PARAM_VALUE 0 entry->completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 entry->completion.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 entry->completion.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->completion.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 entry->completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->completion.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->compress_type 0-255
PARAM_VALUE 0 entry->csum_list.next 4096-ptr_max
PARAM_VALUE 0 entry->csum_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->csum_list.prev 4096-ptr_max
PARAM_VALUE 0 entry->csum_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->csum_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->flags 128,256,512
PARAM_VALUE 0 entry->inode 4096-ptr_max
PARAM_VALUE 0 entry->inode->ordered_tree.rb_node 4096-ptr_max
PARAM_VALUE 0 entry->inode->ordered_tree_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->fs_info 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->fs_info->block_group_cache_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root->fs_info->global_root_lock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_bytes.counters 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_bytes.lock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_bytes.lock.owner (-1)
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_bytes.lock.owner_cpu u32max
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_root_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_roots.prev 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_roots.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->fs_info->ordered_roots.prev->next->next 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->ordered_extent_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 entry->inode->root->ordered_extents.prev 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->ordered_extents.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->ordered_extents.prev->next->next 4096-ptr_max
PARAM_VALUE 0 entry->inode->root->ordered_root.next 4096-ptr_max
PARAM_VALUE 0 entry->log_list.next 4096-ptr_max
PARAM_VALUE 0 entry->log_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->log_list.prev 4096-ptr_max
PARAM_VALUE 0 entry->log_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->log_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->rb_node.__rb_parent_color 1
PARAM_VALUE 0 entry->rb_node.rb_left 4096-ptr_max
PARAM_VALUE 0 entry->rb_node.rb_right 4096-ptr_max
PARAM_VALUE 0 entry->root_extent_list.next 4096-ptr_max
PARAM_VALUE 0 entry->root_extent_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->root_extent_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->root_extent_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->truncated_len u64max
PARAM_VALUE 0 entry->wait.head.next 4096-ptr_max
PARAM_VALUE 0 entry->wait.head.next->next 4096-ptr_max
PARAM_VALUE 0 entry->wait.head.prev 4096-ptr_max
PARAM_VALUE 0 entry->wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 entry->work_list.next 4096-ptr_max
PARAM_VALUE 0 entry->work_list.next->next 4096-ptr_max
PARAM_VALUE 0 entry->work_list.prev 4096-ptr_max
PARAM_VALUE 0 entry->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 entry->work_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 sum 4096-ptr_max
PARAM_VALUE 1 sum->list.next->prev 4096-ptr_max
PARAM_VALUE 1 sum->list.prev->next 4096-ptr_max
CAPPED_DATA 0 entry 1
CAPPED_DATA 0 entry->inode->root->fs_info->delalloc_batch 1
DATA_SOURCE 0 entry $0
FUZZY_MAX 0 entry->flags 512
BIT_INFO 0 entry->flags 0x0,0x380
HARD_MAX 0 entry->flags 512
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 entry->bytes_left
NO_OVERFLOW_SIMPLE 0 entry->disk_num_bytes
NO_OVERFLOW_SIMPLE 0 entry->file_offset
NO_OVERFLOW_SIMPLE 0 entry->num_bytes
NO_OVERFLOW_SIMPLE 0 entry->ram_bytes