Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c sc_passkey_round() -> sc_dhkey_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->method | 2,5 |
| PARAM_VALUE | 0 | smp->passkey_round | 20 |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| DATA_SOURCE | 0 | smp | $0 |
| FUZZY_MAX | 0 | smp->method | 5 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c sc_user_reply() -> sc_dhkey_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| DATA_SOURCE | 0 | smp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chan->lock | ||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/smp.c sc_user_reply() -> sc_dhkey_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| DATA_SOURCE | 0 | smp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &chan->lock | ||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |
net/bluetooth/smp.c smp_cmd_dhkey_check() -> sc_dhkey_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->preq | 4096-ptr_max |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_pairing_random() -> sc_dhkey_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smp | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | smp->method | 4 |
| BUF_SIZE | 0 | smp | 1-s32max |
| BUF_SIZE | 0 | smp | 1-s32max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |