Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/nfsd/export.c
- fs/nfsd/nfs4idmap.c
- net/sunrpc/auth_gss/svcauth_gss.c
- net/sunrpc/cache.c, line 1728
- net/sunrpc/svcauth_unix.c
Smatch caller information:
net/sunrpc/auth_gss/svcauth_gss.c rsc_cache_destroy_net() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/sunrpc/auth_gss/svcauth_gss.c rsi_cache_destroy_net() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/export.c nfsd_export_init() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->entries | 0 |
| PARAM_VALUE | 0 | cd->hash_table | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cd->last_close | 0 |
| PARAM_VALUE | 0 | cd->last_warn | (-1) |
| PARAM_VALUE | 0 | cd->net | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->next_seqno | 1 |
| PARAM_VALUE | 0 | cd->nextcheck | 0 |
| PARAM_VALUE | 0 | cd->others.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->others.prev | 4749729226067046400 |
| PARAM_VALUE | 0 | cd->others.prev->prev | 4749729226067046400 |
| PARAM_VALUE | 0 | cd->pipefs | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->procfs | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->procfs->nlink | 0-4294967295 |
| PARAM_VALUE | 0 | cd->queue_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->writers.counter | 0 |
| 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 | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cd->hash_size | |
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/export.c nfsd_export_shutdown() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/export.c nfsd_export_shutdown() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/sunrpc/svcauth_unix.c ip_map_cache_destroy() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
net/sunrpc/svcauth_unix.c unix_gid_cache_destroy() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->hash_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/nfs4idmap.c nfsd_idmap_init() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->entries | 0 |
| PARAM_VALUE | 0 | cd->hash_table | 16,4096-ptr_max |
| PARAM_VALUE | 0 | cd->last_close | 0 |
| PARAM_VALUE | 0 | cd->last_warn | (-1) |
| PARAM_VALUE | 0 | cd->net | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->next_seqno | 1 |
| PARAM_VALUE | 0 | cd->nextcheck | 0 |
| PARAM_VALUE | 0 | cd->others.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->others.prev | 4749729226067046400 |
| PARAM_VALUE | 0 | cd->others.prev->prev | 4749729226067046400 |
| PARAM_VALUE | 0 | cd->pipefs | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->procfs | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->procfs->nlink | 0-4294967295 |
| PARAM_VALUE | 0 | cd->queue_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->queue_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->readers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->requests.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->writers.counter | 0 |
| 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 | 1 |
| 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 | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | cd->hash_size | |
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/nfs4idmap.c nfsd_idmap_shutdown() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |
fs/nfsd/nfs4idmap.c nfsd_idmap_shutdown() -> cache_unregister_net()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->gen | 4096-ptr_max |
| 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 | 1 | net->gen | 1 |
| DATA_SOURCE | 1 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem |