Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/volumes.c device_list_add() -> btrfs_sb_fsid_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | sb->label | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c device_list_add() -> btrfs_sb_fsid_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | sb->label | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/volumes.c device_list_add() -> btrfs_sb_fsid_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | sb->label | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fs_devices->device_list_mutex | ||
| LOCK2 | global &uuid_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_devices)->device_list_mutex |
fs/btrfs/disk-io.c btrfs_validate_super() -> btrfs_sb_fsid_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->tree_log_mutex |
fs/btrfs/disk-io.c btrfs_validate_super() -> btrfs_sb_fsid_ptr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &fs_info->tree_log_mutex |