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 hci_conn_params_set() -> hci_conn_params_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 0,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.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 | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | addr_type | 0-1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | addr_type | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c load_conn_param() -> hci_conn_params_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->features | 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.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 | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | addr_type | 0-1 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| CAPPED_DATA | 2 | addr_type | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| FUZZY_MAX | 2 | addr_type | 1 |
| HARD_MAX | 2 | addr_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c load_conn_subrate() -> hci_conn_params_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->features | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->le_features | 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.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 | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | addr_type | 0-1 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| FUZZY_MAX | 2 | addr_type | 1 |
| HARD_MAX | 2 | addr_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/mgmt.c pair_device() -> hci_conn_params_add()
| 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.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 | 2 | addr_type | 0-1 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 0 | &hdev->lock | 1 |
| DATA_SOURCE | 0 | hdev | $1 |
| DATA_SOURCE | 2 | addr_type | r le_addr_type |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mgmt_chan_list_lock | ||
| LOCK2 | sk | ||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |
net/bluetooth/hci_conn.c hci_explicit_conn_params_set() -> hci_conn_params_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->conn_hash.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->conn_hash.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | hdev->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->air_mode | 1-6 |
| PARAM_VALUE | 0 | hdev->dev.driver_data->sco_num | 0-4294967295 |
| PARAM_VALUE | 0 | hdev->dev_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | hdev->hci_drv->specific_handler_count | 0,2 |
| 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.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->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->sco_pkts | 1-u32max |
| PARAM_VALUE | 0 | hdev->workqueue->flags | 0-4294967295 |
| PARAM_VALUE | 2 | addr_type | 0-1 |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| BUF_SIZE | 0 | hdev | (-1)-s32max |
| CAPPED_DATA | 2 | addr_type | 1 |
| DATA_SOURCE | 0 | hdev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| DATA_SOURCE | 2 | addr_type | $2 |
| FUZZY_MAX | 2 | addr_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &hdev->lock | |
| HALF_LOCKED2 | global &mgmt_chan_list_lock | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct hci_dev)->lock |