Defined in 2 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/mgmt.c add_uuid_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c remove_uuid_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c service_cache_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
DATA_SOURCE 0 hdev $0
NOCHECK_CALL
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c set_class_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 hdev->service_cache.work.lockdep_map->name 0-255
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c set_device_id_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c set_name_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->features 4096-ptr_max
PARAM_VALUE 0 hdev->mgmt_pending_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 hdev->req_result 0
PARAM_VALUE 0 hdev->req_rsp 0
PARAM_VALUE 0 hdev->req_rsp->_nfct 0
PARAM_VALUE 0 hdev->req_rsp->_skb_refdst 0
PARAM_VALUE 0 hdev->req_rsp->active_extensions 0
PARAM_VALUE 0 hdev->req_rsp->destructor 0
PARAM_VALUE 0 hdev->req_rsp->sk 0
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->notrefcnt_tracker.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 hdev->req_rsp->sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_rcu.func 1-u64max
PARAM_VALUE 0 hdev->req_status 0-1
CAPPED_DATA 0 &hdev->mgmt_pending_lock 1
DATA_SOURCE 0 hdev $0
NOCHECK_CALL
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/mgmt.c set_ssp_complete() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->cmd_sync_work_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->cmd_sync_work_lock.wait_lock.dep_map->name 0-255
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_flags 4096-ptr_max
PARAM_VALUE 0 hdev->mgmt_pending_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->mgmt_pending_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hdev->req_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->req_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner (-1)
PARAM_VALUE 0 hdev->req_lock.wait_lock.owner_cpu u32max
DATA_SOURCE 0 hdev $0
RX_PATH
NOCHECK_CALL
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c hci_powered_update_sync() -> hci_update_eir_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 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_flags 4096-ptr_max
PARAM_VALUE 0 hdev->features 4096-ptr_max
PARAM_VALUE 0 hdev->req_result 0
PARAM_VALUE 0 hdev->req_rsp 0
PARAM_VALUE 0 hdev->req_rsp->_nfct 0
PARAM_VALUE 0 hdev->req_rsp->_skb_refdst 0
PARAM_VALUE 0 hdev->req_rsp->active_extensions 0
PARAM_VALUE 0 hdev->req_rsp->destructor 0
PARAM_VALUE 0 hdev->req_rsp->sk 0
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_rsp->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_rsp->sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 hdev->req_rsp->sk->sk_rcu.func 1-u64max
PARAM_VALUE 0 hdev->req_status 0-1
CAPPED_DATA 0 hdev 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 hdev->adv_data_len
NO_OVERFLOW_SIMPLE 0 hdev->scan_rsp_data_len
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock