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

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 31
PARAM_VALUE 0 sk->__sk_common.skc_incoming_cpu (-1)
PARAM_VALUE 0 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_rcv_wnd u32max
PARAM_VALUE 0 sk->__sk_common.skc_refcnt.refs.counter 1
PARAM_VALUE 0 sk->__sk_common.skc_rx_queue_mapping u16max
PARAM_VALUE 0 sk->__sk_common.skc_state 2
PARAM_VALUE 0 sk->__sk_common.skc_tw_rcv_nxt u32max
PARAM_VALUE 0 sk->__sk_common.skc_tx_queue_mapping u16max
PARAM_VALUE 0 sk->chan 4096-ptr_max
PARAM_VALUE 0 sk->chan->global_l.next s64min-(-4096),4096-s64max
PARAM_VALUE 0 sk->chan->global_l.prev 7297327323948507136
PARAM_VALUE 0 sk->chan->kref.refcount.refs.counter 1
PARAM_VALUE 0 sk->chan->lock.first_waiter 0
PARAM_VALUE 0 sk->chan->lock.magic s64min-(-4096),4096-s64max
PARAM_VALUE 0 sk->chan->lock.osq.tail.counter 0
PARAM_VALUE 0 sk->chan->lock.owner.counter 0
PARAM_VALUE 0 sk->chan->nesting.counter 1
PARAM_VALUE 0 sk->chan->rx_avail (-1)
PARAM_VALUE 0 sk->chan->srej_q.qlen 0
PARAM_VALUE 0 sk->chan->state 2
PARAM_VALUE 0 sk->chan->tx_q.qlen 0
PARAM_VALUE 0 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_allocation 3264
PARAM_VALUE 0 sk->sk_callback_lock.magic 3736018669
PARAM_VALUE 0 sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup 4096-ptr_max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup->self.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 sk->sk_data_ready 528724923562565632
PARAM_VALUE 0 sk->sk_destruct 5131920212974682112
PARAM_VALUE 0 sk->sk_drop_counters 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_drop_counters->drops0.counter 0
PARAM_VALUE 0 sk->sk_drop_counters->drops1.counter 0
PARAM_VALUE 0 sk->sk_drops.counter 0
PARAM_VALUE 0 sk->sk_error_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.qlen 0
PARAM_VALUE 0 sk->sk_error_report 6702601906265018368
PARAM_VALUE 0 sk->sk_frag.offset 0
PARAM_VALUE 0 sk->sk_frag.page 0
PARAM_VALUE 0 sk->sk_ll_usec 0
PARAM_VALUE 0 sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.owned 0
PARAM_VALUE 0 sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_max_pacing_rate u64max
PARAM_VALUE 0 sk->sk_napi_id 0
PARAM_VALUE 0 sk->sk_owner 0
PARAM_VALUE 0 sk->sk_pacing_rate u64max
PARAM_VALUE 0 sk->sk_pacing_shift 10
PARAM_VALUE 0 sk->sk_peek_off (-1)
PARAM_VALUE 0 sk->sk_peer_pid 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator 8573349766535348224
PARAM_VALUE 0 sk->sk_prot_creator->owner 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator->slab 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_rcvbuf 212992
PARAM_VALUE 0 sk->sk_rcvlowat 1
PARAM_VALUE 0 sk->sk_rcvtimeo s64max
PARAM_VALUE 0 sk->sk_receive_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.qlen 0
PARAM_VALUE 0 sk->sk_send_head 0
PARAM_VALUE 0 sk->sk_sndbuf 212992
PARAM_VALUE 0 sk->sk_sndtimeo 0-536870912
PARAM_VALUE 0 sk->sk_socket 4096-ptr_max
PARAM_VALUE 0 sk->sk_stamp (-1000000000)
PARAM_VALUE 0 sk->sk_state_change 8403502521175646208
PARAM_VALUE 0 sk->sk_timer.entry.pprev 0
PARAM_VALUE 0 sk->sk_timer.flags 0-4194302
PARAM_VALUE 0 sk->sk_timer.lockdep_map->name 0-255
PARAM_VALUE 0 sk->sk_use_task_frag 1
PARAM_VALUE 0 sk->sk_wmem_alloc.refs.counter 1
PARAM_VALUE 0 sk->sk_wq 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_wq_raw 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_write_pending 0
PARAM_VALUE 0 sk->sk_write_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.qlen 0
PARAM_VALUE 0 sk->sk_write_space 892094836763238400
PARAM_VALUE 0 sk->sk_zckey.counter 0
PARAM_VALUE 1 parent 0
BUF_SIZE 0 sk->sk_socket (-1),192
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
DATA_SOURCE 0 sk r l2cap_sock_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &bt_proto_lock

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

