Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-u64max
PARAM_VALUE 1 fotg210 4096-ptr_max
PARAM_VALUE 1 fotg210->periodic 4096-ptr_max
PARAM_VALUE 1 fotg210->periodic_size 1-u32max
PARAM_VALUE 1 fotg210->pshadow 4096-ptr_max
PARAM_VALUE 2 hw 4096-ptr_max
PARAM_VALUE 3 qh 4096-ptr_max
PARAM_VALUE 3 qh->hw 4096-ptr_max
FUZZY_MAX 1 fotg210->periodic_size 1
PREEMPT_ADD <- disables preempt
UNITS 4 size unit_byte
LOCK2 &buf->mutex
LOCK2 flags
LOCK2 1 &fotg210->lock
TYPE_LOCK (struct debug_buffer)->mutex
TYPE_LOCK (struct ehci_hcd)->lock

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

Type Parameter Key Value
PARAM_VALUE 0 buf 4096-u64max
PARAM_VALUE 1 fotg210 4096-ptr_max
PARAM_VALUE 1 fotg210->periodic 4096-ptr_max
PARAM_VALUE 1 fotg210->periodic_size 1-u32max
PARAM_VALUE 1 fotg210->pshadow 4096-ptr_max
PARAM_VALUE 2 hw 4096-ptr_max
PARAM_VALUE 3 qh 4096-ptr_max
PARAM_VALUE 3 qh->hw 4096-ptr_max
FUZZY_MAX 1 fotg210->periodic_size 1
PREEMPT_ADD <- disables preempt
UNITS 4 size unit_byte
LOCK2 &buf->mutex
LOCK2 flags
LOCK2 1 &fotg210->lock
TYPE_LOCK (struct debug_buffer)->mutex
TYPE_LOCK (struct fotg210_hcd)->lock