Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-pcache/cache_gc.c need_gc() -> pcache_cache_get_gc_percent()

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 4096-ptr_max
PARAM_VALUE 0 cache->gc_kset_onmedia_buf->magic 7451369025480052506
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
DATA_SOURCE 0 cache $0
HALF_LOCKED2 &pool->lock

drivers/md/dm-pcache/dm_pcache.c dm_pcache_status() -> pcache_cache_get_gc_percent()

Type Parameter Key Value
PARAM_VALUE 0 cache 4096-ptr_max
BUF_SIZE 0 cache 12160
LOCK2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->io_barrier