Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/ioctl.c btrfs_ioctl_resize() -> btrfs_grow_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | trans | 0-ptr_max |
| PARAM_VALUE | 1 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | device->bdev | 4096-ptr_max |
| PARAM_VALUE | 2 | new_size | 1-18446744073709551104 |
| CAPPED_DATA | 2 | new_size | 1 |
| CAPPED_DATA | 2 | new_size | 1 |
| DATA_SOURCE | 0 | trans | r btrfs_start_transaction |
| DATA_SOURCE | 1 | device | r btrfs_find_device |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 1 | device->total_bytes | < $2 |
| PARAM_COMPARE | 2 | new_size | > $1->total_bytes |
| USER_DATA | 2 | new_size | 1-s32max[c] |
| UNITS | 2 | new_size | unit_byte |