Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xhci.c xhci_free_host_resources() -> xhci_count_num_new_endpoints()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 1 ctrl_ctx 1-u64max
BUF_SIZE 1 ctrl_ctx 192
BUF_SIZE 1 ctrl_ctx 192
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 ctrl_ctx $1
BIT_INFO 0 xhci->quirks 0x20,0xffffffffffffffff
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &xhci->lock
HALF_LOCKED2 hcd->bandwidth_mutex
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci.c xhci_reserve_host_resources() -> xhci_count_num_new_endpoints()

Type Parameter Key Value
PARAM_VALUE 0 xhci 4096-ptr_max
PARAM_VALUE 1 ctrl_ctx 1-u64max
BUF_SIZE 1 ctrl_ctx 192
BUF_SIZE 1 ctrl_ctx 192
DATA_SOURCE 0 xhci $0
DATA_SOURCE 1 ctrl_ctx $1
BIT_INFO 0 xhci->quirks 0x20,0xffffffffffffffff
BIT_INFO 0 xhci->xhc_state 0x0,0xfffffffe
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &xhci->lock
HALF_LOCKED2 hcd->bandwidth_mutex
TYPE_LOCK (struct xhci_hcd)->lock