Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bluetooth/mgmt.c remove_device() -> hci_bdaddr_list_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | type | 0[u] |
| 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 unblock_device() -> hci_bdaddr_list_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | type | 0-2[u] |
| 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/hci_sock.c hci_sock_reject_list_del() -> hci_bdaddr_list_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | bdaddr | 6050418311829782528 |
| PARAM_VALUE | 2 | type | 0 |
| CAPABLE | 0 | 12 | |
| USER_PTR | 1 | bdaddr->b | |
| LOCK2 | &hdev->lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &smc->sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_event.c hci_cc_le_del_from_accept_list() -> hci_bdaddr_list_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |