Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/hci_core.c hci_sched_acl_pkt() -> hci_conn_enter_active_mode()

Type Parameter Key Value
PARAM_VALUE 0 conn 0,4096-ptr_max
PARAM_VALUE 0 conn->hdev 0,4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

net/bluetooth/hci_conn.c hci_connect_sco() -> hci_conn_enter_active_mode()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->conn_reason 2
PARAM_VALUE 0 conn->state 1
PARAM_VALUE 1 force_active 1
BUF_SIZE 0 conn (-1),5192
BUF_SIZE 0 conn (-1),5192
DATA_SOURCE 0 conn r hci_connect_acl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->lock
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/l2cap_core.c l2cap_recv_acldata() -> hci_conn_enter_active_mode()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->handle 0-4095
PARAM_VALUE 1 force_active 0
CAPPED_DATA 0 conn->handle 1
DATA_SOURCE 0 conn r hci_conn_hash_lookup_handle
RX_PATH
NOCHECK_CALL
LOCK2 &hdev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock