Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/bluetooth/btintel.c, line 195 (as a function)
- drivers/bluetooth/btintel.h, line 337 (as a function)
Referenced in 4 files:
- drivers/bluetooth/btintel.c
- drivers/bluetooth/btintel_pcie.c, line 2953
- drivers/bluetooth/hci_ag6xx.c, line 162
- drivers/bluetooth/hci_intel.c, line 538
Smatch caller information:
drivers/bluetooth/btintel.c btintel_set_diag_combined() -> btintel_set_diag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->quirk_flags | 4096-ptr_max |
| 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.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | enable | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/bluetooth/btintel.c btintel_set_diag_mfg() -> btintel_set_diag()
| 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->quirk_flags | 4096-ptr_max |
| 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.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->req_result | 0 |
| PARAM_VALUE | 0 | hdev->req_rsp | 0 |
| PARAM_VALUE | 0 | hdev->req_status | 0-1 |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | enable | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_sync.c hci_dev_init_sync() -> (struct hci_dev)->set_diag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->cmd_cnt.counter | 1 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.alloc_size | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next->prev | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next | 2011684551238094848 |
| PARAM_VALUE | 0 | hdev->dump.dump_q.qlen | 0 |
| PARAM_VALUE | 0 | hdev->dump.dump_timeout.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.head | 0 |
| PARAM_VALUE | 0 | hdev->dump.state | 0 |
| PARAM_VALUE | 0 | hdev->dump.tail | 0 |
| PARAM_VALUE | 0 | hdev->quirk_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.owner | (-1) |
| PARAM_VALUE | 0 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->set_diag | 1-u64max |
| PARAM_VALUE | 1 | enable | 1 |
| CAPPED_DATA | 0 | hdev | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| CONTAINER | 0 | -9056+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_debugfs.c vendor_diag_write() -> (struct hci_dev)->set_diag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->quirk_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->task->blocked_on | 0 |
| 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 |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &hdev->req_lock | 1 |
| CONTAINER | 0 | -9056+0 | $(-1) |
| LOCK2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |