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 confirm_name() -> hci_inquiry_cache_update_resolve()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->discovery.state 2-3
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 ie 4096-ptr_max
PARAM_VALUE 1 ie->name_state 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 1 ie r hci_inquiry_cache_lookup_unknown
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_core.c hci_inquiry_cache_update() -> hci_inquiry_cache_update_resolve()

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 ie 4096-ptr_max
PARAM_VALUE 1 ie->name_state 1
BUF_SIZE 0 hdev->recv_event (-1),240
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 ie r hci_inquiry_cache_lookup
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