Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/bluetooth/6lowpan.c chan_create() -> l2cap_chan_create()

Type Parameter Key Value
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 global &set_lock

net/bluetooth/l2cap_sock.c l2cap_sock_create() -> l2cap_chan_create()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &bt_proto_lock

net/bluetooth/smp.c smp_add_cid() -> l2cap_chan_create()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/bluetooth/l2cap_core.c l2cap_new_connection() -> l2cap_chan_create()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pchan->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
TYPE_LOCK (struct l2cap_chan)->lock