Defined in 2 files as a function:
- drivers/md/bcache/request.c, line 683 (as a function)
- drivers/md/dm-bufio.c, line 1327 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/md/bcache/request.c cached_dev_read_done() -> bio_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio->__bi_cnt.counter | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->__bi_nr_segments | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->__bi_remaining.counter | 1 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_bdev->bd_disk->queue->blkg_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio->bi_bdev->bd_disk->queue->blkg_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio->bi_bdev->bd_queue->queue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_bvec_gap_bit | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_cookie | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_crypt_context | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_end_io | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_flags | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_integrity | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_io_vec | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio->bi_io_vec->bv_len | 1-4096 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_io_vec->bv_offset | 0-4095 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_iocost_cost | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_ioprio | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_iter.bi_idx | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_iter.bi_offset | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_iter.bi_size | 512-4294966784 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_max_vecs | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_next | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_opf | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_pool | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_private | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_status | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_write_hint | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->bi_write_stream | 0 |
| PARAM_VALUE | 0 | bio->iop.bio->issue_time_ns | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/bcache/request.c search_free() -> bio_complete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.bio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bio->iop.c | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
block/bio.c bio_complete_batch_cpu_dead() -> (struct bio)->bi_end_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| DATA_SOURCE | 0 | bio | r bio_list_pop |
| CONTAINER | 0 | -72+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
block/bio.c bio_complete_work_fn() -> (struct bio)->bi_end_io()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bio | 4096-ptr_max |
| PARAM_VALUE | 0 | bio->bi_next | 0 |
| DATA_SOURCE | 0 | bio | r bio_list_pop |
| CONTAINER | 0 | -72+0 | $(-1) |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
block/bio.c bio_endio() -> (struct bio)->bi_end_io()
| 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_blkg | 0 |
| PARAM_VALUE | 0 | bio->bi_end_io | 1-57454840631967743,57454840631967745-u64max |
| 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 [m] |
| 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 |
| CONTAINER | 0 | -72+0 | $(-1) |
| NOSPEC | 0 | bio->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_iter.bi_size | |
| NOSPEC | 0 | bio->bi_next->bi_iter.bi_sector | |
| NOSPEC | 0 | bio->bi_next->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | bio->bi_bdev->bd_queue->last_merge->__sector | 0-u64max |
| 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 |
| HOST_DATA | 0 | bio->bi_next->bi_iter.bi_size | 1024-4294966272[c] |
| 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 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &head->srcu | ||
| HALF_LOCKED2 | &ic->endio_wait.lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | global &bch_register_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | lock.complete_slot | ||
| HALF_LOCKED2 | lock.pending_slot | ||
| HALF_LOCKED2 | 0 | &bio->bi_bdev->bd_queue->queue_lock |