Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-cache-target.c mg_complete() -> clear_discard()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cache->background_work_lock

drivers/md/dm-cache-target.c remap_to_cache_dirty() -> clear_discard()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_dev 4096-ptr_max
PARAM_VALUE 0 cache->dirty_bitset 4096-ptr_max
PARAM_VALUE 0 cache->features.io_mode 0-1,3-u32max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->need_tick_bio 0
PARAM_VALUE 0 cache->policy 4096-ptr_max
PARAM_VALUE 0 cache->policy->lookup 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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-cache-target.c remap_to_origin_and_cache() -> clear_discard()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->bs.rescue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->dirty_bitset 4096-ptr_max
PARAM_VALUE 0 cache->features.io_mode 1
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->origin_dev 4096-ptr_max
PARAM_VALUE 0 cache->policy 4096-ptr_max
PARAM_VALUE 0 cache->policy->lookup 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
CAPPED_DATA 0 &cache->bs 1
DATA_SOURCE 0 cache $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &md->io_barrier

drivers/md/dm-cache-target.c remap_to_origin_clear_discard() -> clear_discard()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cache->need_tick_bio 0
PARAM_VALUE 0 cache->origin_dev 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
NOCHECK_CALL