Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/dev-replace.c btrfs_dev_replace_finishing() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 1-u64max |
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | 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_finishing() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 1-u64max |
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/dev-replace.c btrfs_dev_replace_start() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/dev-replace.c btrfs_dev_replace_suspend_for_unmount() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem |
fs/btrfs/dev-replace.c btrfs_dev_replace_suspend_for_unmount() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
| LOCK2 | &dev_replace->lock_finishing_cancel_unmount | ||
| LOCK2 | &dev_replace->rwsem | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->lock_finishing_cancel_unmount | ||
| TYPE_LOCK | (struct btrfs_dev_replace)->rwsem |
fs/btrfs/dev-replace.c btrfs_resume_dev_replace_async() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/dev-replace.c btrfs_resume_dev_replace_async() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/dev-replace.c btrfs_resume_dev_replace_async() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/volumes.c btrfs_init_new_device() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/btrfs/volumes.c btrfs_init_new_device() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/btrfs/volumes.c btrfs_init_new_device() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/btrfs/volumes.c btrfs_open_device_deny_freeze() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
fs/btrfs/volumes.c btrfs_release_device_allow_freeze() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL |
fs/btrfs/volumes.c btrfs_rm_device() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |
fs/btrfs/volumes.c btrfs_rm_device() -> bdev_allow_freeze()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdev->bd_fsfreeze_count.counter | 0-s32max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| UNITS | 0 | bdev | unit_byte |