Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c sc_generate_link_key() -> smp_h6()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key_id | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 1 | key_id | 4 |
| BUF_SIZE | 2 | res | 16 |
| BUF_SIZE | 2 | res | 16 |
| DATA_SOURCE | 2 | res | r _kzalloc_noprof |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c sc_generate_link_key() -> smp_h6()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | w | 4096-ptr_max |
| PARAM_VALUE | 1 | key_id | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 1 | key_id | 4 |
| BUF_SIZE | 2 | res | 16 |
| BUF_SIZE | 2 | res | 16 |
| DATA_SOURCE | 0 | w | r _kzalloc_noprof |
| DATA_SOURCE | 2 | res | r _kzalloc_noprof |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c sc_generate_ltk() -> smp_h6()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key_id | 4096-ptr_max |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 1 | key_id | 4 |
| BUF_SIZE | 2 | 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 sc_generate_ltk() -> smp_h6()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key_id | 4096-ptr_max |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 1 | key_id | 4 |
| BUF_SIZE | 2 | 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 test_h6() -> smp_h6()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | w | 4096-ptr_max |
| PARAM_VALUE | 1 | key_id | 4096-ptr_max |
| BUF_SIZE | 0 | w | 16 |
| BUF_SIZE | 1 | key_id | 4 |
| BUF_SIZE | 2 | res | 16 |