Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/btrfs/direct-io.c, line 207
- fs/btrfs/extent-tree.c, line 4906
- fs/btrfs/inode.c
- fs/btrfs/relocation.c
Smatch caller information:
fs/btrfs/inode.c __btrfs_prealloc_file_range() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
fs/btrfs/inode.c btrfs_do_encoded_write() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sectorsize_bits | 12-16 |
| PARAM_VALUE | 1 | start | 0 |
| CAPPED_DATA | 0 | fs_info->sectorsize_bits | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
fs/btrfs/inode.c btrfs_do_encoded_write() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->sectorsize_bits | 12-16 |
| PARAM_VALUE | 1 | start | 0 |
| CAPPED_DATA | 0 | fs_info->sectorsize_bits | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
fs/btrfs/inode.c cow_one_range() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
fs/btrfs/inode.c cow_one_range() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
fs/btrfs/inode.c submit_one_async_extent() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/inode.c submit_one_async_extent() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/direct-io.c btrfs_new_extent_direct() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/btrfs/relocation.c move_existing_remap() -> btrfs_dec_block_group_reservations()
| 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->fs_root | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->balance_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->block_group_cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->fs_root->fs_info->fs_devices | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| CAPPED_DATA | 0 | fs_info->fs_root | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
fs/btrfs/extent-tree.c btrfs_reserve_extent() -> btrfs_dec_block_group_reservations()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fs_info->nodesize | |
| NO_OVERFLOW_SIMPLE | 0 | fs_info->sectorsize | |
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 1 | start | unit_byte |
| HALF_LOCKED2 | &fs_info->remap_mutex |