Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/sunrpc/cache.c c_show() -> cache_is_expired()

Type Parameter Key Value
PARAM_VALUE 0 detail->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 detail->requests.prev 0,4096-ptr_max
PARAM_VALUE 0 detail->requests.prev->next 4096-ptr_max
PARAM_VALUE 0 detail->requests.prev->next->next 4096-ptr_max
PARAM_VALUE 1 h 4096-ptr_max
BUF_SIZE 0 detail s32min-(-2),1-s32max
BUF_SIZE 0 detail s32min-(-2),1-s32max
CAPPED_DATA 1 h 1
DATA_SOURCE 1 h $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 detail unit_array_size
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

net/sunrpc/cache.c cache_clean() -> cache_is_expired()

Type Parameter Key Value
PARAM_VALUE 0 detail 4096-ptr_max
PARAM_VALUE 0 detail->hash_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 detail->hash_size (-2147483647)-s32max
PARAM_VALUE 0 detail->hash_table 4096-ptr_max
PARAM_VALUE 1 h 4096-ptr_max
CAPPED_DATA 0 detail->nextcheck 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cache_list_lock
LOCK2 global &current_detail->hash_lock
TYPE_LOCK (struct cache_detail)->hash_lock

net/sunrpc/cache.c sunrpc_cache_add_entry() -> cache_is_expired()

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

net/sunrpc/cache.c sunrpc_cache_find_rcu() -> cache_is_expired()

Type Parameter Key Value
PARAM_VALUE 0 detail 4096-ptr_max
PARAM_VALUE 0 detail->hash_table 4096-ptr_max
PARAM_VALUE 1 h 4096-ptr_max
BUF_SIZE 0 detail s32min-(-1),1-s32max
BUF_SIZE 0 detail s32min-(-1),1-s32max
DATA_SOURCE 0 detail $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &inode->i_rwsem

net/sunrpc/svcauth_unix.c ip_map_cached_get() -> cache_is_expired()

Type Parameter Key Value
PARAM_VALUE 1 h 1-u64max
PREEMPT_ADD <- disables preempt
LOCK2 &xprt->xpt_lock
TYPE_LOCK (struct svc_xprt)->xpt_lock