Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/mgmt.c get_connections() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mesh_device_found() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 128 |
| DATA_SOURCE | 1 | addr_type | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_auth_failed() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mgmt_conn_subrate_notify() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_connect_failed() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 1,128 |
| HARD_MAX | 0 | link_type | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_device_connected() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_device_disconnected() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 1,128,131 |
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| BIT_INFO | 0 | link_type | 0x0,0x83 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_device_found() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 1,128 |
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| FUZZY_MAX | 0 | link_type | 1 |
| HARD_MAX | 0 | link_type | 128 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_disconnect_failed() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_new_conn_param() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 128 |
| DATA_SOURCE | 1 | addr_type | $2 |
| RX_PATH | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mgmt_new_csrk() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 128 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/mgmt.c mgmt_new_irk() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 128 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/mgmt.c mgmt_new_ltk() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 128 |
| RX_PATH | |||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &chan->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/mgmt.c mgmt_remote_name() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link_type | 1 |
| PARAM_VALUE | 1 | addr_type | 0 |
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_user_confirm_request() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| RX_PATH | |||
| HALF_LOCKED2 | &conn->lock | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mgmt_user_passkey_notify() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| RX_PATH | |||
| HALF_LOCKED2 | &conn->lock | ||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mgmt_user_passkey_request() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link_type | $2 |
| DATA_SOURCE | 1 | addr_type | $3 |
| RX_PATH | |||
| HALF_LOCKED2 | &conn->lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c pairing_complete() -> link_to_bdaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->mgmt_pending_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk |