Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/sunrpc/cache.c sunrpc_cache_update() -> cache_fresh_locked()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 2 detail 4096-ptr_max
PARAM_VALUE 2 detail->hash_lock.rlock.dep_map->name 0-255
BUF_SIZE 2 detail s32min-(-1),1-s32max
BUF_SIZE 2 detail s32min-(-1),1-s32max
DATA_SOURCE 0 head $2
DATA_SOURCE 2 detail $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 expiry s64min-s64max
LOCK2 2 &detail->hash_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct cache_detail)->hash_lock

net/sunrpc/cache.c sunrpc_cache_update() -> cache_fresh_locked()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->cache_list.pprev 4096-ptr_max
PARAM_VALUE 0 head->flags 0
PARAM_VALUE 2 detail 4096-ptr_max
PARAM_VALUE 2 detail->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 detail->hash_table 4096-ptr_max
BUF_SIZE 0 head 48
BUF_SIZE 2 detail s32min-(-1),1-s32max
BUF_SIZE 2 detail s32min-(-1),1-s32max
DATA_SOURCE 2 detail $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 expiry s64min-s64max
LOCK2 2 &detail->hash_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct cache_detail)->hash_lock

net/sunrpc/cache.c sunrpc_cache_update() -> cache_fresh_locked()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 1 expiry 0
PARAM_VALUE 2 detail 4096-ptr_max
PARAM_VALUE 2 detail->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 detail->hash_table 4096-ptr_max
BUF_SIZE 2 detail s32min-(-1),1-s32max
BUF_SIZE 2 detail s32min-(-1),1-s32max
DATA_SOURCE 0 head $2
DATA_SOURCE 2 detail $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 2 &detail->hash_lock
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct cache_detail)->hash_lock

net/sunrpc/cache.c try_to_negate_entry() -> cache_fresh_locked()

Type Parameter Key Value
PARAM_VALUE 0 head 4096-ptr_max
PARAM_VALUE 0 head->expiry_time s64min-(-1),1-s64max
PARAM_VALUE 2 detail 4096-ptr_max
PARAM_VALUE 2 detail->hash_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 head $1
DATA_SOURCE 2 detail $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 2 &detail->hash_lock
TYPE_LOCK (struct cache_detail)->hash_lock