Defined in 2 files as a member:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/btrfs/transaction.c btrfs_attach_transaction() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
PARAM_VALUE 2 type 4
PARAM_VALUE 3 flush 0
PARAM_VALUE 4 enforce_qgroups 1
DATA_SOURCE 0 root $0
RX_PATH
HALF_LOCKED2 &fs_info->transaction_kthread_mutex

fs/btrfs/transaction.c btrfs_attach_transaction_barrier() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->block_group_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 root->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->dev_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->log_root_tree->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->log_root_tree->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->quota_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->remap_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 root->fs_info->sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 0 root->fs_info->sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->subvol_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->uuid_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->uuid_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->log_root->fs_info->log_root_tree->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->log_root->fs_info->log_root_tree->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->reloc_root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->reloc_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->reloc_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 0
PARAM_VALUE 2 type 4
PARAM_VALUE 3 flush 0
PARAM_VALUE 4 enforce_qgroups 1
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
DATA_SOURCE 0 root $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->disk_i_size
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_bytes
NO_OVERFLOW_SIMPLE 0 root->dirty_log_pages.inode->vfs_inode.i_size

fs/btrfs/transaction.c btrfs_join_transaction() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 0
PARAM_VALUE 2 type 9
PARAM_VALUE 3 flush 0
PARAM_VALUE 4 enforce_qgroups 1
DATA_SOURCE 0 root $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->reclaim_bgs_lock

fs/btrfs/transaction.c btrfs_join_transaction_nostart() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 1 num_items 0
PARAM_VALUE 2 type 64
PARAM_VALUE 3 flush 0
PARAM_VALUE 4 enforce_qgroups 1
DATA_SOURCE 0 root $0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/transaction.c btrfs_join_transaction_spacecache() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 1 num_items 0
PARAM_VALUE 2 type 16
PARAM_VALUE 3 flush 0
PARAM_VALUE 4 enforce_qgroups 1
DATA_SOURCE 0 root $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/btrfs/transaction.c btrfs_start_transaction() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 0 root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 0 root->fs_info->subvol_sem.first_waiter->type 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 num_items 0-9
PARAM_VALUE 2 type 3
PARAM_VALUE 3 flush 5
PARAM_VALUE 4 enforce_qgroups 1
BUF_SIZE 0 root (-1),2888
BUF_SIZE 0 root (-1),2888
DATA_SOURCE 0 root $0
DATA_SOURCE 1 num_items $1
FUZZY_MAX 1 num_items 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_replace->lock_finishing_cancel_unmount
HALF_LOCKED2 &fs_info->cleaner_mutex
HALF_LOCKED2 &fs_info->subvol_sem
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &of->mutex

fs/btrfs/transaction.c btrfs_start_transaction_fallback_global_rsv() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 root->node->lock.first_waiter->type 0-1
PARAM_VALUE 2 type 3
PARAM_VALUE 3 flush 6
PARAM_VALUE 4 enforce_qgroups 0
DATA_SOURCE 0 root $0
DATA_SOURCE 1 num_items $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/ec.c acpi_ec_transaction_unlocked() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->curr 4096-ptr_max
BUF_SIZE 0 root s32min-(-1),1-s32max
BUF_SIZE 0 root s32min-(-1),1-s32max
DATA_SOURCE 0 root $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 root unit_byte
USER_PTR 0 root->curr->wdata
LOCK2 tmp
LOCK2 0 &root->lock
LOCK2 0 &root->mutex
TYPE_LOCK (struct acpi_ec)->lock
TYPE_LOCK (struct acpi_ec)->mutex

drivers/acpi/ec.c ec_poll() -> start_transaction()

Type Parameter Key Value
PARAM_VALUE 0 root 4096-ptr_max
PARAM_VALUE 0 root->curr 4096-ptr_max
BUF_SIZE 0 root s32min-(-1),1-s32max
BUF_SIZE 0 root s32min-(-1),1-s32max
CAPPED_DATA 0 root->curr->rlen 1
CAPPED_DATA 0 root->curr->wlen 1
DATA_SOURCE 0 root $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 root unit_byte
USER_PTR 0 root->curr->wdata
LOCK2 flags
LOCK2 0 &root->lock
LOCK2 0 &root->mutex
TYPE_LOCK (struct acpi_ec)->lock
TYPE_LOCK (struct acpi_ec)->mutex