Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/cdns3/cdnsp-gadget.c cdnsp_clear_cmd_ring() -> cdnsp_initialize_ring_info()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pdev->lock
LOCK2 flags
HALF_LOCKED2 &cdns->lock
HALF_LOCKED2 &udc->connect_lock
TYPE_LOCK (struct cdnsp_device)->lock

drivers/usb/cdns3/cdnsp-mem.c cdnsp_ring_alloc() -> cdnsp_initialize_ring_info()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
PARAM_VALUE 0 ring->first_seg 4096-ptr_max
PARAM_VALUE 0 ring->num_segs 1-2
BUF_SIZE 0 ring 112
CAPPED_DATA 0 ring->first_seg 1
DATA_SOURCE 0 ring r _kzalloc_noprof
HARD_MAX 0 ring->num_segs 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cdns->mutex
HALF_LOCKED2 &pdev->lock