Defined in 3 files as a function:
- drivers/md/dm-cache-target.c, line 1824 (as a function)
- drivers/md/dm-clone-target.c, line 474 (as a function)
- drivers/md/dm-thin.c, line 1764 (as a function)
Referenced in 3 files:
- drivers/md/dm-cache-target.c, line 1867
- drivers/md/dm-clone-target.c, line 1344
- drivers/md/dm-thin.c
Smatch caller information:
drivers/md/dm-cache-target.c process_deferred_bios() -> process_discard_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_bios.head | 0 |
| PARAM_VALUE | 0 | clone->deferred_bios.tail | 0 |
| PARAM_VALUE | 0 | clone->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| DATA_SOURCE | 1 | bio | r bio_list_pop |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xfffbffff |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-clone-target.c clone_map() -> process_discard_bio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->mode | 0-1,3-u32max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_end_io | 3905977605003870208 |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| BUF_SIZE | 0 | clone | 16,40-s32max |
| BUF_SIZE | 1 | bio | (-1),144 |
| BUF_SIZE | 1 | bio | (-1),144 |
| DATA_SOURCE | 1 | bio | $1 |
| BIT_INFO | 1 | bio->bi_opf | 0x0,0xfffbffff |
| NOSPEC | 1 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | bio->bi_iter.bi_size | 0[c] |
| HOST_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| USER_DATA | 1 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 1 | bio->bi_iter.bi_size | 0 |
| USER_DATA | 1 | bio->bi_max_vecs | 0-4,16,64,128,256[c] |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 1 | bio->bi_pool->bvec_pool.min_nr | |
| LOCK2 | &md->io_barrier | ||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->swap_bios_semaphore | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/dm-thin.c process_thin_deferred_bios() -> (struct pool)->process_discard()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clone | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_bio_list.head->bi_next | 0 |
| PARAM_VALUE | 0 | clone->deferred_bio_list.tail->bi_next | 0 |
| PARAM_VALUE | 0 | clone->deferred_cells.next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_cells.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_cells.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_cells.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_cells.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->deferred_cells.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | clone->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | clone->pool->next_mapping | 1-u64max |
| PARAM_VALUE | 0 | clone->pool->throttle.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | clone->requeue_mode | 0 |
| PARAM_VALUE | 0 | clone->sort_bio_list.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | bio | 4096-ptr_max |
| PARAM_VALUE | 1 | bio->bi_next | 0 |
| DATA_SOURCE | 0 | clone | $0 |
| DATA_SOURCE | 1 | bio | r bio_list_pop |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |