Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/l2cap_sock.c l2cap_sock_bind() -> l2cap_add_scid()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->src_type 0
BIT_INFO 1 scid 0x0,0x4
RX_PATH
TASK_NOT_RUNNING
LOCK2 sk
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &o2nm_cluster_group.cs_subsys.su_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->data 0,4096-ptr_max
PARAM_VALUE 0 chan->global_l.next 4096-ptr_max
PARAM_VALUE 0 chan->global_l.prev 7297327323948507136
PARAM_VALUE 0 chan->kref.refcount.refs.counter 1
PARAM_VALUE 0 chan->lock.dep_map->name 0-255
PARAM_VALUE 0 chan->lock.first_waiter 0
PARAM_VALUE 0 chan->lock.magic 4096-ptr_max
PARAM_VALUE 0 chan->lock.osq.tail.counter 0
PARAM_VALUE 0 chan->lock.owner.counter 0
PARAM_VALUE 0 chan->nesting.counter 1
PARAM_VALUE 0 chan->rx_avail (-1)
PARAM_VALUE 0 chan->srej_q.next 4096-ptr_max
PARAM_VALUE 0 chan->srej_q.prev 4096-ptr_max
PARAM_VALUE 0 chan->srej_q.qlen 0
PARAM_VALUE 0 chan->state 2
PARAM_VALUE 0 chan->tx_q.next 4096-ptr_max
PARAM_VALUE 0 chan->tx_q.prev 4096-ptr_max
PARAM_VALUE 0 chan->tx_q.qlen 0
PARAM_VALUE 1 scid 6-7
BUF_SIZE 0 chan 1432
BUF_SIZE 0 chan->data 0,96
DATA_SOURCE 0 chan r l2cap_chan_create
DATA_SOURCE 1 scid $1
BIT_INFO 1 scid 0x6,0x7
HARD_MAX 1 scid 7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL