Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- net/bluetooth/hci_conn.c, line 2458
- net/bluetooth/l2cap_core.c, line 7348
- net/bluetooth/mgmt.c, line 3746
Smatch caller information:
net/bluetooth/mgmt.c pair_device() -> hci_connect_le_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | dst_type | 0-1 |
| PARAM_VALUE | 3 | sec_level | 2 |
| PARAM_VALUE | 5 | conn_reason | 0 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| DATA_SOURCE | 2 | dst_type | r le_addr_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_conn.c hci_connect_cis() -> hci_connect_le_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->le_features | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | dst_type | 0-1 |
| PARAM_VALUE | 3 | sec_level | 1 |
| PARAM_VALUE | 5 | conn_reason | 3 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | dst_type | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/l2cap_core.c l2cap_chan_connect() -> hci_connect_le_scan()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | dst | 4285035683332894720 |
| PARAM_VALUE | 2 | dst_type | 0-1 |
| PARAM_VALUE | 3 | sec_level | 1 |
| PARAM_VALUE | 5 | conn_reason | 1 |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | r hci_get_route |
| DATA_SOURCE | 1 | dst | $3 |
| DATA_SOURCE | 2 | dst_type | $4 [m] |
| DATA_SOURCE | 4 | conn_timeout | $5 |
| FUZZY_MAX | 2 | dst_type | 1 |
| HARD_MAX | 2 | dst_type | 1 |
| RX_PATH | |||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |