Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/bcache/debug.c bch_btree_verify() -> bch_bbio_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_end_io | 2351913159879864320 |
| PARAM_VALUE | 0 | bio->bi_io_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_io_vec->bv_len | 1-4096 |
| PARAM_VALUE | 0 | bio->bi_io_vec->bv_offset | 0-4095 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-8796093022207 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 7256720788822900736 |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 1 | c->verify | 1 |
| PARAM_VALUE | 1 | c->verify_data | 4096-ptr_max |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->insert_fixup | 3359186278354853888,8738410596996493312 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->key_bad | 2053114610689146880,2965826758702149632 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->key_dump | 5824308303565893632 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->key_invalid | 5042869928339255296,8931906019736064000 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->key_merge | 0,8943847820907044864 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->key_to_text | 6644520337947410432 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->sort_cmp | 127698777507876864,850943255651803136 |
| PARAM_VALUE | 1 | c->verify_data->keys.ops->sort_fixup | 0,8945762327650275328 |
| PARAM_VALUE | 1 | c->verify_data->keys.set | 4096-ptr_max |
| PARAM_VALUE | 1 | c->verify_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | c->verify_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | c->verify_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | c->verify_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | c->verify_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | c->verify_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | c->verify_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | c->verify_ondisk | 1-u64max |
| BUF_SIZE | 0 | bio | 144 |
| CAPPED_DATA | 1 | &c->verify_lock | 1 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0x1fffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 1 | c->search.min_nr | |
| LOCK2 | &b->io_mutex | ||
| LOCK2 | 1 | &c->verify_lock | |
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | &n1->io_mutex | ||
| HALF_LOCKED2 | &n1->write_lock | ||
| HALF_LOCKED2 | &n2->io_mutex | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->io_mutex | ||
| TYPE_LOCK | (struct cache_set)->verify_lock |
drivers/md/bcache/btree.c __btree_node_write_done() -> bch_bbio_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_node_read() -> bch_bbio_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_disk->zone_wplugs_worker_bio_done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_end_io | 2177603211561545728 |
| PARAM_VALUE | 0 | bio->bi_io_vec->bv_len | 1-4096 |
| PARAM_VALUE | 0 | bio->bi_io_vec->bv_offset | 0-4095 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_sector | 0-8796093022207 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 7136146311668580352 |
| PARAM_VALUE | 0 | bio->bi_private->closure_get_happened | 1 |
| PARAM_VALUE | 0 | bio->bi_private->remaining.counter | s32min-s32max |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| CAPPED_DATA | 0 | bio | 1 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0x1fffe00 |
| MEM_ZERO | 0 | bio->bi_private | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | c->bio_meta.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->fill_iter.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | c->nr_uuids | |
| NO_OVERFLOW_SIMPLE | 1 | c->search.min_nr |
drivers/md/bcache/super.c prio_endio() -> bch_bbio_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| DATA_SOURCE | 0 | bio | $0 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio->bi_private | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| HOST_DATA | 0 | bio->bi_next->bi_iter.bi_sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/bcache/super.c uuid_endio() -> bch_bbio_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio | (-1)-s32max |
| BUF_SIZE | 0 | bio->bi_pool | (-1),624 |
| BUF_SIZE | 0 | bio->bi_private | (-1)-s32max |
| DATA_SOURCE | 0 | bio | $0 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | bio->bi_private | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 0 | bio->bi_iter.bi_size | 0-u32max[c] |
| HOST_DATA | 0 | bio->bi_max_vecs | 0-u16max[c] |
| HOST_DATA | 0 | bio->bi_next->bi_iter.bi_sector | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_next->bi_iter.bi_sector | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_bdev->bd_disk->queue->stats | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bio.bi_max_vecs | |
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |