Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/bluetooth/btusb.c btusb_hci_drv_read_info() -> hci_drv_cmd_complete()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_min_active s32min-s32max
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.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 hdev->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->hci_drv 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->common_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->specific_handler_count 0,2
PARAM_VALUE 0 hdev->hci_drv->specific_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->interleave_scan.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_min_active s32min-s32max
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_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->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
PARAM_VALUE 1 cmd 0
PARAM_VALUE 2 status 0
PARAM_VALUE 3 rp 4096-ptr_max
PARAM_VALUE 4 rp_len 40
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev->sent_cmd (-1),240
BUF_SIZE 3 rp 40
CAPPED_DATA 0 hdev 1
CAPPED_DATA 0 hdev->hci_drv->specific_handler_count 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 3 rp r _kmalloc_noprof
STR_LEN 0 hdev (-1),23,63
STR_LEN 0 hdev (-1),23,63
RX_PATH
TASK_NOT_RUNNING
UNITS 4 rp_len unit_byte
USER_PTR 0 hdev->sent_cmd->data
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock

drivers/bluetooth/btusb.c btusb_hci_drv_supported_altsettings() -> hci_drv_cmd_complete()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_min_active s32min-s32max
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.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 hdev->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->hci_drv 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->common_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->specific_handler_count 0,2
PARAM_VALUE 0 hdev->hci_drv->specific_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->interleave_scan.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_min_active s32min-s32max
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_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->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
PARAM_VALUE 1 cmd 1024
PARAM_VALUE 2 status 0
PARAM_VALUE 3 rp 4096-ptr_max
PARAM_VALUE 4 rp_len 1-256
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev->sent_cmd (-1),240
BUF_SIZE 3 rp 8
CAPPED_DATA 0 hdev 1
CAPPED_DATA 0 hdev->hci_drv->specific_handler_count 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 3 rp r _kmalloc_noprof
STR_LEN 0 hdev (-1),23,63
STR_LEN 0 hdev (-1),23,63
RX_PATH
TASK_NOT_RUNNING
UNITS 4 rp_len unit_byte
USER_PTR 0 hdev->sent_cmd->data
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock

drivers/bluetooth/btintel_pcie.c btintel_pcie_hci_drv_read_info() -> hci_drv_cmd_complete()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->adv_instance_expire.wq->saved_min_active s32min-s32max
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.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 hdev->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 hdev->hci_drv 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->common_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->hci_drv->specific_handler_count 0,2
PARAM_VALUE 0 hdev->hci_drv->specific_handlers 4096-ptr_max
PARAM_VALUE 0 hdev->interleave_scan.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 hdev->interleave_scan.wq->saved_min_active s32min-s32max
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_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->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
PARAM_VALUE 1 cmd 0
PARAM_VALUE 2 status 0
PARAM_VALUE 3 rp 4096-ptr_max
PARAM_VALUE 4 rp_len 36
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev (-1),1-u16max
BUF_SIZE 0 hdev->sent_cmd (-1),240
BUF_SIZE 3 rp 36
CAPPED_DATA 0 hdev 1
CAPPED_DATA 0 hdev->hci_drv->specific_handler_count 1
DATA_SOURCE 0 hdev $0
DATA_SOURCE 3 rp r _kmalloc_noprof
DATA_SOURCE 4 rp_len r size_add
STR_LEN 0 hdev (-1),23,63
STR_LEN 0 hdev (-1),23,63
RX_PATH
TASK_NOT_RUNNING
BYTE_COUNT 3 ==rp4 8050
USER_PTR 0 hdev->sent_cmd->data
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &hdev->req_lock