Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/eir.c eir_append_appearance() -> eir_append_le16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 25 |
| PARAM_VALUE | 3 | data | 1-u16max |
| BUF_SIZE | 0 | eir | 31,251 |
| BUF_SIZE | 0 | eir | 31,251 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 1 | eir_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/mgmt.c append_eir_data_to_buf() -> eir_append_le16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0,5 |
| PARAM_VALUE | 2 | type | 25 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 0 | eir | 493,510 |
| DATA_SOURCE | 0 | eir | $1 |
| FUZZY_MAX | 1 | eir_len | 0 |
| BIT_INFO | 1 | eir_len | 0x0,0x5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | data | 0-u16max[u] |
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c read_controller_cap() -> eir_append_le16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 0 | *eir | 1 |
| PARAM_VALUE | 1 | eir_len | 3 |
| PARAM_VALUE | 2 | type | 2 |
| BUF_SIZE | 0 | eir | 18 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c read_controller_cap() -> eir_append_le16()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 3,7 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | data | 16 |
| BUF_SIZE | 0 | eir | 18 |
| BIT_INFO | 1 | eir_len | 0x3,0x7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |