Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bluetooth/mgmt.c mgmt_connect_failed() -> mgmt_device_disconnected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 2 | link_type | 1,128 |
| PARAM_VALUE | 4 | reason | 0-3 |
| PARAM_VALUE | 5 | mgmt_connected | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| HARD_MAX | 2 | link_type | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->lock | ||
| HALF_LOCKED2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_event.c hci_cs_disconnect() -> mgmt_device_disconnected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->recv_event | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | hdev->req_skb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_q.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->sent_cmd | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | reason | 0-3 |
| BUF_SIZE | 0 | hdev->recv_event | (-1),240 |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 5 | mgmt_connected | r test_and_clear_bit |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->end | |
| USER_PTR | 0 | hdev->recv_event->data | |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_event.c hci_disconn_complete_evt() -> mgmt_device_disconnected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->recv_event | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | hdev->req_skb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_q.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | reason | 0-4 |
| BUF_SIZE | 0 | hdev->recv_event | (-1),240 |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 5 | mgmt_connected | r test_and_clear_bit |
| FUZZY_MAX | 4 | reason | 4 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->end | |
| USER_PTR | 0 | hdev->recv_event->data | |
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_event.c hci_le_big_sync_lost_evt() -> mgmt_device_disconnected()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->recv_event | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | hdev->recv_event->sk->sk_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | hdev->req_skb | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hdev->rx_q.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 2 | link_type | 131 |
| BUF_SIZE | 0 | hdev->recv_event | (-1),240 |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 5 | mgmt_connected | r test_and_clear_bit |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->end | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->data_len | |
| NO_OVERFLOW_SIMPLE | 0 | hdev->cmd_q.next->prev->end | |
| USER_PTR | 0 | hdev->recv_event->data | |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &hdev->lock | |
| TYPE_LOCK | (struct hci_dev)->lock |