Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

net/sunrpc/auth_gss/svcauth_gss.c rsc_cache_create_net() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

net/sunrpc/auth_gss/svcauth_gss.c rsi_cache_create_net() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net (-1),1-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

fs/nfsd/export.c nfsd_export_init() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

fs/nfsd/export.c nfsd_export_init() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

net/sunrpc/svcauth_unix.c ip_map_cache_create() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
PARAM_VALUE 1 net->proc_net->nlink 0-4294967295
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

net/sunrpc/svcauth_unix.c unix_gid_cache_create() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
PARAM_VALUE 1 net->proc_net->nlink 0-4294967295
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

fs/nfsd/nfs4idmap.c nfsd_idmap_init() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem

fs/nfsd/nfs4idmap.c nfsd_idmap_init() -> cache_register_net()

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
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
BUF_SIZE 0 cd 480
BUF_SIZE 0 cd->net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net (-1)-s32max
BUF_SIZE 1 net->key_domain (-1),24
BUF_SIZE 1 net->ucounts (-1),184
CAPPED_DATA 0 cd->hash_size 1
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 0 cd r cache_create_net
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cd->hash_size
LOCK2 global &pernet_ops_rwsem