Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci.c xhci_gen_setup() -> xhci_hcd_init_usb3_data()

Type Parameter Key Value
PARAM_VALUE 1 hcd 4096-ptr_max
PARAM_VALUE 1 hcd->primary_hcd 1-u64max
PARAM_VALUE 1 hcd->self.no_sg_constraint 1
PARAM_VALUE 1 hcd->self.no_stop_on_short 1
PARAM_VALUE 1 hcd->self.sg_tablesize u32max
CAPPED_DATA 1 hcd 1
CAPPED_DATA 1 hcd->primary_hcd 1
DATA_SOURCE 0 xhci r hcd_to_xhci
DATA_SOURCE 1 hcd $0
PARAM_COMPARE 1 hcd != $1->primary_hcd
PARAM_COMPARE 1 hcd != $1->primary_hcd
NOCHECK_CALL

drivers/usb/host/xhci.c xhci_gen_setup() -> xhci_hcd_init_usb3_data()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 0 xhci->cap_regs 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_list.next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_list.next->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_list.prev 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->bounce_buf_len 0
PARAM_VALUE 0 xhci->cmd_ring->first_seg 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->first_seg->trbs 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->last_seg 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->last_seg->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->last_seg->next->trbs 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->last_seg->num 0-8421504
PARAM_VALUE 0 xhci->cmd_ring->last_seg->trbs 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->num_segs 1
PARAM_VALUE 0 xhci->cmd_ring->td_list.next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->td_list.next->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->td_list.prev 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->td_list.prev->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->td_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring->type 5
PARAM_VALUE 0 xhci->cmd_ring_state 4
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.done 0
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.lock.magic 3735899821
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.lock.owner (-1)
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.lock.owner_cpu u32max
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 xhci->cmd_ring_stop_completion.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 xhci->dcbaa.ctx_array 1-ptr_max
PARAM_VALUE 0 xhci->device_pool 4096-ptr_max
PARAM_VALUE 0 xhci->devs 1-u64max
PARAM_VALUE 0 xhci->dma_mask_bits 36,64
PARAM_VALUE 0 xhci->hw_ports 1-u64max
PARAM_VALUE 0 xhci->interrupters 4096-ptr_max
PARAM_VALUE 0 xhci->main_hcd 4096-ptr_max
PARAM_VALUE 0 xhci->main_hcd->primary_hcd 0,4096-ptr_max
PARAM_VALUE 0 xhci->main_hcd->self.no_sg_constraint 1
PARAM_VALUE 0 xhci->main_hcd->self.no_stop_on_short 1
PARAM_VALUE 0 xhci->main_hcd->self.sg_tablesize u32max
PARAM_VALUE 0 xhci->main_hcd->self.sysdev 4096-ptr_max
PARAM_VALUE 0 xhci->max_interrupters 0-2047
PARAM_VALUE 0 xhci->max_ports 0-127
PARAM_VALUE 0 xhci->medium_streams_pool 4096-ptr_max
PARAM_VALUE 0 xhci->mutex.dep_map->name 0-255
PARAM_VALUE 0 xhci->mutex.first_waiter 0
PARAM_VALUE 0 xhci->mutex.magic 4096-ptr_max
PARAM_VALUE 0 xhci->mutex.osq.tail.counter 0
PARAM_VALUE 0 xhci->mutex.owner.counter 0
PARAM_VALUE 0 xhci->op_regs 4096-ptr_max
PARAM_VALUE 0 xhci->page_size 0,4096-268431360
PARAM_VALUE 0 xhci->port_bw_pool 4096-ptr_max
PARAM_VALUE 0 xhci->port_caps 1-u64max
PARAM_VALUE 0 xhci->rh_bw 1-u64max
PARAM_VALUE 0 xhci->scratchpad 4096-ptr_max
PARAM_VALUE 0 xhci->scratchpad->sp_array 4096-ptr_max
PARAM_VALUE 0 xhci->scratchpad->sp_buffers 4096-ptr_max
PARAM_VALUE 0 xhci->segment_pool 4096-ptr_max
PARAM_VALUE 0 xhci->segment_pool->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 xhci->segment_pool->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 xhci->small_streams_pool 4096-ptr_max
PARAM_VALUE 0 *xhci->scratchpad->sp_buffers 1-ptr_max
PARAM_VALUE 1 hcd 4096-ptr_max
PARAM_VALUE 1 hcd->primary_hcd 0,4096-ptr_max
PARAM_VALUE 1 hcd->regs 4096-ptr_max
PARAM_VALUE 1 hcd->self.no_sg_constraint 1
PARAM_VALUE 1 hcd->self.no_stop_on_short 1
PARAM_VALUE 1 hcd->self.sg_tablesize u32max
PARAM_VALUE 1 hcd->self.sysdev 4096-ptr_max
PARAM_VALUE 1 hcd->self.sysdev->dma_mask 4096-ptr_max
PARAM_VALUE 1 hcd->self.sysdev->flags 4096-ptr_max
CAPPED_DATA 0 xhci->max_interrupters 1
CAPPED_DATA 0 xhci->max_ports 1
CAPPED_DATA 0 xhci->max_slots 1
CAPPED_DATA 0 xhci->page_size 1
CAPPED_DATA 0 xhci->usb2_rhub.num_ports 1
CAPPED_DATA 1 hcd 1
CAPPED_DATA 1 hcd->primary_hcd 1
DATA_SOURCE 0 xhci r hcd_to_xhci
DATA_SOURCE 1 hcd $0
FUZZY_MAX 0 xhci->dma_mask_bits 64
PARAM_COMPARE 1 hcd >= $1->primary_hcd
PARAM_COMPARE 1 hcd >= $1->primary_hcd
NOCHECK_CALL
HOST_DATA 0 xhci->allow_single_roothub 0-1
HOST_DATA 0 xhci->broken_suspend 0-1
HOST_DATA 0 xhci->cmd_ring_reserved_trbs 0-u32max
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.magic 3735899821
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.owner_cpu u32max
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.raw_lock.locked 0-255
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.raw_lock.locked_pending 0-u16max
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.raw_lock.pending 0-255
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.raw_lock.tail 0-u16max
HOST_DATA 0 xhci->cmd_ring_stop_completion.wait.lock.raw_lock.val.counter s32min-s32max
HOST_DATA 0 xhci->cmd_timer.cpu s32min-s32max
HOST_DATA 0 xhci->cmd_timer.timer.expires 0-u64max
HOST_DATA 0 xhci->cmd_timer.timer.flags 0-u32max
HOST_DATA 0 xhci->cmd_timer.work.data.counter s64min-s64max
HOST_DATA 0 xhci->comp_mode_recovery_timer.expires 0-u64max
HOST_DATA 0 xhci->comp_mode_recovery_timer.flags 0-u32max
HOST_DATA 0 xhci->device_pool->allocation 0-4294967295[c]
HOST_DATA 0 xhci->device_pool->boundary 0-4294967295[c]
HOST_DATA 0 xhci->device_pool->size 0-4294967295[c]
HOST_DATA 0 xhci->hcc_params 0-u32max
HOST_DATA 0 xhci->hcc_params2 0-u32max
HOST_DATA 0 xhci->hci_version 0-148,150-u16max
HOST_DATA 0 xhci->hcs_params2 0-u32max
HOST_DATA 0 xhci->hcs_params3 0-u32max
HOST_DATA 0 xhci->imod_interval 0-u32max
HOST_DATA 0 xhci->limit_active_eps 0-u32max
HOST_DATA 0 xhci->max_interrupters 0-2047[c]
HOST_DATA 0 xhci->max_ports 0-126[c]
HOST_DATA 0 xhci->max_slots 0-254[c]
HOST_DATA 0 xhci->num_active_eps 0-u32max
HOST_DATA 0 xhci->nvecs s32min-s32max
HOST_DATA 0 xhci->page_size 0,4096-268431360[c]
HOST_DATA 0 xhci->port_status_u0 0-u32max
HOST_DATA 0 xhci->quirks 0-u64max
HOST_DATA 0 xhci->run_graceperiod 0-u64max
HOST_DATA 0 xhci->s3.command 0-u32max
HOST_DATA 0 xhci->s3.config_reg 0-u32max
HOST_DATA 0 xhci->s3.dcbaa_ptr 0-u64max
HOST_DATA 0 xhci->s3.dev_nt 0-u32max
HOST_DATA 0 xhci->segment_pool->allocation 0-4294967295[c]
HOST_DATA 0 xhci->segment_pool->boundary 0-4294967295[c]
HOST_DATA 0 xhci->test_mode 0-u16max
HOST_DATA 0 xhci->usb2_rhub.bus_state.bus_suspended 0-u64max
HOST_DATA 0 xhci->usb2_rhub.bus_state.next_statechange 0-u64max
HOST_DATA 0 xhci->usb2_rhub.bus_state.port_c_suspend 0-u32max
HOST_DATA 0 xhci->usb2_rhub.bus_state.port_remote_wakeup 0-u32max
HOST_DATA 0 xhci->usb2_rhub.bus_state.resuming_ports 0-u64max
HOST_DATA 0 xhci->usb2_rhub.bus_state.suspended_ports 0-u32max
HOST_DATA 0 xhci->usb2_rhub.maj_rev 0-255
HOST_DATA 0 xhci->usb2_rhub.min_rev 0-255
HOST_DATA 0 xhci->usb2_rhub.num_ports 0-u32max[c]
HOST_DATA 0 xhci->usb3_rhub.bus_state.bus_suspended 0-u64max
HOST_DATA 0 xhci->usb3_rhub.bus_state.next_statechange 0-u64max
HOST_DATA 0 xhci->usb3_rhub.bus_state.port_c_suspend 0-u32max
HOST_DATA 0 xhci->usb3_rhub.bus_state.port_remote_wakeup 0-u32max
HOST_DATA 0 xhci->usb3_rhub.bus_state.resuming_ports 0-u64max
HOST_DATA 0 xhci->usb3_rhub.bus_state.suspended_ports 0-u32max
HOST_DATA 0 xhci->usb3_rhub.maj_rev 0-255
HOST_DATA 0 xhci->usb3_rhub.min_rev 0-255
HOST_DATA 0 xhci->xhc_state 0-u32max
HOST_DATA 0 *xhci 0-u64max
NO_OVERFLOW_SIMPLE 0 xhci->max_interrupters
NO_OVERFLOW_SIMPLE 0 xhci->max_ports
NO_OVERFLOW_SIMPLE 0 xhci->usb2_rhub.num_ports
NO_OVERFLOW_SIMPLE 0 xhci->usb3_rhub.num_ports