Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/btrfs/inode.c btrfs_get_extent_allocation_hint() -> btrfs_search_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | tree | 96 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | len | $2 |
| NOSPEC | 2 | len | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | start | 0-u64max |
| USER_DATA | 2 | len | 0-s32max[c] |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/inode.c btrfs_get_extent_allocation_hint() -> btrfs_search_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | len | 0 |
| BUF_SIZE | 0 | tree | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &tree->lock | |
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/extent_map.c btrfs_add_extent_mapping() -> btrfs_search_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | start | 0,4096,8192,12288,16384,24576,32768,36864,40960,122880,143360 |
| PARAM_VALUE | 2 | len | 4096,8192,12288,16384,24576 |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | len | $3 |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &em_tree->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |
fs/btrfs/zoned.c btrfs_rewrite_logical_zoned() -> btrfs_search_extent_mapping()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tree | 4096-ptr_max |
| PARAM_VALUE | 0 | tree->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tree->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | tree->lock.raw_lock.cnts.counter | 0-s32max |
| BUF_SIZE | 0 | tree | 96 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | start | |
| NO_OVERFLOW_SIMPLE | 2 | len | |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | 0 | &tree->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct extent_map_tree)->lock |