Defined in 1 files as a function:

Referenced in 22 files:

Smatch caller information:

drivers/usb/core/devio.c dec_usb_memory_use_count() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/devio.c usbdev_mmap() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ipcp->lock

drivers/usb/storage/usb.c uas_use_uas_driver() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/storage/usb.c usb_stor_probe1() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/storage/usb.c usb_stor_probe1() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/storage/uas.c uas_use_uas_driver() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/message.c usb_disable_device_endpoints() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/message.c usb_reset_configuration() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &board->big_gpib_mutex
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &ni_usb_hotplug_lock

drivers/usb/core/message.c usb_set_configuration() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &(sdev->udev)->dev.mutex
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &of->mutex

drivers/usb/core/message.c usb_set_interface() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &dev->v4l2_lock
HALF_LOCKED2 &dev->v4l_lock
HALF_LOCKED2 &dvb->lock
HALF_LOCKED2 &dvbdev->i2c_mutex
HALF_LOCKED2 &hdev->req_lock
HALF_LOCKED2 &pdev->v4l2_lock
HALF_LOCKED2 &state->fe_lock
HALF_LOCKED2 &ttusb->semi2c
HALF_LOCKED2 _T->lock

drivers/usb/core/buffer.c hcd_buffer_alloc() -> bus_to_hcd()

Type Parameter Key Value
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/buffer.c hcd_buffer_free() -> bus_to_hcd()

Type Parameter Key Value
DATA_SOURCE 0 bus $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/driver.c autosuspend_check() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
CAPPED_DATA 0 bus->root_hub 1

drivers/usb/core/driver.c usb_set_usb2_hardware_lpm() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/port.c find_and_link_peer() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &usb_port_peer_mutex

drivers/usb/core/port.c match_location() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &add_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 &skt->skt_mutex
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &pi_mutex
HALF_LOCKED2 global &pwrseq_sem
HALF_LOCKED2 global &registration_lock
HALF_LOCKED2 global &vdpa_dev_lock
HALF_LOCKED2 global &xenwatch_mutex

drivers/usb/core/port.c match_location() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &add_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &seq->lock
HALF_LOCKED2 &skt->skt_mutex
HALF_LOCKED2 &tb->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &core_lock
HALF_LOCKED2 global &pi_mutex
HALF_LOCKED2 global &pwrseq_sem
HALF_LOCKED2 global &registration_lock
HALF_LOCKED2 global &vdpa_dev_lock
HALF_LOCKED2 global &xenwatch_mutex

drivers/usb/core/port.c usb3_lpm_permit_store() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/host/ehci-hcd.c fill_async_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/host/ehci-hcd.c fill_bandwidth_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/host/ehci-hcd.c fill_periodic_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/host/ehci-hcd.c fill_registers_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/host/ehci-hcd.c find_tt() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ehci->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ehci_hcd)->lock

drivers/usb/host/xhci-sideband.c xhci_sideband_register() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/usb/fotg210/fotg210-hcd.c fill_async_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/fotg210/fotg210-hcd.c fill_periodic_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/fotg210/fotg210-hcd.c fill_registers_buffer() -> bus_to_hcd()

Type Parameter Key Value
UNITS 0 bus unit_array_size
LOCK2 &buf->mutex
TYPE_LOCK (struct debug_buffer)->mutex

drivers/usb/fotg210/fotg210-hcd.c uframe_periodic_max_show() -> bus_to_hcd()

Type Parameter Key Value
BUF_SIZE 0 bus s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/fotg210/fotg210-hcd.c uframe_periodic_max_store() -> bus_to_hcd()

Type Parameter Key Value
BUF_SIZE 0 bus s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/host/xhci-ring.c prepare_transfer() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
LOCK2 &xhci->lock
LOCK2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c xhci_giveback_urb_in_irq() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &xhci->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c xhci_queue_isoc_tx() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
LOCK2 &xhci->lock
LOCK2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/core/hub.c hub_activate() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hub.c hub_configure() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hub.c hub_enable_device() -> bus_to_hcd()

Type Parameter Key Value

drivers/usb/core/hub.c hub_ext_port_status() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_free_dev() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_hc_release_resources() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_port_connect() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex

drivers/usb/core/hub.c hub_port_reset() -> bus_to_hcd()

Type Parameter Key Value
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &ehci_cf_port_reset_rwsem
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c hub_probe() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hub.c hub_set_address() -> bus_to_hcd()

Type Parameter Key Value

drivers/usb/core/hub.c report_wakeup_requests() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hub.c usb_disable_lpm() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/hub.c usb_disable_ltm() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c usb_enable_lpm() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex
HALF_LOCKED2 hcd->bandwidth_mutex

drivers/usb/core/hub.c usb_enable_ltm() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c usb_enumerate_device() -> bus_to_hcd()

Type Parameter Key Value
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/hub.c usb_hub_clear_tt_buffer() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fotg210->lock
HALF_LOCKED2 &hsotg->lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 &xhci->lock
HALF_LOCKED2 spinflags

drivers/usb/core/hub.c usb_reset_and_verify_device() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &port_dev->status_lock
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c usb_unlocked_disable_lpm() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hub.c usb_unlocked_enable_lpm() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/usb-acpi.c usb_acpi_get_companion_for_port() -> bus_to_hcd()

Type Parameter Key Value

drivers/usb/core/../misc/onboard_usb_dev_pdevs.c onboard_dev_create_pdevs() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/sysfs.c authorized_default_show() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/core/sysfs.c authorized_default_store() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/core/sysfs.c interface_authorized_default_show() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/core/sysfs.c interface_authorized_default_store() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/core/hcd.c __usb_hcd_giveback_urb() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/usb/core/hcd.c hcd_bus_resume() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hcd.c hcd_bus_suspend() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hcd.c request_single_step_set_feature_urb() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH

drivers/usb/core/hcd.c usb_alloc_streams() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->dev.mutex

drivers/usb/core/hcd.c usb_bus_start_enum() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
DATA_SOURCE 0 bus $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &fsm->lock
HALF_LOCKED2 &ehci->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct otg_fsm)->lock

drivers/usb/core/hcd.c usb_free_streams() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->dev.mutex

drivers/usb/core/hcd.c usb_hcd_alloc_bandwidth() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 hcd->bandwidth_mutex

drivers/usb/core/hcd.c usb_hcd_disable_endpoint() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/hcd.c usb_hcd_flush_endpoint() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/core/hcd.c usb_hcd_get_frame_number() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subs->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/usb/core/hcd.c usb_hcd_reset_endpoint() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/hcd.c usb_hcd_submit_urb() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max

drivers/usb/core/hcd.c usb_hcd_unlink_urb() -> bus_to_hcd()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/usb/misc/lvstest.c create_lvs_device() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/misc/lvstest.c destroy_lvs_device() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/misc/lvstest.c lvs_rh_work() -> bus_to_hcd()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

drivers/usb/host/xhci-debugfs.c xhci_endpoint_context_show() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/usb/host/xhci-debugfs.c xhci_slot_context_show() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &s->lock
TYPE_LOCK (struct seq_file)->lock

drivers/usb/core/quirks.c usb_amd_resume_quirk() -> bus_to_hcd()

Type Parameter Key Value

drivers/usb/core/usb.c usb_alloc_dev() -> bus_to_hcd()

Type Parameter Key Value
DATA_SOURCE 0 bus $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 hcd->address0_mutex

drivers/usb/core/usb.c usb_alloc_dev() -> bus_to_hcd()

Type Parameter Key Value
DATA_SOURCE 0 bus $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 hcd->address0_mutex

drivers/usb/core/usb.c usb_alloc_dev() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
DATA_SOURCE 0 bus $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 hcd->address0_mutex

drivers/usb/core/usb.c usb_alloc_noncoherent() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->v4l_lock

drivers/usb/core/usb.c usb_free_noncoherent() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->v4l_lock

drivers/usb/core/usb.c usb_release_dev() -> bus_to_hcd()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &subsys->su_mutex

drivers/usb/core/devices.c usb_device_read() -> bus_to_hcd()

Type Parameter Key Value
PARAM_VALUE 0 bus 1-u64max
DATA_SOURCE 0 bus r idr_get_next
LOCK2 global &usb_bus_idr_lock