Type Parameter Key Value
PARAM_VALUE 0 sk 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_family 31
PARAM_VALUE 0 sk->__sk_common.skc_incoming_cpu (-1)
PARAM_VALUE 0 sk->__sk_common.skc_net.net 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_prot 4096-ptr_max
PARAM_VALUE 0 sk->__sk_common.skc_rcv_wnd u32max
PARAM_VALUE 0 sk->__sk_common.skc_refcnt.refs.counter 1
PARAM_VALUE 0 sk->__sk_common.skc_rx_queue_mapping u16max
PARAM_VALUE 0 sk->__sk_common.skc_state 2
PARAM_VALUE 0 sk->__sk_common.skc_tw_rcv_nxt u32max
PARAM_VALUE 0 sk->__sk_common.skc_tx_queue_mapping u16max
PARAM_VALUE 0 sk->chan 4096-ptr_max
PARAM_VALUE 0 sk->chan->global_l.next s64min-(-4096),4096-s64max
PARAM_VALUE 0 sk->chan->global_l.prev 7297327323948507136
PARAM_VALUE 0 sk->chan->lock.first_waiter 0
PARAM_VALUE 0 sk->chan->lock.magic s64min-(-4096),4096-s64max
PARAM_VALUE 0 sk->chan->lock.osq.tail.counter 0
PARAM_VALUE 0 sk->chan->lock.owner.counter 0
PARAM_VALUE 0 sk->chan->nesting.counter 1
PARAM_VALUE 0 sk->chan->rx_avail (-1)
PARAM_VALUE 0 sk->chan->srej_q.qlen 0
PARAM_VALUE 0 sk->chan->state 2
PARAM_VALUE 0 sk->chan->tx_q.qlen 0
PARAM_VALUE 0 sk->ns_tracker 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_allocation 3264
PARAM_VALUE 0 sk->sk_callback_lock.magic 3736018669
PARAM_VALUE 0 sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup 4096-ptr_max
PARAM_VALUE 0 sk->sk_cgrp_data.cgroup->self.refcnt.percpu_count_ptr 1-u64max
PARAM_VALUE 0 sk->sk_data_ready 528724923562565632
PARAM_VALUE 0 sk->sk_destruct 5131920212974682112
PARAM_VALUE 0 sk->sk_drop_counters 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_drop_counters->drops0.counter 0
PARAM_VALUE 0 sk->sk_drop_counters->drops1.counter 0
PARAM_VALUE 0 sk->sk_drops.counter 0
PARAM_VALUE 0 sk->sk_error_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_error_queue.qlen 0
PARAM_VALUE 0 sk->sk_error_report 6702601906265018368
PARAM_VALUE 0 sk->sk_frag.offset 0
PARAM_VALUE 0 sk->sk_frag.page 0
PARAM_VALUE 0 sk->sk_kern_sock 0
PARAM_VALUE 0 sk->sk_ll_usec 0
PARAM_VALUE 0 sk->sk_lock.dep_map->name 0-255
PARAM_VALUE 0 sk->sk_lock.owned 0
PARAM_VALUE 0 sk->sk_lock.wq.head.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.next->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 0 sk->sk_lock.wq.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_max_pacing_rate u64max
PARAM_VALUE 0 sk->sk_napi_id 0
PARAM_VALUE 0 sk->sk_owner 0
PARAM_VALUE 0 sk->sk_pacing_rate u64max
PARAM_VALUE 0 sk->sk_pacing_shift 10
PARAM_VALUE 0 sk->sk_peek_off (-1)
PARAM_VALUE 0 sk->sk_peer_pid 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator 8573349766535348224
PARAM_VALUE 0 sk->sk_prot_creator->owner 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_prot_creator->slab 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_protocol 0
PARAM_VALUE 0 sk->sk_rcvbuf 212992
PARAM_VALUE 0 sk->sk_rcvlowat 1
PARAM_VALUE 0 sk->sk_rcvtimeo s64max
PARAM_VALUE 0 sk->sk_receive_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_receive_queue.qlen 0
PARAM_VALUE 0 sk->sk_security 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_send_head 0
PARAM_VALUE 0 sk->sk_sndbuf 212992
PARAM_VALUE 0 sk->sk_sndtimeo 0-536870912
PARAM_VALUE 0 sk->sk_socket 0
PARAM_VALUE 0 sk->sk_stamp (-1000000000)
PARAM_VALUE 0 sk->sk_state_change 8403502521175646208
PARAM_VALUE 0 sk->sk_timer.entry.pprev 0
PARAM_VALUE 0 sk->sk_timer.flags 0-4194302
PARAM_VALUE 0 sk->sk_timer.lockdep_map->name 0-255
PARAM_VALUE 0 sk->sk_use_task_frag 1
PARAM_VALUE 0 sk->sk_wmem_alloc.refs.counter 1
PARAM_VALUE 0 sk->sk_wq 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_wq_raw 0,4096-ptr_max
PARAM_VALUE 0 sk->sk_write_pending 0
PARAM_VALUE 0 sk->sk_write_queue.next 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.prev 4096-ptr_max
PARAM_VALUE 0 sk->sk_write_queue.qlen 0
PARAM_VALUE 0 sk->sk_write_space 892094836763238400
PARAM_VALUE 0 sk->sk_zckey.counter 0
PARAM_VALUE 1 parent 4096-ptr_max
PARAM_VALUE 1 parent->__sk_common.skc_state 4
PARAM_VALUE 1 parent->sk_lock.owned 1
PARAM_VALUE 1 parent->sk_lock.slock.rlock.dep_map->name 0-255
PARAM_VALUE 1 parent->sk_lock.wq.head.prev 4096-ptr_max
PARAM_VALUE 1 parent->sk_lock.wq.head.prev->next 4096-ptr_max
PARAM_VALUE 1 parent->sk_lock.wq.head.prev->next->next 4096-ptr_max
BUF_SIZE 1 parent 1-s32max
BUF_SIZE 1 parent 1-s32max
CAPPED_DATA 0 sk->__sk_common.skc_net.net 1
CAPPED_DATA 1 parent->__sk_common.skc_net.net 1
DATA_SOURCE 0 sk r l2cap_sock_alloc
PARAM_COMPARE 1 parent->sk_ack_backlog <= $1->sk_max_ack_backlog
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &chan->lock
LOCK2 1 parent
HALF_LOCKED2 &conn->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &hci_cb_list_lock
TYPE_LOCK (struct l2cap_chan)->lock