Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/host/ehci-hcd.c ehci_endpoint_disable() -> reserve_release_iso_bandwidth()

Type Parameter Key Value
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->td_list.next 4096-ptr_max
PARAM_VALUE 2 sign (-1)
BUF_SIZE 1 stream 40,48,56,80,104,128,152,384
BUF_SIZE 1 stream 40,48,56,80,104,128,152,384
CAPPED_DATA 1 &stream->td_list 1
PARAM_COMPARE 1 &stream->td_list == $1->td_list.next
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &ehci->lock
HALF_LOCKED2 &udev->dev.mutex
TYPE_LOCK (struct ehci_hcd)->lock

drivers/usb/host/ehci-hcd.c iso_stream_schedule() -> reserve_release_iso_bandwidth()

Type Parameter Key Value
PARAM_VALUE 0 ehci 4096-ptr_max
PARAM_VALUE 0 ehci->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 stream 4096-ptr_max
PARAM_VALUE 1 stream->hw 0
PARAM_VALUE 1 stream->ps.bw_phase 0-254
PARAM_VALUE 1 stream->ps.phase 0-8191
PARAM_VALUE 1 stream->ps.phase_uf 0-6
PARAM_VALUE 1 stream->ps.udev 4096-ptr_max
PARAM_VALUE 1 stream->ps.udev->tt 0,4096-ptr_max
PARAM_VALUE 1 stream->ps.udev->tt->hcpriv 16,4096-ptr_max
PARAM_VALUE 1 stream->td_list.next 4096-ptr_max
PARAM_VALUE 2 sign 1
BUF_SIZE 1 stream 40,48,56,80,104,128,384
BUF_SIZE 1 stream 40,48,56,80,104,128,384
CAPPED_DATA 1 stream->ps.bw_phase 1
CAPPED_DATA 1 stream->ps.phase 1
CAPPED_DATA 1 &stream->td_list 1
DATA_SOURCE 0 ehci $0
DATA_SOURCE 1 stream $2
PARAM_COMPARE 1 &stream->td_list == $1->td_list.next
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &ehci->lock
TYPE_LOCK (struct ehci_hcd)->lock