Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/btrfs/space-info.c btrfs_preempt_reclaim_metadata_space() -> need_preemptive_reclaim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | space_info | 4096-ptr_max |
| PARAM_VALUE | 0 | space_info->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | space_info | r btrfs_find_space_info |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &space_info->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->lock |
fs/btrfs/space-info.c btrfs_preempt_reclaim_metadata_space() -> need_preemptive_reclaim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | space_info | 4096-ptr_max |
| PARAM_VALUE | 0 | space_info->fs_info->balance_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | space_info->fs_info->fs_devices->per_profile_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | space_info->fs_info->global_block_rsv.reserved | 0-18446744073709551614 |
| PARAM_VALUE | 0 | space_info->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | space_info | r btrfs_find_space_info |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | 0 | &space_info->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct btrfs_space_info)->lock |
fs/btrfs/space-info.c reserve_bytes() -> need_preemptive_reclaim()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | space_info | 4096-ptr_max |
| PARAM_VALUE | 0 | space_info->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | space_info->lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | &space_info->priority_tickets | 1 |
| DATA_SOURCE | 0 | space_info | $0 |
| BIT_INFO | 0 | space_info->flags | 0x4,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &space_info->lock | |
| TYPE_LOCK | (struct btrfs_space_info)->lock |