Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/bluetooth/btmtk.c btmtk_coredump_notify() -> btmtk_reset_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dump.notify_change 1-u64max
DATA_SOURCE 0 hdev $0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/bluetooth/btmtk.c btmtk_usb_setup() -> btmtk_reset_sync()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->cmd_cnt.counter 1
PARAM_VALUE 0 hdev->dev_flags 4096-ptr_max
PARAM_VALUE 0 hdev->dump.alloc_size 0
PARAM_VALUE 0 hdev->dump.dump_q.next 4096-ptr_max
PARAM_VALUE 0 hdev->dump.dump_q.next->prev 2011684551238094848
PARAM_VALUE 0 hdev->dump.dump_q.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dump.dump_q.prev->next 2011684551238094848
PARAM_VALUE 0 hdev->dump.dump_q.qlen 0
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.next 1-u64max
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.next->next 1-u64max
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.prev 1-u64max
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.prev->next 1-u64max
PARAM_VALUE 0 hdev->dump.dump_timeout.work.entry.prev->prev 1-u64max
PARAM_VALUE 0 hdev->dump.head 0
PARAM_VALUE 0 hdev->dump.state 0
PARAM_VALUE 0 hdev->dump.tail 0
PARAM_VALUE 0 hdev->quirk_flags 4096-ptr_max
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_skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->req_skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->req_workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->req_workqueue->work_color s32min-s32max
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 hdev->sent_cmd->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 hdev->setup 1-u64max
PARAM_VALUE 0 hdev->workqueue->flags 0-4294967295
PARAM_VALUE 0 hdev->workqueue->flush_color s32min-s32max
PARAM_VALUE 0 hdev->workqueue->nr_drainers s32min-s32max
PARAM_VALUE 0 hdev->workqueue->work_color s32min-s32max
CAPPED_DATA 0 hdev 1
DATA_SOURCE 0 hdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 hdev->dev.driver_data->evt_skb->data->hhdr.evt 0-255[u]
USER_DATA 0 hdev->dev.driver_data->evt_skb->data->hhdr.plen 0-255[u]
USER_DATA 0 hdev->dev.driver_data->evt_skb->data->whdr.dir 0-255[u]
USER_DATA 0 hdev->dev.driver_data->evt_skb->data->whdr.dlen 0-u16max[u]
USER_DATA 0 hdev->dev.driver_data->evt_skb->data->whdr.flag 0-4,7[u]
LOCK2 0 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

net/bluetooth/hci_sysfs.c reset_store() -> (struct hci_dev)->reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->reset 1-u64max
CONTAINER 0 -9072+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

net/bluetooth/hci_core.c hci_cmd_timeout() -> (struct hci_dev)->reset()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->req_skb 0,4096-ptr_max
PARAM_VALUE 0 hdev->reset 1-u64max
CONTAINER 0 -9072+0 $(-1)
NOCHECK_CALL
HALF_LOCKED2 &pool->lock