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_set_defaults()

Type Parameter Key Value
PARAM_VALUE 0 chan 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 pchan 0
BUF_SIZE 0 chan 1432
DATA_SOURCE 0 chan r l2cap_chan_create
NOCHECK_CALL
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 global &set_lock

net/bluetooth/l2cap_sock.c l2cap_sock_init() -> l2cap_chan_set_defaults()

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->global_l.next s64min-(-4096),4096-s64max
PARAM_VALUE 0 chan->global_l.prev 7297327323948507136
PARAM_VALUE 0 chan->imtu 672
PARAM_VALUE 0 chan->lock.first_waiter 0
PARAM_VALUE 0 chan->lock.magic s64min-(-4096),4096-s64max
PARAM_VALUE 0 chan->lock.osq.tail.counter 0
PARAM_VALUE 0 chan->lock.owner.counter 0
PARAM_VALUE 0 chan->mode 0,3
PARAM_VALUE 0 chan->nesting.counter 1
PARAM_VALUE 0 chan->omtu 0
PARAM_VALUE 0 chan->rx_avail (-1)
PARAM_VALUE 0 chan->srej_q.qlen 0
PARAM_VALUE 0 chan->state 2
PARAM_VALUE 0 chan->tx_q.qlen 0
PARAM_VALUE 1 pchan 0
FUZZY_MAX 0 chan->mode 3
BIT_INFO 0 chan 0x0,0x7fffffffffffffff
BIT_INFO 0 chan 0x0,0x7fffffffffffffff
HARD_MAX 0 chan->mode 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &bt_proto_lock

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

Type Parameter Key Value
PARAM_VALUE 0 chan 4096-ptr_max
PARAM_VALUE 0 chan->chan_type 4
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->omtu 672
PARAM_VALUE 0 chan->rx_avail (-1)
PARAM_VALUE 0 chan->scid 6-7
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 pchan 0
BUF_SIZE 0 chan 1432
BUF_SIZE 0 chan->data 0,96
DATA_SOURCE 0 chan r l2cap_chan_create
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 chan 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 pchan 4096-ptr_max
PARAM_VALUE 1 pchan->kref.refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 pchan->lock.dep_map->name 0-255
PARAM_VALUE 1 pchan->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 pchan->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 pchan->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 pchan->ops->state_change 3997558339430535168,8693889062415364096,8999691986912878592
BUF_SIZE 0 chan 1432
DATA_SOURCE 0 chan r l2cap_chan_create
DATA_SOURCE 1 pchan $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 &pchan->lock
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
TYPE_LOCK (struct l2cap_chan)->lock