Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/sunrpc/cache.c cache_register_net() -> sunrpc_init_cache_detail()

Type Parameter Key Value
PARAM_VALUE 0 cd 4096-ptr_max
PARAM_VALUE 0 cd->hash_table 16,4096-ptr_max
PARAM_VALUE 0 cd->net 4096-ptr_max
PARAM_VALUE 0 cd->net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1),1-s32max
CAPPED_DATA 0 cd->hash_size 1
DATA_SOURCE 0 cd $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

fs/nfs/cache_lib.c nfs_cache_register_net() -> sunrpc_init_cache_detail()

Type Parameter Key Value
PARAM_VALUE 0 cd 4096-ptr_max
PARAM_VALUE 0 cd->hash_table 16,4096-ptr_max
PARAM_VALUE 0 cd->net 4096-ptr_max
PARAM_VALUE 0 cd->net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1),1-s32max
CAPPED_DATA 0 cd->hash_size 1
DATA_SOURCE 0 cd $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem