Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- net/bluetooth/af_bluetooth.c
- net/bluetooth/l2cap_sock.c, line 1585
- net/bluetooth/rfcomm/sock.c, line 985
Smatch caller information:
net/bluetooth/l2cap_sock.c l2cap_sock_new_connection_cb() -> bt_sock_reclassify_lock()
| 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 | proto | 0 |
| 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 | |||
| 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 |
net/bluetooth/af_bluetooth.c bt_sock_create() -> bt_sock_reclassify_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | proto | 0-8 |
| DATA_SOURCE | 1 | proto | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | proto | 0-8 |
| UNITS | 0 | sk | unit_byte |
| LOCK2 | global &bt_proto_lock |
net/bluetooth/rfcomm/sock.c rfcomm_connect_ind() -> bt_sock_reclassify_lock()
| 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_node->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_node.pprev | 335176054323986432,772819580672045056,4367689545057411072,4645007995955499008,5133415305632411648,8427838062368169984,8887343027816366080 |
| 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_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->dlc->cfc | 0 |
| PARAM_VALUE | 0 | sk->dlc->data_ready | 2187918740173778944 |
| PARAM_VALUE | 0 | sk->dlc->flags | 0 |
| PARAM_VALUE | 0 | sk->dlc->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | sk->dlc->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | sk->dlc->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | sk->dlc->mscex | 0 |
| PARAM_VALUE | 0 | sk->dlc->mtu | 127 |
| PARAM_VALUE | 0 | sk->dlc->refcnt.refs.counter | 1 |
| PARAM_VALUE | 0 | sk->dlc->rx_credits | 7 |
| PARAM_VALUE | 0 | sk->dlc->sec_level | 1 |
| PARAM_VALUE | 0 | sk->dlc->state | 2 |
| PARAM_VALUE | 0 | sk->dlc->state_change | 2997066878740008960 |
| PARAM_VALUE | 0 | sk->dlc->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | sk->dlc->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | sk->dlc->tx_queue.qlen | 0 |
| PARAM_VALUE | 0 | sk->dlc->v24_sig | 140 |
| 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 | 4760551624680022016 |
| 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 | 5464273864207876096 |
| 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 | 3 |
| PARAM_VALUE | 0 | sk->sk_rcvbuf | 50800 |
| 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 | 50800 |
| PARAM_VALUE | 0 | sk->sk_sndtimeo | 7500 |
| 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 | proto | 3 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | r rfcomm_sock_alloc |
| NOCHECK_CALL | |||
| LOCK2 | global &rfcomm_mutex | ||
| LOCK2 | parent |