Defined in 2 files as a prototype:
- include/net/bluetooth/hci_sync.h, line 90 (as a prototype)
- include/net/bluetooth/hci_sync.h, line 93 (as a prototype)
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/mgmt.c add_uuid_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | hdev | $0 |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c remove_uuid_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | hdev | $0 |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c service_cache_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | hdev | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c set_class_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | hdev | $0 |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_sync.c hci_powered_update_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->features | 4096-ptr_max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->adv_data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->scan_rsp_data_len | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &hdev->req_lock |
net/bluetooth/hci_sync.c hci_update_discoverable_sync() -> hci_update_class_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | hdev | $0 |
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |