Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 net->sysctls.dir.header.root->lookup 0,4096-ptr_max
PARAM_VALUE 0 net->sysctls.dir.header.root->permissions 0,38113765950406656,1571376314402762752,2172075278380670976,4112528104768065536,8240891039179014144
PARAM_VALUE 0 net->sysctls.dir.header.root->set_ownership 0,4425853933097160704,4587890941347561472,4931669174917259264,6223890035077656576
PARAM_VALUE 1 sock 4096-ptr_max
PARAM_VALUE 1 sock->ops 5553953812814053376
PARAM_VALUE 1 sock->state 1
PARAM_VALUE 1 sock->type 1-3,5
PARAM_VALUE 3 prio 2080
PARAM_VALUE 5 chan 4096-ptr_max
PARAM_VALUE 5 chan->global_l.next 4096-ptr_max
PARAM_VALUE 5 chan->global_l.prev 7297327323948507136
PARAM_VALUE 5 chan->kref.refcount.refs.counter 1
PARAM_VALUE 5 chan->lock.dep_map->name 0-255
PARAM_VALUE 5 chan->lock.first_waiter 0
PARAM_VALUE 5 chan->lock.magic 4096-ptr_max
PARAM_VALUE 5 chan->lock.osq.tail.counter 0
PARAM_VALUE 5 chan->lock.owner.counter 0
PARAM_VALUE 5 chan->nesting.counter 1
PARAM_VALUE 5 chan->rx_avail (-1)
PARAM_VALUE 5 chan->srej_q.next 4096-ptr_max
PARAM_VALUE 5 chan->srej_q.prev 4096-ptr_max
PARAM_VALUE 5 chan->srej_q.qlen 0
PARAM_VALUE 5 chan->state 2
PARAM_VALUE 5 chan->tx_q.next 4096-ptr_max
PARAM_VALUE 5 chan->tx_q.prev 4096-ptr_max
PARAM_VALUE 5 chan->tx_q.qlen 0
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net->key_domain (-1),24
BUF_SIZE 0 net->ucounts (-1),184
BUF_SIZE 1 sock (-1),192
BUF_SIZE 1 sock (-1),192
BUF_SIZE 1 sock->ops 240
BUF_SIZE 5 chan 1432
DATA_SOURCE 0 net $0
DATA_SOURCE 1 sock $1
DATA_SOURCE 2 proto $2
DATA_SOURCE 4 kern $3
DATA_SOURCE 5 chan r l2cap_chan_create
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 proto s32min-s32max
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_receive_queue.prev->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 net->ipv6.igmp_sk->sk_write_queue.next->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->next->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->next->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_receive_queue.prev->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->prev->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->prev->truesize
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->tail
NO_OVERFLOW_SIMPLE 0 net->sctp.ctl_sock->sk_write_queue.next->truesize
HALF_LOCKED2 global &bt_proto_lock

net/bluetooth/l2cap_sock.c l2cap_sock_new_connection_cb() -> l2cap_sock_alloc()

