Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/bluetooth/coredump.h, line 107 (as a function)
- net/bluetooth/coredump.c, line 469 (as a function)
Referenced in 7 files:
- drivers/bluetooth/btintel.c, line 3975
- drivers/bluetooth/btmtk.c, line 452
- drivers/bluetooth/btnxpuart.c, line 1382
- drivers/bluetooth/btusb.c
- drivers/bluetooth/hci_qca.c, line 1172
- drivers/bluetooth/hci_vhci.c, line 369
- net/bluetooth/coredump.c, line 486
Smatch caller information:
drivers/bluetooth/hci_qca.c qca_controller_memdump() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->next | 0 |
| PARAM_VALUE | 1 | skb->prev | 0 |
| DATA_SOURCE | 1 | skb | r skb_dequeue |
| NOCHECK_CALL | |||
| LOCK2 | &qca->hci_memdump_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct qca_data)->hci_memdump_lock |
drivers/bluetooth/hci_vhci.c force_devcd_write() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.supported | 1 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| BUF_SIZE | 1 | skb | 0-40 |
| BUF_SIZE | 1 | skb | 0-40 |
| DATA_SOURCE | 1 | skb | r alloc_skb |
| NOCHECK_CALL | |||
| USER_DATA | 0 | hdev->dump.timeout | 250-u32max |
drivers/bluetooth/btusb.c btusb_rtl_alloc_devcoredump() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.supported | 1 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data_len | 0 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | skb | r alloc_skb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btusb.c handle_dump_pkt_qca() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->cloned | 1 |
| PARAM_VALUE | 1 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->hdr_len | 0 |
| PARAM_VALUE | 1 | skb->head | 1-u64max |
| PARAM_VALUE | 1 | skb->head_frag | 0 |
| PARAM_VALUE | 1 | skb->nohdr | 0 |
| PARAM_VALUE | 1 | skb->pp_recycle | 0 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | skb | $1 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/bluetooth/btintel.c btintel_diagnostics() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.supported | 1 |
| PARAM_VALUE | 1 | skb | 0,4096-ptr_max |
| BUF_SIZE | 1 | skb | (-1),240 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/bluetooth/btmtk.c btmtk_process_coredump() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.dump_q.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dump.supported | 1 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| BUF_SIZE | 1 | skb | (-1),240 |
| BUF_SIZE | 1 | skb | (-1),240 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | skb | $1 |
| RX_PATH |
drivers/bluetooth/btnxpuart.c nxp_process_fw_dump() -> hci_devcd_append()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | skb | 0,4096-ptr_max |
| BUF_SIZE | 1 | skb | (-1),240 |
| DATA_SOURCE | 0 | hdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |