Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_dev_replace_cancel() -> btrfs_destroy_dev_replace_tgtdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tgtdev | 4096-ptr_max |
| PARAM_VALUE | 1 | allow_freeze | 0 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| 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_finishing() -> btrfs_destroy_dev_replace_tgtdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tgtdev | 4096-ptr_max |
| PARAM_VALUE | 1 | allow_freeze | 1 |
| NOCHECK_CALL | |||
| 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_start() -> btrfs_destroy_dev_replace_tgtdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tgtdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tgtdev->alloc_state.owner | 10 |
| PARAM_VALUE | 0 | tgtdev->dev_stats_valid | 1 |
| PARAM_VALUE | 0 | tgtdev->devt | 1-4294967295 |
| PARAM_VALUE | 0 | tgtdev->fs_info | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | tgtdev->generation | 0 |
| PARAM_VALUE | 1 | allow_freeze | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> btrfs_destroy_dev_replace_tgtdev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tgtdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tgtdev->alloc_state.owner | 10 |
| PARAM_VALUE | 0 | tgtdev->dev_stats_valid | 1 |
| PARAM_VALUE | 0 | tgtdev->devt | 1-4294967295 |
| PARAM_VALUE | 0 | tgtdev->fs_info | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | tgtdev->generation | 0 |
| PARAM_VALUE | 1 | allow_freeze | 1 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |