Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/bluetooth/hci_event.c hci_link_key_notify_evt() -> mgmt_new_link_key()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->link_keys.next 4096-ptr_max
PARAM_VALUE 0 hdev->link_keys.next->prev 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 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->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->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_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 key 4096-ptr_max
PARAM_VALUE 1 key->list.next 4096-ptr_max
PARAM_VALUE 1 key->list.prev 4096-ptr_max
PARAM_VALUE 1 key->pin_len 0
BUF_SIZE 0 hdev->recv_event (-1),240
BUF_SIZE 1 key (-1),56
BUF_SIZE 1 key (-1),56
CAPPED_DATA 0 &hdev->lock 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 1 key r hci_add_link_key
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 0 &hdev->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hci_dev)->lock

net/bluetooth/smp.c smp_notify_keys() -> mgmt_new_link_key()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->link_keys.next 4096-ptr_max
PARAM_VALUE 0 hdev->link_keys.next->prev 4096-ptr_max
PARAM_VALUE 1 key 4096-ptr_max
PARAM_VALUE 1 key->list.next 4096-ptr_max
PARAM_VALUE 1 key->list.prev 4096-ptr_max
PARAM_VALUE 1 key->pin_len 0
BUF_SIZE 1 key (-1),56
BUF_SIZE 1 key (-1),56
DATA_SOURCE 1 key r hci_add_link_key
RX_PATH
NOCHECK_CALL
LOCK2 &conn->lock
HALF_LOCKED2 &chan->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct l2cap_conn)->lock