Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/md/bcache/writeback.c read_dirty() -> bch_bio_alloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 bio 4096-ptr_max
PARAM_VALUE 0 bio->bi_end_io 110230604712161280
PARAM_VALUE 0 bio->bi_iter.bi_sector 0-8796093022207
PARAM_VALUE 0 bio->bi_max_vecs 0-8192
PARAM_VALUE 0 bio->bi_opf 0
PARAM_VALUE 1 gfp_mask 3264
HALF_LOCKED2 &dc->in_flight

drivers/md/bcache/debug.c bch_data_verify() -> bch_bio_alloc_pages()

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_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_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 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_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3072
BUF_SIZE 0 bio 144-16528
BUF_SIZE 0 bio 144-16528
DATA_SOURCE 0 bio r bio_kmalloc

drivers/md/bcache/movinggc.c read_moving() -> bch_bio_alloc_pages()

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_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 8867494169180876800
PARAM_VALUE 0 bio->bi_flags 16
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 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 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_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 3264
BUF_SIZE 0 bio 144
HALF_LOCKED2 &c->moving_in_flight

drivers/md/bcache/request.c cached_dev_cache_miss() -> bch_bio_alloc_pages()

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_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_size 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_write_hint 0
PARAM_VALUE 0 bio->bi_write_stream 0
PARAM_VALUE 0 bio->issue_time_ns 0
PARAM_VALUE 1 gfp_mask 11264
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
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/btree.c do_btree_node_write() -> bch_bio_alloc_pages()

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 gfp_mask 10240
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
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