Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci-ring.c xhci_kill_endpoint_urbs() -> inc_td_cnt()

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

drivers/usb/host/xhci-ring.c xhci_kill_ring_urbs() -> inc_td_cnt()

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

drivers/usb/host/xhci-ring.c xhci_td_cleanup() -> inc_td_cnt()

Type Parameter Key Value
PARAM_VALUE 0 urb 4096-ptr_max
CAPPED_DATA 0 urb->actual_length 1
PARAM_COMPARE 0 urb->actual_length <= $0->transfer_buffer_length
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &xhci->lock
HALF_LOCKED2 &xhci->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct xhci_hcd)->lock