Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-target.c bio_detain_shared() -> alloc_prison_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| DATA_SOURCE | 0 | cache | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/md/dm-cache-target.c invalidate_lock() -> alloc_prison_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->features.io_mode | 2 |
| PARAM_VALUE | 0 | cache->policy | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->prison | 4096-ptr_max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cache)->background_work_lock |
drivers/md/dm-cache-target.c mg_lock_writes() -> alloc_prison_cell()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 0 | cache->policy | 4096-ptr_max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| BUF_SIZE | 0 | cache | (-1),16,40-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cache)->background_work_lock |