Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-pcache/cache_gc.c last_kset_gc() -> cache_encode_key_tail()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->cache_info.n_segs 1-u32max
PARAM_VALUE 0 cache->dirty_tail_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->dirty_tail_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->dirty_tail_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->dirty_tail_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->dirty_tail_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->gc_errors.counter 0
PARAM_VALUE 0 cache->gc_kset_onmedia_buf->magic 7451369025480052506
PARAM_VALUE 0 cache->key_tail.cache_seg 4096-ptr_max
PARAM_VALUE 0 cache->key_tail.seg_off 0
PARAM_VALUE 0 cache->key_tail_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->key_tail_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->key_tail_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->key_tail_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.owner (-1)
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 cache->segments 4096-ptr_max
CAPPED_DATA 0 cache->cache_info.n_segs 1
CAPPED_DATA 0 cache->gc_kset_onmedia_buf->crc 1
CAPPED_DATA 0 &cache->key_tail_lock 1
DATA_SOURCE 0 cache $0
NOCHECK_CALL
LOCK2 0 &cache->key_tail_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pcache_cache)->key_tail_lock

drivers/md/dm-pcache/cache_gc.c pcache_cache_gc_fn() -> cache_encode_key_tail()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
PARAM_VALUE 0 cache->dirty_tail_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->dirty_tail_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->dirty_tail_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->dirty_tail_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->dirty_tail_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->gc_errors.counter 0
PARAM_VALUE 0 cache->gc_kset_onmedia_buf->key_num 0-s32max
PARAM_VALUE 0 cache->gc_kset_onmedia_buf->magic 7451369025480052506
PARAM_VALUE 0 cache->key_tail.cache_seg 4096-ptr_max
PARAM_VALUE 0 cache->key_tail_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->key_tail_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 cache->key_tail_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->key_tail_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.owner (-1)
PARAM_VALUE 0 cache->key_tail_lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 cache->gc_kset_onmedia_buf->crc 1
CAPPED_DATA 0 &cache->dirty_tail_lock 1
CAPPED_DATA 0 &cache->key_tail_lock 1
NOCHECK_CALL
LOCK2 0 &cache->key_tail_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pcache_cache)->key_tail_lock

drivers/md/dm-pcache/cache.c cache_tail_init() -> cache_encode_key_tail()

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_dev->seg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cache->cache_dev->seg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 cache->cache_dev->seg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cache->cache_info_addr 4096-ptr_max
PARAM_VALUE 0 cache->dirty_tail.cache_seg 4096-ptr_max
PARAM_VALUE 0 cache->dirty_tail.seg_off 0
PARAM_VALUE 0 cache->key_head.cache_seg 4096-ptr_max
PARAM_VALUE 0 cache->key_head.seg_off 0
PARAM_VALUE 0 cache->key_tail.cache_seg 4096-ptr_max
PARAM_VALUE 0 cache->key_tail.seg_off 0
PARAM_VALUE 0 cache->seg_map 4096-ptr_max
PARAM_VALUE 0 cache->segments 4096-ptr_max
BUF_SIZE 0 cache 12160
CAPPED_DATA 0 cache->cache_info.n_segs 1
DATA_SOURCE 0 cache $0
BIT_INFO 0 cache->cache_info.flags 0x0,0xfffffffd
NOCHECK_CALL