Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/btrfs/dev-replace.c
- fs/btrfs/disk-io.c, line 4373
- fs/btrfs/ioctl.c, line 3114
- fs/btrfs/super.c, line 1386
- fs/btrfs/transaction.c, line 2131
- fs/btrfs/volumes.c, line 3702
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->sb | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.item_needs_writeback | 1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_state | 3 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.srcdev | 0 |
| PARAM_VALUE | 0 | fs_info->dev_replace.tgtdev | 0 |
| PARAM_VALUE | 0 | fs_info->sb | 4096-ptr_max |
| DATA_SOURCE | 0 | fs_info | $0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount |
fs/btrfs/volumes.c btrfs_relocate_chunk() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->dev_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->fs_error | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | fs_info->sb->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->scrub_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->scrub_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | *fs_info->fs_devices->fsid | 0-255 |
| PARAM_VALUE | 0 | *fs_info->fs_devices->metadata_uuid | 0-255 |
| PARAM_VALUE | 0 | *fs_info->super_copy->fsid | 0-255 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | fs_info->balance_ctl->data.devid | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.flags | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.limit | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.limit_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.limit_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.pend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.profiles | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.pstart | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.stripes_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.stripes_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.target | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.usage | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.usage_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.usage_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->data.vend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->data.vstart | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->flags | 0-2046 |
| USER_DATA | 0 | fs_info->balance_ctl->meta.devid | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.flags | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.limit | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.limit_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.limit_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.pend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.profiles | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.pstart | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.stripes_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.stripes_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.target | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.usage | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.usage_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.usage_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.vend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->meta.vstart | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.devid | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.flags | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.limit | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.limit_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.limit_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.pend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.profiles | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.pstart | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.stripes_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.stripes_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.target | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.usage | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.usage_max | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.usage_min | 0-u32max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.vend | 0-u64max |
| USER_DATA | 0 | fs_info->balance_ctl->sys.vstart | 0-u64max |
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->reclaim_bgs_lock | ||
| HALF_LOCKED2 | 0 | &fs_info->reclaim_bgs_lock | |
| TYPE_LOCK | (struct btrfs_fs_info)->reclaim_bgs_lock |
fs/btrfs/transaction.c cleanup_transaction() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->trans_lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/disk-io.c close_ctree() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->balance_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->balance_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->balance_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->balance_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->cleaner_kthread | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.item_needs_writeback | 1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_state | 4 |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->qgroup_rescan_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->reclaim_bgs_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.first_waiter->up | 1 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.owner_cpu | u32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| BUF_SIZE | 0 | fs_info | (-1),1-s32max |
| CAPPED_DATA | 0 | fs_info->cleaner_kthread | 1 |
| CAPPED_DATA | 0 | &fs_info->reclaim_bgs_work | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/ioctl.c btrfs_ioctl_scrub_cancel() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fs_info | $0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
fs/btrfs/super.c btrfs_remount_ro() -> btrfs_scrub_cancel()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->async_data_reclaim_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->async_reclaim_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->compress_type | 0-15 |
| PARAM_VALUE | 0 | fs_info->delayed_iput_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.item_needs_writeback | 1 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->dev_replace.lock_finishing_cancel_unmount.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_state | 4 |
| PARAM_VALUE | 0 | fs_info->mount_opt | 0,4096-u64max |
| PARAM_VALUE | 0 | fs_info->sb | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->sb->s_bdi->wb_switch_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->sb->s_inode_wblist_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_inodes_wb.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_inodes_wb.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->sb->s_sync_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->super_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->transaction_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->transaction_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.first_waiter->up | 1 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->uuid_tree_rescan_sem.lock.owner_cpu | u32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| BUF_SIZE | 0 | fs_info | 1-s32max |
| CAPPED_DATA | 0 | &fs_info->async_data_reclaim_work | 1 |
| CAPPED_DATA | 0 | &fs_info->async_reclaim_work | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |