Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/eir.c eir_create_adv_data() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 data_len 0
BUF_SIZE 0 eir 251
RX_PATH
TASK_NOT_RUNNING
UNITS 1 eir_len unit_byte
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pool->lock

net/bluetooth/eir.c eir_get_service_data() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 2 type 22
PARAM_VALUE 3 data_len 5940922617114521600
BUF_SIZE 0 eir (-1),251-252,1650
BUF_SIZE 0 eir (-1),251-252,1650
DATA_SOURCE 0 eir $0 [m]
DATA_SOURCE 1 eir_len $1 [m]
RX_PATH
UNITS 1 eir_len unit_byte
LOCK2 &pool->lock
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 sk

net/bluetooth/eir.c eir_get_service_data() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 2 type 22
PARAM_VALUE 3 data_len 5940922617114521600
PARAM_VALUE 3 *data_len 1-254
DATA_SOURCE 0 eir $0 [m]
DATA_SOURCE 1 eir_len $1 [m]
RX_PATH
UNITS 1 eir_len unit_byte
LOCK2 &pool->lock
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 sk

net/bluetooth/mgmt.c mgmt_device_found() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 2 type 1
PARAM_VALUE 3 data_len 0
BUF_SIZE 0 eir (-1),240,251
BUF_SIZE 0 eir (-1),240,251
DATA_SOURCE 0 eir $7
DATA_SOURCE 1 eir_len $8
RX_PATH
UNITS 1 eir_len unit_byte
LOCK2 &hdev->lock
LOCK2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/mgmt.c mgmt_device_found() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 0 eir 0,4096-ptr_max
PARAM_VALUE 2 type 13
PARAM_VALUE 3 data_len 0
BUF_SIZE 0 eir (-1),240
BUF_SIZE 0 eir (-1),240
DATA_SOURCE 0 eir $7
DATA_SOURCE 1 eir_len $8
RX_PATH
LOCK2 &hdev->lock
LOCK2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/hci_event.c hci_extended_inquiry_result_evt() -> eir_get_data()

Type Parameter Key Value
PARAM_VALUE 1 eir_len 240
PARAM_VALUE 2 type 9
PARAM_VALUE 3 data_len 0
BUF_SIZE 0 eir 240
RX_PATH
UNITS 1 eir_len unit_byte
LOCK2 &hdev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock