Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/nbd.c nbd_add_socket() -> nbd_reclassify_socket()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->ops->shutdown | 0-4054184456399474687,4054184456399474689-u64max |
| PARAM_VALUE | 0 | sock->sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->sk->__sk_common.skc_family | 1-2,10 |
| PARAM_VALUE | 0 | sock->sk->sk_type | 1 |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | sock | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | sock | r nbd_get_socket |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &nbd->config_lock | ||
| TYPE_LOCK | (struct nbd_device)->config_lock |