Type Parameter Key Value
PARAM_VALUE 1 sock 0
PARAM_VALUE 2 proto 0
PARAM_VALUE 3 prio 2080
PARAM_VALUE 4 kern 0
PARAM_VALUE 5 chan 4096-ptr_max
PARAM_VALUE 5 chan->ack_win 63
PARAM_VALUE 5 chan->conn 4096-ptr_max
PARAM_VALUE 5 chan->conn->chan_l.prev 4096-ptr_max
PARAM_VALUE 5 chan->conn->chan_l.prev->next 4096-ptr_max
PARAM_VALUE 5 chan->conn->chan_l.prev->next->next 4096-ptr_max
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_dname 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_parent->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 5 chan->conn->hcon->debugfs->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->alloc 0,1744715142275031040,2065280936184246272,2938795245442469888
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->alloc_pages_op 0,4686288359180861440,6350905364812603392,6978773206971854848
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->dma_supported 2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->free 0,4778164490434129920,7144974343242604544,7861694134817480704
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->free_pages 0,239457316199952384,5196233516945883136,7413093576918179840
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->get_required_mask 0,7770840938859397120
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->get_sgtable 0,1322759480623644672
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->map_phys 2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->map_sg 2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->max_mapping_size 0,8830639662091943936
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->mmap 5761417605877342208,7694740394750603264
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->sync_sg_for_cpu 0,4862850025765572608
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->sync_sg_for_device 0,3732476178258022400
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->sync_single_for_cpu 0,1155325867376779264
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->sync_single_for_device 0,8781567156597239808
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->unmap_phys 3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048
PARAM_VALUE 5 chan->conn->hcon->dev.dma_ops->unmap_sg 1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440
PARAM_VALUE 5 chan->conn->hcon->dev.iommu_group->id s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->kset->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->kset->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->kset->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->release.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->release.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->release.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 5 chan->conn->hcon->dev.p->dead 0-1
PARAM_VALUE 5 chan->conn->hcon->dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 5 chan->conn->hcon->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 5 chan->conn->hcon->disc_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->disc_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->disc_work.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_automount 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_dname 0,716233247738060800,2056107418359259136,2102941272419614720,3721061892745007104,5585410052597575680,6720345164634435584,7931586599356526592
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_init 0,2385819921126617088,7057831443282669568,7824184004865302528
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_iput 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_manage 0,1859587847549206528
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_prune 0,2225594340392566784,7225953709177749504
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_real 0,4509355519306412032
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_unalias_trylock 0,6635409759016140800
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_unalias_unlock 0,6336447517789900800
PARAM_VALUE 5 chan->conn->hcon->hdev->debugfs->d_sb->__s_d_op->d_weak_revalidate 0,5632434648052031488,5669063523602272256,7231033168839651328
PARAM_VALUE 5 chan->conn->hcon->hdev->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 5 chan->conn->hcon->hdev->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->hdev->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 5 chan->conn->hcon->hdev->req_workqueue->flags 0-4294967295
PARAM_VALUE 5 chan->conn->hcon->hdev->workqueue->flags 0-4294967295
PARAM_VALUE 5 chan->dcid 1-2
PARAM_VALUE 5 chan->flush_to u16max
PARAM_VALUE 5 chan->global_l.next 4096-ptr_max
PARAM_VALUE 5 chan->global_l.prev 7297327323948507136
PARAM_VALUE 5 chan->list.next 4096-ptr_max
PARAM_VALUE 5 chan->local_acc_lat u32max
PARAM_VALUE 5 chan->local_flush_to u32max
PARAM_VALUE 5 chan->local_id 1
PARAM_VALUE 5 chan->local_msdu u16max
PARAM_VALUE 5 chan->local_sdu_itime u32max
PARAM_VALUE 5 chan->local_stype 1
PARAM_VALUE 5 chan->lock.dep_map->name 0-255
PARAM_VALUE 5 chan->lock.first_waiter 0
PARAM_VALUE 5 chan->lock.magic 4096-ptr_max
PARAM_VALUE 5 chan->lock.osq.tail.counter 0
PARAM_VALUE 5 chan->lock.owner.counter 0
PARAM_VALUE 5 chan->monitor_timeout 12000
PARAM_VALUE 5 chan->nesting.counter 1
PARAM_VALUE 5 chan->omtu 672
PARAM_VALUE 5 chan->ops 4096-ptr_max
PARAM_VALUE 5 chan->ops->alloc_skb 697403281612550144,1428439502886932480,3829141406643666944,4747775035852767232
PARAM_VALUE 5 chan->ops->close 213534670060187648,5426308600317853696,8941342193426427904
PARAM_VALUE 5 chan->ops->defer 1471107293441404928,3353376515601281024,8564691276438745088
PARAM_VALUE 5 chan->ops->filter 0,5601450832164487168
PARAM_VALUE 5 chan->ops->get_peer_pid 0,7806658739735814144
PARAM_VALUE 5 chan->ops->get_sndtimeo 2697548582813421568,4173136885396430848,8824681775271051264
PARAM_VALUE 5 chan->ops->name 367564300844425216,3621607505566339072,3827038824283914240,9192042632466305024
PARAM_VALUE 5 chan->ops->new_connection 101309089589129216,1349125343832133632,7594089158128291840,9116300513561088000
PARAM_VALUE 5 chan->ops->ready 1936570842419531776,3141042949788332032,4413953799751630848,8863630754790494208
PARAM_VALUE 5 chan->ops->recv 2187815225111711744,7374705446746943488,8578246076673925120,8652859653051080704
PARAM_VALUE 5 chan->ops->resume 233276029245161472,4654052775929847808,5170076218034978816,5602426340623007744
PARAM_VALUE 5 chan->ops->set_shutdown 3641466375809654784,4929020601093369856,8570201482808676352
PARAM_VALUE 5 chan->ops->state_change 3997558339430535168,8693889062415364096,8999691986912878592
PARAM_VALUE 5 chan->ops->suspend 2882397264801574912,4450364550360055808,7055267220821704704
PARAM_VALUE 5 chan->ops->teardown 924184129156304896,1942840155918454784,5557135947086708736,5924960628137046016
PARAM_VALUE 5 chan->remote_max_tx 3
PARAM_VALUE 5 chan->remote_tx_win 63
PARAM_VALUE 5 chan->retrans_timeout 2000
PARAM_VALUE 5 chan->rx_avail (-1)
PARAM_VALUE 5 chan->scid 0-2,64-u16max
PARAM_VALUE 5 chan->srej_q.next 4096-ptr_max
PARAM_VALUE 5 chan->srej_q.prev 4096-ptr_max
PARAM_VALUE 5 chan->srej_q.qlen 0
PARAM_VALUE 5 chan->state 2
PARAM_VALUE 5 chan->tx_q.next 4096-ptr_max
PARAM_VALUE 5 chan->tx_q.prev 4096-ptr_max
PARAM_VALUE 5 chan->tx_q.qlen 0
BUF_SIZE 5 chan 1432
DATA_SOURCE 5 chan $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &chan->lock
LOCK2 parent
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
TYPE_LOCK (struct l2cap_chan)->lock