Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/scrub.c scrub_one_super() -> btrfs_validate_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_error | 0 |
| PARAM_VALUE | 1 | sb | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | mirror_num | (-1) |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| BUF_SIZE | 0 | fs_info | (-1),128 |
| CAPPED_DATA | 0 | fs_info->csum_size | 1 |
| CAPPED_DATA | 0 | fs_info->nodesize | 1 |
| CAPPED_DATA | 1 | sb | 1 |
| DATA_SOURCE | 1 | sb | r lowmem_page_address |
| CAPABLE | 0 | 21 | |
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->fs_devices->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/disk-io.c btrfs_validate_mount_super() -> btrfs_validate_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 2 | mirror_num | 0 |
| DATA_SOURCE | 0 | fs_info | $0 |
fs/btrfs/disk-io.c btrfs_validate_write_super() -> btrfs_validate_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->chunk_root | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->chunk_root->node | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->fs_devices->device_list_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->fs_root | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->global_root_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->tree_root | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->tree_root->node | 4096-ptr_max |
| PARAM_VALUE | 2 | mirror_num | (-1) |
| DATA_SOURCE | 0 | fs_info | $0 |
| DATA_SOURCE | 1 | sb | $1 |
| RX_PATH | |||
| UNITS | 0 | fs_info | unit_byte |
| LOCK2 | &fs_info->tree_log_mutex | ||
| LOCK2 | 0 | &fs_info->fs_devices->device_list_mutex | |
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->tree_log_mutex |
fs/btrfs/super.c check_dev_super() -> btrfs_validate_super()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | sb | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | sb->label | 4096-ptr_max |
| PARAM_VALUE | 2 | mirror_num | 0 |
| CAPPED_DATA | 0 | fs_info->csum_size | 1 |
| DATA_SOURCE | 1 | sb | r btrfs_read_disk_super |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &sb->s_umount |