Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/bcache/btree.c
- drivers/md/bcache/movinggc.c, line 121
- drivers/md/bcache/request.c, line 248
- drivers/md/bcache/super.c, line 438
Smatch caller information:
drivers/md/bcache/movinggc.c read_moving_submit() -> bch_submit_bbio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 2 | k | 4096-ptr_max |
| PARAM_VALUE | 3 | ptr | 0 |
| BUF_SIZE | 0 | bio | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &c->moving_in_flight |
drivers/md/bcache/request.c bch_data_insert_start() -> bch_submit_bbio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_end_io | 3482445484751695872 |
| PARAM_VALUE | 0 | bio->bi_opf | 1 |
| PARAM_VALUE | 0 | bio->bi_private | 4096-ptr_max |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache->alloc_thread->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 1 | c->cache->alloc_thread->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 1 | c->cache->alloc_thread->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 1 | c->data_bucket_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | c->data_buckets.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | c->data_buckets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | c->data_buckets.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | k | 4096-ptr_max |
| PARAM_VALUE | 3 | ptr | 0 |
| CAPPED_DATA | 1 | c->cache->sb.block_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/btree.c bch_btree_node_read() -> bch_submit_bbio()
| 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_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_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 | 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_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 2 | k | 4096-ptr_max |
| PARAM_VALUE | 3 | ptr | 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 | |||
| 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/btree.c do_btree_node_write() -> bch_submit_bbio()
| 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_io_vec->bv_page->_refcount.counter | 1 |
| 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 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 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 | 2 | k | 4096-ptr_max |
| PARAM_VALUE | 3 | ptr | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| 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 | ||
| 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_submit_bbio()
| 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 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 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 | 2 | k | 4096-ptr_max |
| PARAM_VALUE | 3 | ptr | 0 |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| 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 | ||
| 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 uuid_io() -> bch_submit_bbio()
| 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_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_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 | 1-u32max |
| 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_write_hint | 0 |
| PARAM_VALUE | 0 | bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->issue_time_ns | 0 |
| PARAM_VALUE | 1 | c | 4096-ptr_max |
| PARAM_VALUE | 1 | c->cache | 4096-ptr_max |
| PARAM_VALUE | 1 | c->caching.s->done | 0-1 |
| PARAM_VALUE | 1 | c->uuid_write.all.next | 4096-ptr_max |
| PARAM_VALUE | 1 | c->uuid_write.all.prev | 5007304420852699136 |
| PARAM_VALUE | 1 | c->uuid_write.closure_get_happened | 0 |
| PARAM_VALUE | 1 | c->uuid_write.fn | 0 |
| PARAM_VALUE | 1 | c->uuid_write.magic | 3226771742 |
| PARAM_VALUE | 1 | c->uuid_write.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | c->uuid_write.remaining.counter | 1073741825 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.first_waiter->up | 0 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | c->uuid_write_mutex.lock.owner | (-1) |
| PARAM_VALUE | 1 | c->uuid_write_mutex.lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | k | 4096-ptr_max |
| BUF_SIZE | 0 | bio | 144 |
| BUF_SIZE | 0 | bio->bi_private | 136 |
| BUF_SIZE | 2 | k | (-1),16 |
| BUF_SIZE | 2 | k | (-1),16 |
| CAPPED_DATA | 3 | ptr | 1 |
| DATA_SOURCE | 0 | bio | r bch_bbio_alloc |
| DATA_SOURCE | 1 | c | $0 |
| DATA_SOURCE | 2 | k | $2 |
| 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 | 1 | &c->uuid_write_mutex | |
| HALF_LOCKED2 | global &bch_register_lock | ||
| TYPE_LOCK | (struct cache_set)->uuid_write_mutex |