Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/usb/pcm.c copy_to_urb_quirk() -> copy_to_urb()

Type Parameter Key Value
PARAM_VALUE 0 subs 4096-ptr_max
PARAM_VALUE 0 subs->cur_audiofmt 4096-ptr_max
PARAM_VALUE 0 subs->data_endpoint 4096-ptr_max
PARAM_VALUE 0 subs->pcm_substream 4096-ptr_max
PARAM_VALUE 0 subs->tx_length_quirk 1
PARAM_VALUE 1 urb 4096-ptr_max
PARAM_VALUE 1 urb->context 4096-ptr_max
PARAM_VALUE 1 urb->iso_frame_desc 4096-ptr_max
PARAM_VALUE 1 urb->number_of_packets 1-s32max
CAPPED_DATA 0 subs->frame_limit 1
DATA_SOURCE 0 subs $0
DATA_SOURCE 1 urb $1
DATA_SOURCE 3 stride $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 subs->last_frame_number 0-u32max[c]
UNITS 2 offset unit_byte
UNITS 4 bytes unit_byte
LOCK2 irq
LOCK2 0 &subs->lock
TYPE_LOCK (struct snd_usb_substream)->lock

sound/usb/pcm.c prepare_playback_urb() -> copy_to_urb()

Type Parameter Key Value
PARAM_VALUE 0 subs 4096-ptr_max
PARAM_VALUE 0 subs->cur_audiofmt 4096-ptr_max
PARAM_VALUE 0 subs->data_endpoint 4096-ptr_max
PARAM_VALUE 0 subs->pcm_substream 4096-ptr_max
PARAM_VALUE 0 subs->tx_length_quirk 0
PARAM_VALUE 1 urb 4096-ptr_max
PARAM_VALUE 1 urb->context 4096-ptr_max
PARAM_VALUE 1 urb->iso_frame_desc 4096-ptr_max
PARAM_VALUE 1 urb->number_of_packets 1-s32max
PARAM_VALUE 2 offset 0
CAPPED_DATA 0 subs->frame_limit 1
DATA_SOURCE 0 subs $0
DATA_SOURCE 1 urb $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 subs->last_frame_number 0-u32max[c]
LOCK2 irq
LOCK2 0 &subs->lock
TYPE_LOCK (struct snd_usb_substream)->lock