Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/mgmt.c start_discovery_internal() -> discovery_type_is_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | mgmt_status | 6987221309195485184 |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | type | 0-255[u] |
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c start_service_discovery() -> discovery_type_is_valid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | mgmt_status | 7013813623360389120 |
| 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 | |||
| USER_DATA | 1 | type | 0-255[u] |
| 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 |