Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/eir.c eir_append_local_name() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 9 |
| PARAM_VALUE | 4 | data_len | 1-10 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 3 | data | 248 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 1 | eir_len | $2 |
| DATA_SOURCE | 4 | data_len | r strnlen |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/eir.c eir_append_local_name() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| PARAM_VALUE | 4 | data_len | 1-10 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 3 | data | 10 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 1 | eir_len | $2 |
| DATA_SOURCE | 4 | data_len | r strnlen |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/eir.c eir_append_local_name() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 8 |
| PARAM_VALUE | 4 | data_len | 10 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 0 | eir | 12,31,251 |
| BUF_SIZE | 3 | data | 248 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 1 | eir_len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->req_lock |
net/bluetooth/mgmt.c append_eir_data_to_buf() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 13 |
| PARAM_VALUE | 4 | data_len | 3 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 3 | data | 3 |
| DATA_SOURCE | 0 | eir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c append_eir_data_to_buf() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0,2-9 |
| PARAM_VALUE | 2 | type | 9 |
| PARAM_VALUE | 4 | data_len | 0-248 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 3 | data | 248 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 4 | data_len | r strnlen |
| FUZZY_MAX | 1 | eir_len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c append_eir_data_to_buf() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 1-259 |
| PARAM_VALUE | 2 | type | 8 |
| PARAM_VALUE | 4 | data_len | 0-10 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 0 | eir | 493,510 |
| BUF_SIZE | 3 | data | 10 |
| CAPPED_DATA | 4 | data_len | 1 |
| DATA_SOURCE | 0 | eir | $1 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| DATA_SOURCE | 4 | data_len | r strnlen |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c mgmt_device_found() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 6176473626327990272 |
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 13 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 4 | data_len | 3 |
| BUF_SIZE | 0 | eir | 5 |
| BUF_SIZE | 3 | data | 3 |
| BUF_SIZE | 3 | data | 3 |
| DATA_SOURCE | 3 | data | $4 |
| RX_PATH | |||
| LOCK2 | &hdev->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c read_controller_cap() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | data | 144369794926116864 |
| PARAM_VALUE | 3 | *data | 10-11,14-15 |
| PARAM_VALUE | 4 | data_len | 1 |
| BUF_SIZE | 0 | eir | 18 |
| 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_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 7-11 |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | data_len | 2 |
| BUF_SIZE | 0 | eir | 18 |
| BUF_SIZE | 3 | data | 2 |
| DATA_SOURCE | 1 | eir_len | r eir_append_le16 |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 13 |
| PARAM_VALUE | 4 | data_len | 3 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| BUF_SIZE | 3 | data | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 27 |
| PARAM_VALUE | 3 | data | 5219736582295326720 |
| PARAM_VALUE | 4 | data_len | 7 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| BUF_SIZE | 3 | data | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 0 | *eir | 27 |
| PARAM_VALUE | 1 | eir_len | 9 |
| PARAM_VALUE | 2 | type | 28 |
| PARAM_VALUE | 3 | data | 2269471242486423552 |
| PARAM_VALUE | 3 | *data | 1-2 |
| PARAM_VALUE | 4 | data_len | 1 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 12 |
| PARAM_VALUE | 2 | type | 34 |
| PARAM_VALUE | 3 | data | 3346026127863193600 |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| BUF_SIZE | 3 | data | 16 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 30 |
| PARAM_VALUE | 2 | type | 35 |
| PARAM_VALUE | 3 | data | 8283687494183452672 |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| BUF_SIZE | 3 | data | 16 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| 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_local_oob_ext_data() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 12,48 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | data | 1590405803085561856 |
| PARAM_VALUE | 3 | *data | 0-2,4-6 |
| PARAM_VALUE | 4 | data_len | 1 |
| BUF_SIZE | 0 | eir | 0,5,51 |
| BIT_INFO | 1 | eir_len | 0x0,0x3c |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | eir_len | unit_byte |
| UNITS | 4 | data_len | unit_byte |
| 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_local_oob_ext_data_complete() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | eir_len | 0 |
| PARAM_VALUE | 2 | type | 13 |
| PARAM_VALUE | 4 | data_len | 3 |
| BUF_SIZE | 0 | eir | 0,41,77 |
| BUF_SIZE | 3 | data | 3 |
| RX_PATH | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 0 | *eir | 13 |
| PARAM_VALUE | 1 | eir_len | 5 |
| PARAM_VALUE | 2 | type | 14 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,41,77 |
| BUF_SIZE | 3 | data | 16 |
| BUF_SIZE | 3 | data | 16 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| USER_DATA | 3 | *data | 0-255 |
| UNITS | 1 | eir_len | unit_byte |
| USER_PTR | 3 | data | |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 23 |
| PARAM_VALUE | 2 | type | 15 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,41,77 |
| BUF_SIZE | 3 | data | 16 |
| BUF_SIZE | 3 | data | 16 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| USER_DATA | 3 | *data | 0-255 |
| UNITS | 1 | eir_len | unit_byte |
| USER_PTR | 3 | data | |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 5,41 |
| PARAM_VALUE | 2 | type | 29 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,41,77 |
| BUF_SIZE | 3 | data | 16 |
| BUF_SIZE | 3 | data | 16 |
| BIT_INFO | 1 | eir_len | 0x1,0x2d |
| RX_PATH | |||
| USER_DATA | 3 | *data | 0-255 |
| UNITS | 1 | eir_len | unit_byte |
| USER_PTR | 3 | data | |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c read_local_oob_ext_data_complete() -> eir_append_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eir | 4096-ptr_max |
| PARAM_VALUE | 1 | eir_len | 23-59 |
| PARAM_VALUE | 2 | type | 30 |
| PARAM_VALUE | 3 | data | 1-u64max |
| PARAM_VALUE | 4 | data_len | 16 |
| BUF_SIZE | 0 | eir | 0,41,77 |
| BUF_SIZE | 3 | data | 16 |
| BUF_SIZE | 3 | data | 16 |
| DATA_SOURCE | 1 | eir_len | r eir_append_data |
| RX_PATH | |||
| USER_DATA | 3 | *data | 0-255 |
| UNITS | 1 | eir_len | unit_byte |
| USER_PTR | 3 | data | |
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |