Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/mgmt.c add_device() -> device_flags_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 0 |
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->accept_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->accept_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->accept_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | hdev->unregister_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | hdev->unregister_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | hdev->unregister_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 3 | bdaddr_type | 0 |
| PARAM_VALUE | 4 | supported_flags | 0-255 |
| PARAM_VALUE | 5 | current_flags | 0 |
| BUF_SIZE | 1 | hdev | (-1)-s32max |
| BUF_SIZE | 1 | hdev | (-1)-s32max |
| CAPPED_DATA | 1 | &hdev->accept_list | 1 |
| CAPPED_DATA | 1 | &hdev->lock | 1 |
| DATA_SOURCE | 1 | hdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | bdaddr_type | 0[u] |
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 1 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c add_device_complete() -> device_flags_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 0 |
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->cmd_sync_work_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | hdev->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | hdev->req_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->req_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->req_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->req_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->req_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->req_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->req_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 5 | current_flags | 0-255 |
| CAPPED_DATA | 1 | &hdev->lock | 1 |
| DATA_SOURCE | 1 | hdev | $0 |
| FUZZY_MAX | 5 | current_flags | 0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | 1 | &hdev->lock | |
| LOCK2 | 1 | &hdev->req_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
net/bluetooth/mgmt.c set_device_flags() -> device_flags_changed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_refcnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | sk->channel | 3 |
| PARAM_VALUE | 0 | sk->mtu | 4-u16max |
| PARAM_VALUE | 0 | sk->sk_lock.owned | 1 |
| PARAM_VALUE | 0 | sk->sk_lock.slock.rlock.dep_map->name | 0-255 |
| 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->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->sk_shutdown | 0 |
| PARAM_VALUE | 1 | hdev | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 1 | hdev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | hdev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | hdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | hdev->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | bdaddr | 4096-ptr_max |
| PARAM_VALUE | 4 | supported_flags | 0-255 |
| BUF_SIZE | 1 | hdev | (-1)-s32max |
| BUF_SIZE | 1 | hdev | (-1)-s32max |
| CAPPED_DATA | 1 | &hdev->lock | 1 |
| CAPPED_DATA | 4 | supported_flags | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | hdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | bdaddr_type | 0-255[u] |
| USER_DATA | 5 | current_flags | 0-u32max[u] |
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | 0 | sk | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk |