Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xen-hcd.c xenhcd_map_urb_for_request() -> xenhcd_count_pages()

Type Parameter Key Value
PARAM_VALUE 1 length s32min-(-1),1-s32max
BUF_SIZE 0 addr s32min-(-2),1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 length
UNITS 0 addr unit_byte
UNITS 1 length unit_byte
LOCK2 &info->lock
LOCK2 flags
TYPE_LOCK (struct xenhcd_info)->lock

drivers/usb/host/xen-hcd.c xenhcd_map_urb_for_request() -> xenhcd_count_pages()

Type Parameter Key Value
PARAM_VALUE 0 addr 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &info->lock
LOCK2 flags
TYPE_LOCK (struct xenhcd_info)->lock