Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/btrfs/qgroup.c btrfs_create_qgroup() -> add_qgroup_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.wait_lock.owner (-1)
PARAM_VALUE 0 trans->fs_info->qgroup_ioctl_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 trans->fs_info->quota_root 1-u64max
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->sb->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->sb->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 1 quota_root 1-u64max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans (-1),1-s32max
BUF_SIZE 0 trans->block_rsv (-1),120
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 qgroupid $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 qgroupid 1-4,6-u64max
USER_PTR 0 trans->pending_snapshot->inherit
LOCK2 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &fs_info->reloc_mutex
TYPE_LOCK (struct btrfs_fs_info)->qgroup_ioctl_lock

fs/btrfs/qgroup.c btrfs_qgroup_inherit() -> add_qgroup_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info 4096-ptr_max
PARAM_VALUE 0 trans->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 trans->fs_info->chunk_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->chunk_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->remap_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->stripe_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->trans_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->transaction 4096-ptr_max
PARAM_VALUE 1 quota_root 1-u64max
PARAM_VALUE 2 qgroupid 0-18446744073709551359
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans (-1),4,24,64,168-s32max
BUF_SIZE 0 trans->block_rsv (-1),120
CAPPED_DATA 2 qgroupid 1
CAPPED_DATA 2 qgroupid 1
DATA_SOURCE 0 trans $0
DATA_SOURCE 2 qgroupid $2
RX_PATH
TASK_NOT_RUNNING
USER_PTR 0 trans->pending_snapshot->inherit
HALF_LOCKED2 &cow->lock
HALF_LOCKED2 &fs_info->qgroup_ioctl_lock
HALF_LOCKED2 &fs_info->reloc_mutex
HALF_LOCKED2 &fs_info->subvol_sem

fs/btrfs/qgroup.c btrfs_quota_enable() -> add_qgroup_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->allocated_roots.prev->next->next 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,4573560380487,148606482432692224,436469935444291584
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->fs_roots_radix_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->transaction->aborted s32min-(-27),(-17),(-12),(-5),(-2)
PARAM_VALUE 0 trans->transaction->delayed_refs.head_refs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 quota_root 4096-ptr_max
PARAM_VALUE 1 quota_root->commit_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 quota_root->delalloc_inodes.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_inodes.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_inodes.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->delalloc_root.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_root.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_root.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,4573560380487,148606482432692224,436469935444291584
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 quota_root->leak_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->leak_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->leak_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->log_commit_wait 4096-ptr_max
PARAM_VALUE 1 quota_root->log_ctxs 4096-ptr_max
PARAM_VALUE 1 quota_root->log_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->log_writer_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->log_writer_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->log_writer_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->node->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 quota_root->node->log_index (-1)-1
PARAM_VALUE 1 quota_root->node->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 quota_root->objectid_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->ordered_extents.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_extents.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_extents.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->swapped_blocks->blocks 4096-ptr_max
BUF_SIZE 1 quota_root 2880
CAPPED_DATA 1 quota_root 1
DATA_SOURCE 0 trans r btrfs_start_transaction
DATA_SOURCE 1 quota_root r btrfs_create_tree
CAPABLE 0 21
NO_OVERFLOW_SIMPLE 1 quota_root->dirty_log_pages.fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->dirty_log_pages.fs_info->sectorsize
NO_OVERFLOW_SIMPLE 1 quota_root->fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->fs_info->sectorsize
NO_OVERFLOW_SIMPLE 1 quota_root->log_csum_range.fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->log_csum_range.fs_info->sectorsize
UNITS 2 qgroupid unit_byte
LOCK2 &fs_info->qgroup_ioctl_lock
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->qgroup_ioctl_lock
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem

fs/btrfs/qgroup.c btrfs_quota_enable() -> add_qgroup_item()

Type Parameter Key Value
PARAM_VALUE 0 trans 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->allocated_roots.prev->next->next 4096-ptr_max
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,4573560380487,148606482432692224,436469935444291584
PARAM_VALUE 0 trans->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->commit_root_sem.first_waiter->type 0-1
PARAM_VALUE 0 trans->fs_info->fs_roots_radix_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 trans->fs_info->tree_root->node->lock.first_waiter->type 0-1
PARAM_VALUE 0 trans->transaction->aborted s32min-(-27),(-17),(-12),(-5),(-2)
PARAM_VALUE 0 trans->transaction->delayed_refs.head_refs.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 quota_root 4096-ptr_max
PARAM_VALUE 1 quota_root->commit_root->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 quota_root->delalloc_inodes.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_inodes.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_inodes.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->delalloc_root.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_root.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->delalloc_root.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,4573560380487,148606482432692224,436469935444291584
PARAM_VALUE 1 quota_root->fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 quota_root->leak_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->leak_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->leak_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->log_commit_wait 4096-ptr_max
PARAM_VALUE 1 quota_root->log_ctxs 4096-ptr_max
PARAM_VALUE 1 quota_root->log_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->log_writer_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->log_writer_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->log_writer_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->node->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 quota_root->node->log_index (-1)-1
PARAM_VALUE 1 quota_root->node->refs.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 quota_root->objectid_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->ordered_extent_mutex.dep_map->name 0-255
PARAM_VALUE 1 quota_root->ordered_extents.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_extents.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_extents.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->ordered_root.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->qgroup_flush_wait.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->reloc_dirty_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.next->next 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.prev->next 4096-ptr_max
PARAM_VALUE 1 quota_root->root_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 quota_root->swapped_blocks->blocks 4096-ptr_max
PARAM_VALUE 2 qgroupid 5
BUF_SIZE 1 quota_root 2880
CAPPED_DATA 1 quota_root 1
DATA_SOURCE 0 trans r btrfs_start_transaction
DATA_SOURCE 1 quota_root r btrfs_create_tree
CAPABLE 0 21
NO_OVERFLOW_SIMPLE 1 quota_root->dirty_log_pages.fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->dirty_log_pages.fs_info->sectorsize
NO_OVERFLOW_SIMPLE 1 quota_root->fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->fs_info->sectorsize
NO_OVERFLOW_SIMPLE 1 quota_root->log_csum_range.fs_info->nodesize
NO_OVERFLOW_SIMPLE 1 quota_root->log_csum_range.fs_info->sectorsize
LOCK2 &fs_info->qgroup_ioctl_lock
LOCK2 &fs_info->subvol_sem
TYPE_LOCK (struct btrfs_fs_info)->qgroup_ioctl_lock
TYPE_LOCK (struct btrfs_fs_info)->subvol_sem