Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/pcm.c snd_usb_hw_free() -> sync_pending_stops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->cur_audiofmt | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_prepare | 1 |
| PARAM_VALUE | 0 | subs->data_endpoint->next_packet_head | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->next_packet_queued | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->state.counter | 0-s32max |
| PARAM_VALUE | 0 | subs->media_ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_prepare | 1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->next_packet_head | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->next_packet_queued | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->state.counter | 0-s32max |
| PARAM_VALUE | 0 | *subs->stream->chip->dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | subs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | subs | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | subs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | subs | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &qdev_mutex |
sound/usb/pcm.c snd_usb_hw_params() -> sync_pending_stops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->data_endpoint->iface_ref->need_setup | 1 |
| PARAM_VALUE | 0 | subs->data_endpoint->need_prepare | 1 |
| PARAM_VALUE | 0 | subs->data_endpoint->next_packet_head | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->next_packet_queued | 0 |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint->state.counter | 0-s32max |
| PARAM_VALUE | 0 | subs->media_ctl | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.pads.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.pads.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.pads.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.pads.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->media_ctl->media_pipe.pads.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->str_pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->clock_ref->locked.counter | s32min-s32max |
| PARAM_VALUE | 0 | subs->sync_endpoint->iface_ref->need_setup | 1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->need_prepare | 1 |
| PARAM_VALUE | 0 | subs->sync_endpoint->next_packet_head | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->next_packet_queued | 0 |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->ready_playback_urbs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint->state.counter | 0-s32max |
| BUF_SIZE | 0 | subs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | subs | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | subs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | subs | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &qdev_mutex |
sound/usb/pcm.c snd_usb_pcm_prepare() -> sync_pending_stops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subs | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->data_endpoint | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->hwptr_done | 0 |
| PARAM_VALUE | 0 | subs->inflight_bytes | 0 |
| PARAM_VALUE | 0 | subs->last_frame_number | 0 |
| PARAM_VALUE | 0 | subs->lowlatency_playback | 0 |
| PARAM_VALUE | 0 | subs->period_elapsed_pending | 0 |
| PARAM_VALUE | 0 | subs->str_pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->stream->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | subs->sync_endpoint | 0,4096-ptr_max |
| PARAM_VALUE | 0 | subs->transfer_done | 0 |
| PARAM_VALUE | 0 | *subs->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 0 | *subs->stream->chip->dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | subs->data_endpoint->data_subs->last_frame_number | 0-u32max[c] |
| HOST_DATA | 0 | subs->data_endpoint->data_subs->pcm_substream->snapshot.cycles | s64min-s64max |
| HOST_DATA | 0 | subs->sync_endpoint->data_subs->last_frame_number | 0-u32max[c] |
| HOST_DATA | 0 | subs->sync_endpoint->data_subs->pcm_substream->snapshot.cycles | s64min-s64max |
| UNITS | 0 | subs | unit_byte |
sound/usb/pcm.c snd_usb_pcm_sync_stop() -> sync_pending_stops()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | subs | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | subs | unit_byte |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex | ||
| HALF_LOCKED2 | _T->lock |