Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/core/pcm_native.c snd_pcm_hw_free() -> do_hw_free()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->mmap_count.counter 0
PARAM_VALUE 0 substream->pcm 4096-ptr_max
PARAM_VALUE 0 substream->pcm->card 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->buffer_accessing.counter 0-s32max
PARAM_VALUE 0 substream->runtime->buffer_mutex.dep_map->name 0-255
PARAM_VALUE 0 substream->runtime->buffer_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 substream->runtime->buffer_mutex.osq.tail.counter 0-s32max
DATA_SOURCE 0 substream $0
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/core/pcm_native.c snd_pcm_release_substream() -> do_hw_free()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->hw_opened 1
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state s32min-(-1),1-s32max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
USER_DATA 0 substream->f_flags 0-u32max
USER_DATA 0 substream->runtime->no_period_wakeup 0-1
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count 33-4294967295[c]
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count 33-4294967295[c]
USER_DATA 0 substream->runtime->rate_den 0-u32max
USER_DATA 0 substream->runtime->rate_num 0-u32max
HALF_LOCKED2 &pcm->open_mutex
HALF_LOCKED2 _T->lock