Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/md/bcache/btree.c
- drivers/md/bcache/debug.c
- drivers/md/bcache/journal.c
- drivers/md/bcache/movinggc.c, line 89
- drivers/md/bcache/request.c
- drivers/md/bcache/super.c
- drivers/md/bcache/writeback.c, line 341
Smatch caller information:
drivers/md/bcache/writeback.c dirty_init() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0,24576 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0,512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-8192 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | (-1),1-s32max |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0x1fffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dc->in_flight |
drivers/md/bcache/debug.c bch_btree_verify() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 | 0,512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 4096 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio | 144 |
| 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 | |||
| LOCK2 | &b->c->verify_lock | ||
| LOCK2 | &b->io_mutex | ||
| 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/debug.c bch_data_verify() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 0 |
| BUF_SIZE | 0 | bio | 144-16528 |
| BUF_SIZE | 0 | bio | 144-16528 |
| DATA_SOURCE | 0 | bio | r bio_kmalloc |
| NOCHECK_CALL |
drivers/md/bcache/movinggc.c moving_init() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 16 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 24576 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0,512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-8192 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0x1fffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/request.c cached_dev_cache_miss() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 5088536088689451008 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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_size | 0,512-4294966784 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-4,16,64,128,256 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 0 |
| BUF_SIZE | 0 | bio->bi_pool | 624 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_size | 1 |
| DATA_SOURCE | 0 | bio | r bio_alloc_bioset |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfffffe00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | bio->bi_pool->bvec_pool.min_nr | |
| HALF_LOCKED2 | b |
drivers/md/bcache/request.c cached_dev_read_done() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 0 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | 0 |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| 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->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | 0 |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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_size | 0,512-4294966784 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 0 |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfffffe00 |
| MEM_ZERO | 0 | bio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/journal.c journal_read_bucket() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 0 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | 0 |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_blkg | 0 |
| PARAM_VALUE | 0 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | 0 |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 4581272657803251712 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_io_vec | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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_size | 512-32768 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 5932721054348328960 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| CAPPED_DATA | 0 | bio | 1 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_size | 1 |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfe00 |
| MEM_ZERO | 0 | bio | |
| MEM_ZERO | 0 | bio->bi_private | |
| NOCHECK_CALL |
drivers/md/bcache/journal.c journal_write_unlocked() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 0 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | 0 |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev->bd_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_blkg | 0 |
| PARAM_VALUE | 0 | bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | 0 |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 7242126737427677184 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_io_vec | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 | 0,512-4294966784 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 399361 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfffffe00 |
| MEM_ZERO | 0 | bio | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &c->journal.lock |
drivers/md/bcache/btree.c bch_btree_node_read() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 2177603211561545728 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0,512-33553920 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 4096 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 7136146311668580352 |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| 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 |
drivers/md/bcache/btree.c do_btree_node_write() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 2309636349174153216 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 135169 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| DATA_SOURCE | 1 | base | r btree_bset_last |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->io_mutex | ||
| HALF_LOCKED2 | &b->lock | ||
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->io_mutex |
drivers/md/bcache/btree.c do_btree_node_write() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 2309636349174153216 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_io_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_iter.bi_size | 0 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 135169 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| DATA_SOURCE | 1 | base | r btree_bset_last |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->io_mutex | ||
| HALF_LOCKED2 | &b->lock | ||
| HALF_LOCKED2 | &b->write_lock | ||
| HALF_LOCKED2 | &c->bucket_lock | ||
| HALF_LOCKED2 | b | ||
| TYPE_LOCK | (struct btree)->io_mutex |
drivers/md/bcache/super.c prio_io() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 1831089617864142848 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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_size | 0,4096-4194304 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 6144-6145 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | (-1),128 |
| CAPPED_DATA | 0 | bio->bi_iter.bi_size | 1 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| BIT_INFO | 0 | bio->bi_opf | 0x1800,0x1801 |
| NOCHECK_CALL |
drivers/md/bcache/super.c uuid_io() -> bch_bio_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->__bi_cnt.counter | 1 |
| PARAM_VALUE | 0 | bio->__bi_nr_segments | u32max |
| PARAM_VALUE | 0 | bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->bi_bdev | 0 |
| 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_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->bi_cookie | u32max |
| PARAM_VALUE | 0 | bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 4715985922559717376 |
| PARAM_VALUE | 0 | bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->bi_ioprio | 0 |
| 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 |
| PARAM_VALUE | 0 | bio->bi_max_vecs | 0-1024 |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->bi_opf | 6144-6145 |
| PARAM_VALUE | 0 | bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->bi_vcnt | 0 |
| PARAM_VALUE | 0 | bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| BIT_INFO | 0 | bio->bi_iter.bi_size | 0x0,0xfffffe00 |
| BIT_INFO | 0 | bio->bi_opf | 0x1800,0x1801 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &c->uuid_write_mutex | ||
| HALF_LOCKED2 | global &bch_register_lock | ||
| TYPE_LOCK | (struct cache_set)->uuid_write_mutex |