Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-pcache/cache.c cache_segs_init() -> cache_seg_init()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_ctrl 4096-ptr_max
PARAM_VALUE 0 cache->cache_dev 4096-ptr_max
PARAM_VALUE 0 cache->cache_info.n_segs 1-u32max
PARAM_VALUE 0 cache->cache_info_addr 4096-ptr_max
PARAM_VALUE 1 seg_id 0-4294967294
BUF_SIZE 0 cache 12160
CAPPED_DATA 2 cache_seg_id 1
DATA_SOURCE 0 cache $0
PARAM_COMPARE 0 cache->cache_dev->seg_num > $2
PARAM_COMPARE 2 cache_seg_id < $0->cache_dev->seg_num
BIT_INFO 0 cache->cache_info.flags 0x0,0xffffffff
UNITS 2 cache_seg_id unit_array_size