Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/mgmt.c mgmt_event_skb() -> mgmt_send_event_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 3 |
| 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 |
| PARAM_VALUE | 2 | flag | 0 |
| PARAM_VALUE | 3 | skip_sk | 0 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| DATA_SOURCE | 1 | skb | $0 |
| DATA_SOURCE | 3 | skip_sk | $1 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt_util.c mgmt_send_event() -> mgmt_send_event_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | channel | 3 |
| 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 | 2 | flag | 0-10 |
| PARAM_VALUE | 3 | skip_sk->channel | 0-127 |
| BUF_SIZE | 1 | skb | 0-s32max |
| BUF_SIZE | 1 | skb | 0-s32max |
| DATA_SOURCE | 0 | channel | $2 |
| DATA_SOURCE | 1 | skb | r mgmt_alloc_skb |
| DATA_SOURCE | 2 | flag | $5 |
| DATA_SOURCE | 3 | skip_sk | $6 |
| HARD_MAX | 2 | flag | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | 3 | skip_sk |