Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/cachefiles/interface.c cachefiles_alloc_object() -> fscache_get_cookie()

Type Parameter Key Value
PARAM_VALUE 0 cookie 4096-ptr_max
PARAM_VALUE 0 cookie->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cookie->volume 4096-ptr_max
PARAM_VALUE 0 cookie->volume->cache 4096-ptr_max
PARAM_VALUE 0 cookie->volume->cache->ops 4096-ptr_max
PARAM_VALUE 0 cookie->volume->cache->ops->invalidate_cookie 4326305979280683008
PARAM_VALUE 0 cookie->volume->cache->ops->prepare_to_write 3772765655910715392
PARAM_VALUE 0 cookie->volume->cache_priv 1-u64max
PARAM_VALUE 1 where 3
CAPPED_DATA 0 cookie->volume 1
DATA_SOURCE 0 cookie $0
LOCK2 &pool->lock

fs/netfs/fscache_cookie.c fscache_hash_cookie() -> fscache_get_cookie()

Type Parameter Key Value
PARAM_VALUE 0 cookie 4096-ptr_max
PARAM_VALUE 0 cookie->key_len 1-255
PARAM_VALUE 0 cookie->volume 1-u64max
PARAM_VALUE 1 where 5
CAPPED_DATA 0 cookie->key_hash 1
CAPPED_DATA 0 cookie->key_len 1
CAPPED_DATA 0 cookie->volume 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdsc->snap_rwsem

fs/netfs/fscache_cookie.c fscache_queue_cookie() -> fscache_get_cookie()

Type Parameter Key Value
PARAM_VALUE 0 cookie 4096-ptr_max
PARAM_VALUE 0 cookie->volume->cache->ops->invalidate_cookie 4096-ptr_max
PARAM_VALUE 0 cookie->volume->cache->ops->prepare_to_write 4096-ptr_max
PARAM_VALUE 1 where 4,6,8
CAPPED_DATA 0 cookie 1
DATA_SOURCE 0 cookie $0
DATA_SOURCE 1 where $1
NOSPEC 0 cookie->object_size
HARD_MAX 1 where 8
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 cookie->object_size (-9223372036854775807)-(-4),0-s64max
HALF_LOCKED2 0 &cookie->lock

fs/netfs/fscache_cookie.c fscache_unuse_cookie_locked() -> fscache_get_cookie()

Type Parameter Key Value
PARAM_VALUE 0 cookie 4096-ptr_max
PARAM_VALUE 0 cookie->commit_link.next 4096-ptr_max
PARAM_VALUE 0 cookie->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 where 7
CAPPED_DATA 0 &cookie->commit_link 1
DATA_SOURCE 0 cookie $0
PARAM_COMPARE 0 &cookie->commit_link == $0->commit_link.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &fscache_cookie_lru_lock
LOCK2 0 &cookie->lock
HALF_LOCKED2 &vnode->validate_lock
TYPE_LOCK (struct fscache_cookie)->lock