Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 budget_table 7090017345317191680
PARAM_VALUE 1 tt 4096-ptr_max
PARAM_VALUE 1 tt->bandwidth 4096-ptr_max
PARAM_VALUE 1 tt->usb_tt 4096-ptr_max
PARAM_VALUE 1 tt->usb_tt->hub 4096-ptr_max
BUF_SIZE 0 budget_table 64
CAPPED_DATA 1 &tt->tt_list 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &buf->mutex
LOCK2 &ehci->lock
LOCK2 irq
TYPE_LOCK (struct debug_buffer)->mutex
TYPE_LOCK (struct ehci_hcd)->lock

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

Type Parameter Key Value
PARAM_VALUE 1 tt 0-ptr_max
BUF_SIZE 0 budget_table 64
BUF_SIZE 1 tt (-1),64
BUF_SIZE 1 tt (-1),64
DATA_SOURCE 1 tt r find_tt
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &ehci->lock
LOCK2 flags
TYPE_LOCK (struct ehci_hcd)->lock

drivers/usb/host/ehci-hcd.c qh_schedule() -> compute_tt_budget()

Type Parameter Key Value
PARAM_VALUE 0 *budget_table 0-255
PARAM_VALUE 1 tt 0-ptr_max
BUF_SIZE 0 budget_table 64
BUF_SIZE 1 tt (-1),64
BUF_SIZE 1 tt (-1),64
DATA_SOURCE 1 tt r find_tt
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ehci->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ehci_hcd)->lock