Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bluetooth/6lowpan.c bt_6lowpan_listen() -> l2cap_add_psm()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->ack_win 63
PARAM_VALUE 0 chan->chan_type 3
PARAM_VALUE 0 chan->conf_state 0
PARAM_VALUE 0 chan->fcs 1
PARAM_VALUE 0 chan->flush_to u16max
PARAM_VALUE 0 chan->global_l.next 4096-ptr_max
PARAM_VALUE 0 chan->global_l.prev 7297327323948507136
PARAM_VALUE 0 chan->imtu 1280
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->max_tx 3
PARAM_VALUE 0 chan->mode 128
PARAM_VALUE 0 chan->monitor_timeout 12000
PARAM_VALUE 0 chan->nesting.counter 2
PARAM_VALUE 0 chan->ops 930091042469064704
PARAM_VALUE 0 chan->remote_max_tx 3
PARAM_VALUE 0 chan->remote_tx_win 63
PARAM_VALUE 0 chan->retrans_timeout 2000
PARAM_VALUE 0 chan->rx_avail (-1)
PARAM_VALUE 0 chan->sec_level 1
PARAM_VALUE 0 chan->src_type 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 4
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 0 chan->tx_win 63
PARAM_VALUE 0 chan->tx_win_max 63
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 psm 35
BUF_SIZE 0 chan 1432
BUF_SIZE 0 chan->ops 120
BUF_SIZE 1 src 6
DATA_SOURCE 0 chan r chan_create
LOCK2 &attr->mutex
LOCK2 global &set_lock
TYPE_LOCK (struct simple_attr)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->src_type 0
PARAM_VALUE 1 src 6023421415976787972
PARAM_VALUE 2 psm 0
MEM_ZERO 1 src
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