Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/bluetooth/l2cap_core.c l2cap_chan_add() -> __l2cap_chan_add()

Type Parameter Key Value
PARAM_VALUE 0 conn->lock.dep_map->name 0-255
PARAM_VALUE 0 conn->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 conn->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 conn->lock.wait_lock.owner (-1)
PARAM_VALUE 0 conn->lock.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &conn->lock 1
DATA_SOURCE 0 conn $0
DATA_SOURCE 1 chan $1
NOCHECK_CALL
LOCK2 0 &conn->lock
TYPE_LOCK (struct l2cap_conn)->lock

net/bluetooth/l2cap_core.c l2cap_chan_connect() -> __l2cap_chan_add()

Type Parameter Key Value
PARAM_VALUE 0 conn 1-u64max
PARAM_VALUE 0 conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 conn->hcon->debugfs->d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 conn->hcon->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 conn->hcon->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 conn->hcon->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 conn->lock.dep_map->name 0-255
PARAM_VALUE 0 conn->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 conn->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 conn->lock.wait_lock.owner (-1)
PARAM_VALUE 0 conn->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 1 chan->dcid 0
PARAM_VALUE 1 chan->dst_type 0-2
PARAM_VALUE 1 chan->lock.dep_map->name 0-255
PARAM_VALUE 1 chan->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 chan->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chan->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 chan->mode 0,3-4,128-129
PARAM_VALUE 1 chan->src_type 0-2
PARAM_VALUE 1 chan->state 2-3
BUF_SIZE 0 conn 896
BUF_SIZE 0 conn->hchan->conn (-1),5192
BUF_SIZE 0 conn->hcon (-1),5192
BUF_SIZE 1 chan (-1),1432
BUF_SIZE 1 chan (-1),1432
BUF_SIZE 1 chan->ops (-1),120
CAPPED_DATA 0 &conn->lock 1
DATA_SOURCE 0 conn r l2cap_conn_add
DATA_SOURCE 1 chan $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hdev->lock
LOCK2 0 &conn->lock
LOCK2 1 &chan->lock
TYPE_LOCK (struct hci_dev)->lock
TYPE_LOCK (struct l2cap_chan)->lock
TYPE_LOCK (struct l2cap_conn)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 0 conn->hcon->debugfs->d_sb->__s_d_op->d_weak_revalidate 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 0 conn->hcon->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 conn->hcon->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 conn->hcon->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 chan 4096-ptr_max
PARAM_VALUE 1 chan->ack_win 63
PARAM_VALUE 1 chan->flush_to u16max
PARAM_VALUE 1 chan->global_l.next 4096-ptr_max
PARAM_VALUE 1 chan->global_l.prev 7297327323948507136
PARAM_VALUE 1 chan->kref.refcount.refs.counter 1
PARAM_VALUE 1 chan->lock.dep_map->name 0-255
PARAM_VALUE 1 chan->lock.first_waiter 0
PARAM_VALUE 1 chan->lock.magic 4096-ptr_max
PARAM_VALUE 1 chan->lock.osq.tail.counter 0
PARAM_VALUE 1 chan->lock.owner.counter 0
PARAM_VALUE 1 chan->monitor_timeout 12000
PARAM_VALUE 1 chan->nesting.counter 1
PARAM_VALUE 1 chan->ops->state_change 3997558339430535168,8693889062415364096,8999691986912878592
PARAM_VALUE 1 chan->remote_max_tx 3
PARAM_VALUE 1 chan->remote_tx_win 63
PARAM_VALUE 1 chan->retrans_timeout 2000
PARAM_VALUE 1 chan->rx_avail (-1)
PARAM_VALUE 1 chan->srej_q.next 4096-ptr_max
PARAM_VALUE 1 chan->srej_q.prev 4096-ptr_max
PARAM_VALUE 1 chan->srej_q.qlen 0
PARAM_VALUE 1 chan->state 2
PARAM_VALUE 1 chan->tx_q.next 4096-ptr_max
PARAM_VALUE 1 chan->tx_q.prev 4096-ptr_max
PARAM_VALUE 1 chan->tx_q.qlen 0
BUF_SIZE 0 conn (-1),896
BUF_SIZE 0 conn (-1),896
BUF_SIZE 0 conn->hchan->conn (-1),1,3-8196
BUF_SIZE 0 conn->hcon (-1),1,3-8196
BUF_SIZE 1 chan 1432
DATA_SOURCE 0 conn $0
DATA_SOURCE 1 chan r l2cap_chan_create
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 conn->rx_len
LOCK2 &pchan->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
HALF_LOCKED2 0 &conn->lock
TYPE_LOCK (struct l2cap_chan)->lock