Defined in 1 files as a function:
Referenced in 16 files:
- drivers/bluetooth/bfusb.c, line 696
- drivers/bluetooth/bpa10x.c, line 393
- drivers/bluetooth/btintel_pcie.c, line 2942
- drivers/bluetooth/btmrvl_main.c, line 691
- drivers/bluetooth/btmtksdio.c, line 1391
- drivers/bluetooth/btmtkuart.c, line 865
- drivers/bluetooth/btnxpuart.c, line 1894
- drivers/bluetooth/btqcomsmd.c, line 171
- drivers/bluetooth/btrsi.c, line 125
- drivers/bluetooth/btsdio.c, line 318
- drivers/bluetooth/btusb.c, line 4207
- drivers/bluetooth/hci_bcm4377.c, line 2401
- drivers/bluetooth/hci_ldisc.c, line 693
- drivers/bluetooth/hci_serdev.c, line 339
- drivers/bluetooth/hci_vhci.c, line 440
- drivers/bluetooth/virtio_bt.c, line 329
Smatch caller information:
drivers/bluetooth/bpa10x.c bpa10x_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 920 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/hci_ldisc.c hci_uart_register_dev() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 16,120,192,376,480,512,520,1552,4648,9144 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct tty_struct)->ldisc_sem |
drivers/bluetooth/hci_vhci.c __vhci_create_device() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct vhci_data)->open_mutex |
drivers/bluetooth/btmtkuart.c btmtkuart_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 832 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btqcomsmd.c btqcomsmd_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btusb.c btusb_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 2128 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev_priv |
| DATA_SOURCE | 1 | data | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/hci_serdev.c hci_uart_register_device_priv() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | (-1),520 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev_priv |
| DATA_SOURCE | 1 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/virtio_bt.c virtbt_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 112 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btintel_pcie.c btintel_pcie_setup_hdev() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 1288 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev_priv |
| DATA_SOURCE | 1 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btmtksdio.c btmtksdio_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 232 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/hci_bcm4377.c bcm4377_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 1736 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btnxpuart.c nxp_serdev_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 1408 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btrsi.c rsi_hci_attach() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 24 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r _kzalloc_noprof |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &common->rx_lock |
drivers/bluetooth/btmrvl_main.c btmrvl_register_hdev() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 256 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/bfusb.c bfusb_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 416 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btsdio.c btsdio_probe() -> hci_set_drvdata()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 0 | hdev | 0-s32max |
| BUF_SIZE | 1 | data | 192 |
| DATA_SOURCE | 0 | hdev | r hci_alloc_dev |
| DATA_SOURCE | 1 | data | r devm_kzalloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |