Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/hci_sync.c hci_start_discovery_sync() -> hci_inquiry_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.type 1
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.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->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.first_waiter->list.prev->prev 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 1 length 8
PARAM_VALUE 2 num_rsp 0
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c hci_start_interleaved_discovery_sync() -> hci_inquiry_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.work.entry.next->next 1-u64max
PARAM_VALUE 0 hdev->adv_instance_expire.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.work.entry.prev->next 1-u64max
PARAM_VALUE 0 hdev->adv_instance_expire.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 hdev->adv_monitors_idr.idr_rt.xa_head 0
PARAM_VALUE 0 hdev->advertising_old_state 0-1
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->discov_timeout 0
PARAM_VALUE 0 hdev->discovery.type 7
PARAM_VALUE 0 hdev->interleave_scan.work.lockdep_map->name 0-255
PARAM_VALUE 0 hdev->interleave_scan_state 0
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.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->quirk_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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->req_lock.osq.tail.counter 0-s32max
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_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->rpa->b 0-255
PARAM_VALUE 0 *hdev->adv_data 0-255
PARAM_VALUE 0 *hdev->scan_rsp_data 0-255
PARAM_VALUE 1 length 8
PARAM_VALUE 2 num_rsp 0
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sync.c interleaved_inquiry_sync() -> hci_inquiry_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
PARAM_VALUE 1 length 4
PARAM_VALUE 2 num_rsp 0
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->req_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_core.c hci_inquiry() -> hci_inquiry_sync()

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->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->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 1 length 0-60
CAPPED_DATA 0 &hdev->lock 1
CAPPED_DATA 0 &hdev->req_lock 1
DATA_SOURCE 0 hdev r hci_dev_get
FUZZY_MAX 1 length 60
HARD_MAX 1 length 60
USER_DATA 1 length 0-60
USER_DATA 2 num_rsp 0-255
LOCK2 0 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock