Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 1 files:
-
net/bluetooth/mgmt.c
- line 1371
- line 1498
- line 1551
- line 1728
- line 1964
- line 2110
- line 2192
- line 2311
- line 2655
- line 2771
- line 3285
- line 3652
- line 3671
- line 4033
- line 4232
- line 4240
- line 4242
- line 5467
- line 5693
- line 5765
- line 5771
- line 5773
- line 6030
- line 6034
- line 6035
- line 6039
- line 6040
- line 6044
- line 6045
- line 6049
- line 6065
- line 6288
- line 6514
- line 6794
- line 6881
- line 7023
- line 7464
- line 7625
- line 7779
- line 8425
- line 8432
- line 8434
- line 8442
- line 8975
- line 8978
- line 9166
- line 9169
- line 9316
- line 9319
- line 9485
- line 9827
- line 9829
- line 10160
- line 10177
- line 10202
- line 10215
- line 10260
- line 10316
- line 10339
- line 10373
- line 10883
Smatch caller information:
net/bluetooth/mgmt.c add_advertising_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c add_advertising_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0 |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c add_device_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c add_ext_adv_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c add_ext_adv_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0 |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c add_ext_adv_params_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c add_ext_adv_params_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0 |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c disconnect_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c fast_connectable_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c get_clock_info_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c get_conn_info_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c le_pairing_complete_cb() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 1-255 |
| DATA_SOURCE | 0 | err | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mesh_send_start_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c mgmt_add_adv_patterns_monitor_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c mgmt_auth_enable_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 1-255 |
| DATA_SOURCE | 0 | err | $1 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_auth_failed() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 1-255 |
| DATA_SOURCE | 0 | err | $1 |
| FUZZY_MAX | 0 | err | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c mgmt_class_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c mgmt_conn_subrate_notify() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_connect_failed() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| 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_disconnect_failed() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 1-255 |
| DATA_SOURCE | 0 | err | $4 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_pin_code_neg_reply_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_pin_code_reply_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_remove_adv_monitor_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c mgmt_set_class_of_dev_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_set_connectable_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c mgmt_set_discoverable_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c mgmt_set_powered_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c pairing_complete_cb() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c read_local_oob_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c read_local_oob_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | (-4095)-(-1) |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0-255 |
| RX_PATH | |||
| USER_DATA | 0 | err | 0-255 |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | (-4095)-(-1) |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0-255 |
| RX_PATH | |||
| USER_DATA | 0 | err | 0-255 |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 1-5,7-14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c remove_advertising_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c send_hci_cmd_sync() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | (-4095)-(-1) |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c set_advertising_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_bredr_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_default_phy_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_default_phy_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | (-4095)-(-1) |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c set_default_phy_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | 0-255 |
| RX_PATH | |||
| USER_DATA | 0 | err | 0-255 |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c set_le_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_mesh_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_name_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_secure_conn_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->cmd_sync_work_lock | ||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c set_ssp_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-(-1),1-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c start_discovery_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c stop_discovery_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | err | s32min-(-126),(-124)-s32max |
| DATA_SOURCE | 0 | err | $2 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c user_pairing_resp_complete() -> mgmt_status()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | err | $4 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |