Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/smp.c bredr_pairing() -> smp_chan_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon->features | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon->role | 0 |
| PARAM_VALUE | 0 | conn->remote_fixed_chan | 128-255 |
| BUF_SIZE | 0 | conn | (-1),896 |
| BUF_SIZE | 0 | conn | (-1),896 |
| BIT_INFO | 0 | conn->remote_fixed_chan | 0x80,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &hci_cb_list_lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_cmd_pairing_req() -> smp_chan_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->smp | 4096-ptr_max |
| DATA_SOURCE | 0 | conn | $0 |
| 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_security_req() -> smp_chan_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->hcon->pending_sec_level | 2-255 |
| PARAM_VALUE | 0 | conn->hcon->role | 0 |
| DATA_SOURCE | 0 | conn | $0 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/smp.c smp_conn_security() -> smp_chan_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conn | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->smp | 4096-ptr_max |
| PARAM_VALUE | 0 | conn->smp->data | 0 |
| PARAM_VALUE | 0 | conn->smp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conn->smp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | conn->smp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | conn->smp->lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | conn | 896 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &chan->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &conn->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &hci_cb_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct l2cap_chan)->lock |