Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c sc_passkey_round() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 128-129 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| BIT_INFO | 3 | z | 0x80,0x81 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c sc_passkey_send_confirm() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 128-129 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| BIT_INFO | 3 | z | 0x80,0x81 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &conn->lock |
net/bluetooth/smp.c smp_cmd_pairing_random() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 0 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_public_key() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 0 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_public_key() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 0 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_generate_oob() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | z | 0 |
| BUF_SIZE | 0 | u | 64 |
| BUF_SIZE | 1 | v | 64 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |
| BUF_SIZE | 4 | res | 16 |
| DATA_SOURCE | 4 | res | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/smp.c test_f4() -> smp_f4()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | u | 4096-ptr_max |
| PARAM_VALUE | 1 | v | 4096-ptr_max |
| PARAM_VALUE | 2 | x | 4096-ptr_max |
| PARAM_VALUE | 3 | z | 0 |
| BUF_SIZE | 0 | u | 32 |
| BUF_SIZE | 1 | v | 32 |
| BUF_SIZE | 2 | x | 16 |
| BUF_SIZE | 4 | res | 16 |