Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/btrfs/free-space-tree.c free_space_modify_bits() -> extent_buffer_bitmap_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 101-4294967396 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &block_group->free_space_lock | ||
| HALF_LOCKED2 | &trans->fs_info->commit_root_sem | ||
| HALF_LOCKED2 | &trans->fs_info->fs_devices->device_list_mutex | ||
| HALF_LOCKED2 | &trans->fs_info->fs_roots_radix_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_ioctl_lock | ||
| HALF_LOCKED2 | &trans->fs_info->qgroup_lock | ||
| HALF_LOCKED2 | &trans->fs_info->unused_bg_unpin_mutex | ||
| HALF_LOCKED2 | &trans->transaction->delayed_refs.lock |
fs/btrfs/tests/extent-io-tests.c __test_eb_bitmaps() -> extent_buffer_bitmap_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folio_shift | 12 |
| PARAM_VALUE | 0 | eb->folio_size | 4096 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | pos | 0-34359738334 |
| PARAM_VALUE | 3 | len | 1 |
| CAPPED_DATA | 0 | eb | 1 |
| DATA_SOURCE | 0 | eb | $1 |
| NOCHECK_CALL |
fs/btrfs/tests/extent-io-tests.c test_bitmap_set() -> extent_buffer_bitmap_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folio_shift | 12 |
| PARAM_VALUE | 0 | eb->folio_size | 4096 |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->allocated_ebs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->eb_leak_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->leak_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->leak_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->len | 0-65536 |
| PARAM_VALUE | 0 | eb->lock.count.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | eb->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | eb->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | eb->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | eb->refs.refs.counter | 1 |
| PARAM_VALUE | 0 | eb->start | 0-u32max |
| PARAM_VALUE | 0 | eb->writeback_inhibitors.counter | 0 |
| PARAM_VALUE | 1 | start | 0,2,4,4092 |
| PARAM_VALUE | 2 | pos | 0,2,4 |
| PARAM_VALUE | 3 | len | 0-524288 |
| BUF_SIZE | 0 | eb->fs_info | 11312 |
| CAPPED_DATA | 0 | eb | 1 |
| CAPPED_DATA | 0 | eb->len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 0 | eb | $2 |
| DATA_SOURCE | 1 | start | $3 |
| DATA_SOURCE | 2 | pos | $4 |
| DATA_SOURCE | 3 | len | $5 |
| HARD_MAX | 1 | start | 4092 |
| HARD_MAX | 2 | pos | 4 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | eb->len | |
| NO_OVERFLOW_SIMPLE | 0 | eb->start | |
| UNITS | 1 | start | unit_byte |