Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-target.c map_bio() -> bio_detain_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 2 | bio | 4096-ptr_max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 2 | bio | (-1),144 |
| BUF_SIZE | 2 | bio | (-1),144 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | oblock | $2 |
| DATA_SOURCE | 2 | bio | $1 |
| NOSPEC | 2 | bio->bi_iter.bi_sector | |
| NOSPEC | 2 | bio->bi_iter.bi_size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | oblock | 0-18446744073709551614 |
| HOST_DATA | 2 | bio->bi_iter.bi_sector | 0-u64max |
| HOST_DATA | 2 | bio->bi_iter.bi_size | 0-u32max[c] |
| USER_DATA | 1 | oblock | 0-18446744073709551614[c] |
| USER_DATA | 2 | bio->bi_ioprio | 0-u16max |
| USER_DATA | 2 | bio->bi_iter.bi_sector | 0-u64max |
| USER_DATA | 2 | bio->bi_iter.bi_size | 0-u32max |
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/dm-cache-target.c mg_copy() -> bio_detain_shared()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bio | 1-u64max |