Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/volumes.c fill_device_from_item() -> btrfs_device_total_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 1 | s | 101-4294967396 |
| DATA_SOURCE | 0 | eb | $0 |
| DATA_SOURCE | 1 | s | $1 |
| LOCK2 | global &uuid_mutex |
fs/btrfs/print-tree.c print_dev_item() -> btrfs_device_total_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | s | 101-4294967396 |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| DATA_SOURCE | 0 | eb | $0 |
| DATA_SOURCE | 1 | s | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eb->len | |
| NO_OVERFLOW_SIMPLE | 0 | eb->start | |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &leaf->lock | ||
| HALF_LOCKED2 | 0 | &eb->lock |
fs/btrfs/tree-checker.c check_dev_item() -> btrfs_device_total_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->csum_type | 0-3 |
| PARAM_VALUE | 1 | s | 101-4294967396 |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| CAPPED_DATA | 0 | eb->start | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/tree-checker.c check_dev_item() -> btrfs_device_total_bytes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->csum_type | 0-3 |
| PARAM_VALUE | 1 | s | 101-4294967396 |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| CAPPED_DATA | 0 | eb->start | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |