Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci-ring.c process_bulk_intr_td() -> sum_trb_lengths()

Type Parameter Key Value
PARAM_VALUE 0 td 4096-ptr_max
PARAM_VALUE 0 td->start_seg 4096-ptr_max
PARAM_VALUE 1 stop_trb 4096-ptr_max
CAPPED_DATA 0 td->start_seg 1
DATA_SOURCE 0 td $3
DATA_SOURCE 1 stop_trb $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xhci->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c process_bulk_intr_td() -> sum_trb_lengths()

Type Parameter Key Value
PARAM_VALUE 0 td 4096-ptr_max
PARAM_VALUE 0 td->start_seg 4096-ptr_max
PARAM_VALUE 1 stop_trb 4096-ptr_max
CAPPED_DATA 0 td->start_seg 1
CAPPED_DATA 1 stop_trb 1
DATA_SOURCE 0 td $3
DATA_SOURCE 1 stop_trb $4
PARAM_COMPARE 1 stop_trb != $0->end_trb
PARAM_COMPARE 1 stop_trb != $0->end_trb
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xhci->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c process_isoc_td() -> sum_trb_lengths()

Type Parameter Key Value
PARAM_VALUE 0 td 4096-ptr_max
PARAM_VALUE 0 td->start_seg 4096-ptr_max
PARAM_VALUE 1 stop_trb 4096-ptr_max
CAPPED_DATA 0 td->start_seg 1
CAPPED_DATA 1 stop_trb 1
DATA_SOURCE 0 td $3
DATA_SOURCE 1 stop_trb $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xhci->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xhci_hcd)->lock