Defined in 2 files as a function:
- drivers/bluetooth/hci_ldisc.c, line 298 (as a function)
- drivers/bluetooth/hci_serdev.c, line 164 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/bluetooth/btrtl.c btrtl_initialize() -> (struct hci_dev)->send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->sk_callback_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->sk_rcu.next | 0 |
| PARAM_VALUE | 0 | hdev->req_rsp->sk->sk_reuseport_cb->rcu.next | 0 |
| PARAM_VALUE | 0 | hdev->req_status | 0-1 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->data | 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 bt_skb_alloc |
| CONTAINER | 0 | -9016+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | 0 | &hdev->req_lock | |
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/hci_core.c hci_send_frame() -> (struct hci_dev)->send()
| 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->hci_drv->specific_handler_count | 0,2 |
| PARAM_VALUE | 1 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->cb | 4096-ptr_max |
| PARAM_VALUE | 1 | skb->destructor | 0 |
| PARAM_VALUE | 1 | skb->sk | 0 |
| PARAM_VALUE | 1 | skb->tstamp_type | 0 |
| BUF_SIZE | 0 | hdev | (-1),1-u16max |
| BUF_SIZE | 0 | hdev | (-1),1-u16max |
| BUF_SIZE | 0 | hdev->sent_cmd | (-1),240 |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| BUF_SIZE | 1 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | skb | $1 |
| STR_LEN | 0 | hdev | (-1),23,63 |
| STR_LEN | 0 | hdev | (-1),23,63 |
| CONTAINER | 0 | -9016+0 | $(-1) |
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | skb->sk->sk_backlog.len | |
| USER_PTR | 0 | hdev->sent_cmd->data | |
| HALF_LOCKED2 | 0 | &hdev->req_lock |