Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/btrfs/volumes.c btrfs_map_repair_block() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->fs_info->commit_root_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | fs_info->stripe_root->node->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | op | 1 |
| PARAM_VALUE | 2 | logical | 0-18446744073709551614 |
| PARAM_VALUE | 3 | length | 6153485137903194112 |
| PARAM_VALUE | 3 | *length | 0-u32max |
| PARAM_VALUE | 4 | bioc_ret | 1950849096685228032 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 199693042408505344,4358156812080648192 |
| PARAM_VALUE | 5 | smap->bioc | 0 |
| PARAM_VALUE | 5 | smap->dev | 0 |
| PARAM_VALUE | 5 | smap->physical | 0 |
| PARAM_VALUE | 6 | mirror_num_ret | 6134676017183432704 |
| CAPPED_DATA | 2 | logical | 1 |
| CAPPED_DATA | 2 | logical | 1 |
| DATA_SOURCE | 0 | fs_info | $0 |
| DATA_SOURCE | 2 | logical | $2 |
| DATA_SOURCE | 5 | smap | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | logical | unit_byte |
fs/btrfs/scrub.c scrub_raid56_cached_parity() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->scrub_cancel_req.counter | 0 |
| PARAM_VALUE | 1 | op | 1 |
| PARAM_VALUE | 3 | length | 329664093038587904 |
| PARAM_VALUE | 3 | *length | 0,65536-18446744073709486080 |
| PARAM_VALUE | 4 | bioc_ret | 6202859606998515712 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 0 |
| PARAM_VALUE | 6 | mirror_num_ret | 0 |
| CAPPED_DATA | 0 | fs_info->nodesize | 1 |
| DATA_SOURCE | 2 | logical | $3 |
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | logical | unit_byte |
fs/btrfs/scrub.c scrub_stripe_report_errors() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 2 |
| PARAM_VALUE | 3 | length | 6057149517803999232 |
| PARAM_VALUE | 3 | *length | 0-u32max |
| PARAM_VALUE | 4 | bioc_ret | 1779130461852979200 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 0 |
| PARAM_VALUE | 6 | mirror_num_ret | 0 |
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | logical | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/scrub.c scrub_submit_extent_sector_read() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 0 |
| PARAM_VALUE | 3 | length | 6178095223916994560 |
| PARAM_VALUE | 3 | *length | 0-u32max |
| PARAM_VALUE | 4 | bioc_ret | 2456167828194226176 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 6133281717045710848 |
| PARAM_VALUE | 5 | smap->bioc | 0 |
| PARAM_VALUE | 5 | smap->dev | 0 |
| PARAM_VALUE | 5 | smap->physical | 0 |
| PARAM_VALUE | 5 | smap->rst_search_commit_root | 1 |
| PARAM_VALUE | 6 | mirror_num_ret | 1548059456803483648 |
| PREEMPT_ADD | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | logical | unit_byte |
fs/btrfs/zoned.c read_zone_info() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | op | 2 |
| PARAM_VALUE | 3 | length | 7666868203798040576 |
| PARAM_VALUE | 3 | *length | 4096 |
| PARAM_VALUE | 4 | bioc_ret | 229802781831639040 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 0 |
| PARAM_VALUE | 6 | mirror_num_ret | 0 |
| DATA_SOURCE | 0 | fs_info | $0 |
| DATA_SOURCE | 2 | logical | $1 |
| PREEMPT_ADD | |||
| UNITS | 0 | fs_info | unit_byte |
| UNITS | 2 | logical | unit_byte |
| LOCK2 | &sctx->wr_lock | ||
| TYPE_LOCK | (struct scrub_ctx)->wr_lock |
fs/btrfs/bio.c btrfs_submit_chunk() -> btrfs_map_block()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.counters | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner | (-1) |
| PARAM_VALUE | 0 | fs_info->dev_replace.bio_counter.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fs_info->dev_replace.replace_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | op | 0-1 |
| PARAM_VALUE | 2 | logical | 0,512-18446744073709551104 |
| PARAM_VALUE | 3 | length | 4694281562332672000 |
| PARAM_VALUE | 3 | *length | 0-u32max |
| PARAM_VALUE | 4 | bioc_ret | 5882708683835289600 |
| PARAM_VALUE | 4 | *bioc_ret | 0 |
| PARAM_VALUE | 5 | smap | 111890147107352576 |
| BIT_INFO | 2 | logical | 0x0,0xfffffffffffffe00 |
| BIT_INFO | 2 | logical | 0x0,0xfffffffffffffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fs_info | unit_byte |
| HALF_LOCKED2 | &fs_info->remap_mutex | ||
| HALF_LOCKED2 | &pool->lock |