Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/btrfs/dev-replace.c, line 902
- fs/btrfs/disk-io.c, line 4406
- fs/btrfs/ioctl.c, line 5589
- fs/btrfs/qgroup.c, line 1324
- fs/btrfs/space-info.c, line 773
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> btrfs_start_delalloc_roots()
| 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.replace_state | 1 |
| 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 | 2212933610777083904 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | fs_info->dev_replace.rwsem.first_waiter->type | 0-1 |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.tgtdev | 0,4096-ptr_max |
| 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->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 | 1 | nr | s64max |
| PARAM_VALUE | 2 | in_reclaim_context | 0 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| DATA_SOURCE | 0 | fs_info | $0 |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->csum_size | |
| 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/space-info.c shrink_delalloc() -> btrfs_start_delalloc_roots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->delalloc_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->delalloc_bytes.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->delalloc_bytes.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->ordered_bytes.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->ordered_bytes.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->ordered_bytes.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | nr | 0-2251799813685247 |
| PARAM_VALUE | 2 | in_reclaim_context | 1 |
| CAPPED_DATA | 1 | nr | 1 |
| CAPPED_DATA | 1 | nr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_page |
fs/btrfs/qgroup.c flush_reservations() -> btrfs_start_delalloc_roots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->cleaner_mutex.wait_lock.owner_cpu | u32max |
| 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.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | fs_info->qgroup_ioctl_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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_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->list.prev->prev | 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->quota_root | 1-u64max |
| PARAM_VALUE | 0 | fs_info->subvol_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->subvol_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->subvol_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | fs_info->subvol_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->subvol_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->subvol_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->subvol_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->subvol_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->subvol_sem.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | nr | s64max |
| PARAM_VALUE | 2 | in_reclaim_context | 0 |
| DATA_SOURCE | 0 | fs_info | $0 |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | 0 | &fs_info->cleaner_mutex | |
| LOCK2 | 0 | &fs_info->subvol_sem | |
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->subvol_sem |
fs/btrfs/disk-io.c close_ctree() -> btrfs_start_delalloc_roots()
| 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->defrag_inodes_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->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->scrub_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->scrub_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->scrub_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->scrub_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->transaction_wait.lock.rlock.dep_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 |
| PARAM_VALUE | 1 | nr | s64max |
| PARAM_VALUE | 2 | in_reclaim_context | 0 |
| 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() -> btrfs_start_delalloc_roots()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr | s64max |
| PARAM_VALUE | 2 | in_reclaim_context | 0 |
| UNITS | 0 | fs_info | unit_byte |