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_destroy_cache_detail()
| 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->pipefs | 0 |
| PARAM_VALUE | 0 | cd->procfs | 0 |
| 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 | 0 | *cd->procfs->name | 0-255 |
| 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 |
net/sunrpc/cache.c cache_unregister_net() -> sunrpc_destroy_cache_detail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cd | 4096-ptr_max |
| PARAM_VALUE | 0 | cd->pipefs | 0 |
| PARAM_VALUE | 0 | cd->procfs | 0 |
| PARAM_VALUE | 0 | *cd->procfs->name | 0-255 |
| BUF_SIZE | 0 | cd | (-1),480 |
| BUF_SIZE | 0 | cd | (-1),480 |
| BUF_SIZE | 0 | cd->net | (-1),1-s32max |
| 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_destroy_cache_detail()
| 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->name | 4096-ptr_max |
| 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->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 |
| 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 |
fs/nfs/cache_lib.c nfs_cache_unregister_net() -> sunrpc_destroy_cache_detail()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | &pool->lock |