Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- net/bluetooth/hci_event.c, line 1939
- net/bluetooth/hci_sock.c, line 976
- net/bluetooth/mgmt.c, line 6407
Smatch caller information:
net/bluetooth/mgmt.c block_device() -> hci_bdaddr_list_add()
| 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_add() -> hci_bdaddr_list_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | bdaddr | 1215493383538647040 |
| 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_add_to_accept_list() -> hci_bdaddr_list_add()
| 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 |