Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-target.c bio_detain_shared() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/md/dm-cache-target.c bio_detain_shared() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cell->node.__rb_parent_color 1
PARAM_VALUE 1 cell->node.rb_left 4096-ptr_max
PARAM_VALUE 1 cell->node.rb_right 4096-ptr_max
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 cell->key.block_begin 0
USER_DATA 1 cell->key.block_begin 0

drivers/md/dm-cache-target.c bio_drop_shared_lock() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cell 4096-ptr_max
PARAM_VALUE 1 cell->exclusive_lock 0
PARAM_VALUE 1 cell->node.rb_left 0,4096-ptr_max
PARAM_VALUE 1 cell->node.rb_right 0,4096-ptr_max
PARAM_VALUE 1 cell->shared_count 0
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 0 cache $0
STR_LEN 0 cache (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
STR_LEN 0 cache (-1),8,11-12,14,17,19-20,23,26-27,29,31-32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-cache-target.c invalidate_complete() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cell 4096-ptr_max
PARAM_VALUE 1 cell->bios.head 0
PARAM_VALUE 1 cell->bios.tail 0
PARAM_VALUE 1 cell->exclusive_lock 1
PARAM_VALUE 1 cell->node.rb_left 0,4096-ptr_max
PARAM_VALUE 1 cell->node.rb_right 0,4096-ptr_max
PARAM_VALUE 1 cell->shared_count 0
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cache->background_work_lock

drivers/md/dm-cache-target.c invalidate_lock() -> free_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
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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 invalidate_lock() -> free_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
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 cell->key.block_begin 0
USER_DATA 1 cell->key.block_begin 0
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_complete() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cell 4096-ptr_max
PARAM_VALUE 1 cell->bios.head 0
PARAM_VALUE 1 cell->bios.tail 0
PARAM_VALUE 1 cell->exclusive_lock 1
PARAM_VALUE 1 cell->node.rb_left 0,4096-ptr_max
PARAM_VALUE 1 cell->node.rb_right 0,4096-ptr_max
PARAM_VALUE 1 cell->shared_count 0
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cache->background_work_lock

drivers/md/dm-cache-target.c mg_lock_writes() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->policy 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cache->background_work_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cache)->background_work_lock

drivers/md/dm-cache-target.c mg_lock_writes() -> free_prison_cell()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->policy 4096-ptr_max
PARAM_VALUE 0 cache->prison 4096-ptr_max
PARAM_VALUE 0 cache->prison->cell_pool.curr_nr s32min-s32max
PARAM_VALUE 0 cache->prison->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 cache (-1),16,40-s32max
BUF_SIZE 0 cache (-1),16,40-s32max
DATA_SOURCE 1 cell r alloc_prison_cell
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 cell->key.block_begin 0
USER_DATA 1 cell->key.block_begin 0
LOCK2 &cache->background_work_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct cache)->background_work_lock