Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/qgroup.c btrfs_limit_qgroup() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 1 | fmt | 5038685425734049792 |
| PARAM_VALUE | 2 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 28 |
| CAPPED_DATA | 0 | &fs_info->qgroup_ioctl_lock | 1 |
| DATA_SOURCE | 2 | $ | r update_qgroup_limit_item |
| STR_LEN | 0 | fs_info | 27 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | 0 | &fs_info->qgroup_ioctl_lock | |
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_ioctl_lock |
fs/btrfs/qgroup.c btrfs_qgroup_add_swapped_blocks() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 2913747319293190144 |
| PARAM_VALUE | 3 | $ | (-17),(-12) |
| BUF_SIZE | 1 | fmt | 13 |
| BUF_SIZE | 2 | $ | 32 |
| FUZZY_MAX | 3 | $ | (-12) |
| STR_LEN | 0 | fs_info | 12 |
| BIT_INFO | 3 | $ | 0xffffffe4,0xffffffff |
| TERMINATED | 1 | fmt | 1 |
| HARD_MAX | 3 | $ | (-12) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &cow->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
fs/btrfs/qgroup.c btrfs_qgroup_trace_extent_nolock() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 2693636884578287616 |
| PARAM_VALUE | 2 | $ | (-4095)-(-1) |
| BUF_SIZE | 1 | fmt | 24 |
| DATA_SOURCE | 0 | fs_info | $0 |
| STR_LEN | 0 | fs_info | 23 |
| TERMINATED | 1 | fmt | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &delayed_refs->lock |
fs/btrfs/qgroup.c btrfs_qgroup_trace_extent_post() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->block_group_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,5297,4573560380487,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | fs_info->btree_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->chunk_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->remap_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->tree_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->uuid_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | fmt | 7378017927828930560 |
| PARAM_VALUE | 2 | $ | s32min-(-3),(-1) |
| BUF_SIZE | 1 | fmt | 45 |
| DATA_SOURCE | 2 | $ | r btrfs_find_all_roots |
| STR_LEN | 0 | fs_info | 44 |
| BIT_INFO | 0 | fs_info->qgroup_flags | 0x0,0xbfffffffffffffff |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &trans->fs_info->chunk_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->cache_write_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |
fs/btrfs/qgroup.c btrfs_qgroup_trace_subtree() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_drop_subtree_thres | 0-254 |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | fmt | 8429027992984088576 |
| BUF_SIZE | 1 | fmt | 32 |
| STR_LEN | 0 | fs_info | 31 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->cleaner_mutex | ||
| LOCK2 | &root_eb->lock | ||
| HALF_LOCKED2 | &next->lock | ||
| HALF_LOCKED2 | &node->lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct extent_buffer)->lock |
fs/btrfs/qgroup.c btrfs_qgroup_trace_subtree_after_cow() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->nodesize | 0-65536 |
| PARAM_VALUE | 1 | fmt | 1484211907165315072 |
| PARAM_VALUE | 3 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 45 |
| STR_LEN | 0 | fs_info | 44 |
| TERMINATED | 1 | fmt | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | $ | |
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | $ | unit_byte |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &subvol_eb->lock | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |
fs/btrfs/qgroup.c btrfs_read_qgroup_config() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 1 | fmt | 3015739867627532288 |
| BUF_SIZE | 1 | fmt | 27 |
| DATA_SOURCE | 0 | fs_info | $0 |
| STR_LEN | 0 | fs_info | 26 |
| BIT_INFO | 0 | fs_info->qgroup_flags | 0x0,0xfffffffffffffff7 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
fs/btrfs/qgroup.c btrfs_read_qgroup_config() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 0 | fs_info->quota_root->fs_info->sb->s_cop->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 1 | fmt | 3500751549846511616 |
| BUF_SIZE | 1 | fmt | 27 |
| DATA_SOURCE | 0 | fs_info | $0 |
| STR_LEN | 0 | fs_info | 26 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
fs/btrfs/qgroup.c btrfs_remove_qgroup() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 1 | fmt | 7651123929959419904 |
| PARAM_VALUE | 3 | $ | 0-281474976710655 |
| BUF_SIZE | 1 | fmt | 102 |
| CAPPED_DATA | 0 | &fs_info->qgroup_ioctl_lock | 1 |
| STR_LEN | 0 | fs_info | 101 |
| BIT_INFO | 0 | fs_info->qgroup_flags | 0x0,0xfffffffffffffffb |
| BIT_INFO | 3 | $ | 0x0,0xffffffffffff |
| TERMINATED | 1 | fmt | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 4 | $ | unit_byte |
| UNITS | 5 | $ | unit_byte |
| UNITS | 6 | $ | unit_byte |
| UNITS | 7 | $ | unit_byte |
| LOCK2 | 0 | &fs_info->qgroup_ioctl_lock | |
| LOCK2 | 0 | &fs_info->qgroup_lock | |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_ioctl_lock | ||
| TYPE_LOCK | (struct btrfs_fs_info)->qgroup_lock |
fs/btrfs/qgroup.c btrfs_run_qgroups() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 1 | fmt | 1158206505235656704 |
| PARAM_VALUE | 2 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 33 |
| CAPPED_DATA | 0 | &fs_info->dirty_qgroups | 1 |
| DATA_SOURCE | 2 | $ | r update_qgroup_info_item |
| STR_LEN | 0 | fs_info | 32 |
| PARAM_COMPARE | 0 | &fs_info->dirty_qgroups | != $0->dirty_qgroups.next |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->qgroup_ioctl_lock |
fs/btrfs/qgroup.c btrfs_run_qgroups() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 1 | fmt | 3490380867667677184 |
| PARAM_VALUE | 2 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 34 |
| CAPPED_DATA | 0 | &fs_info->dirty_qgroups | 1 |
| DATA_SOURCE | 2 | $ | r update_qgroup_limit_item |
| STR_LEN | 0 | fs_info | 33 |
| PARAM_COMPARE | 0 | &fs_info->dirty_qgroups | != $0->dirty_qgroups.next |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->qgroup_ioctl_lock |
fs/btrfs/qgroup.c btrfs_run_qgroups() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->qgroup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->quota_root | 1-u64max |
| PARAM_VALUE | 1 | fmt | 2118305929323360256 |
| PARAM_VALUE | 2 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 35 |
| CAPPED_DATA | 0 | &fs_info->dirty_qgroups | 1 |
| DATA_SOURCE | 2 | $ | r update_qgroup_status_item |
| STR_LEN | 0 | fs_info | 34 |
| BIT_INFO | 2 | $ | 0x0,0x0 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->qgroup_ioctl_lock |
fs/btrfs/qgroup.c qgroup_trace_subtree_swap() -> qgroup_mark_inconsistent()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 2913747319293190144 |
| PARAM_VALUE | 3 | $ | s32min-(-1) |
| BUF_SIZE | 1 | fmt | 13 |
| BUF_SIZE | 2 | $ | 26 |
| STR_LEN | 0 | fs_info | 12 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &dst_eb->lock | ||
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |