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 confirm_name() -> hci_discovery_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 0,4096-ptr_max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| 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/mgmt.c mgmt_device_found() -> hci_discovery_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->recv_event | (-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->len | |
| USER_PTR | 0 | hdev->recv_event->data | |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_device_found() -> hci_discovery_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| BUF_SIZE | 0 | hdev->recv_event | (-1),1-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->len | |
| USER_PTR | 0 | hdev->recv_event->data | |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c stop_discovery() -> hci_discovery_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 0,4096-ptr_max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| 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 |
drivers/bluetooth/btusb.c btusb_suspend() -> hci_discovery_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |