Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_capture_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->ops->hw_params 1-u64max
PARAM_VALUE 0 substream->private_data 4096-ptr_max
PARAM_VALUE 0 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 0 substream->private_data->stopped 0
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
PARAM_VALUE 0 substream->runtime->periods 0-1,3-u32max
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 0 substream->runtime->stop_operating 0
PARAM_VALUE 1 size 0-u32max
CAPPED_DATA 0 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_playback_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->ops->hw_params 1-u64max
PARAM_VALUE 0 substream->private_data 4096-ptr_max
PARAM_VALUE 0 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 0 substream->private_data->stopped 0
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
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 0 substream->runtime->stop_operating 0
PARAM_VALUE 1 size 0-u32max
CAPPED_DATA 0 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->buffer_mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/pci/emu10k1/emupcm.c snd_emu10k1_playback_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->ops->hw_params 1-u64max
PARAM_VALUE 0 substream->private_data 4096-ptr_max
PARAM_VALUE 0 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 0 substream->private_data->stopped 0
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
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 0 substream->runtime->stop_operating 0
PARAM_VALUE 1 size 0-4294971391
CAPPED_DATA 0 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/core/pcm_native.c snd_pcm_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->managed_buffer_alloc 1
PARAM_VALUE 0 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 0 substream->private_data->stopped 0
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
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->timer.flags 0-4194302
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 0 substream->runtime->stop_operating 0
PARAM_VALUE 1 size 0-u32max
CAPPED_DATA 0 substream 1
CAPPED_DATA 0 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
USER_PTR 0 substream->runtime->oss.buffer
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/pci/rme9652/hdspm.c snd_hdspm_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->ops 4096-ptr_max
PARAM_VALUE 0 substream->ops->hw_params 1-u64max
PARAM_VALUE 0 substream->private_data 4096-ptr_max
PARAM_VALUE 0 substream->private_data->elapsed_period.lockdep_map->name 0-255
PARAM_VALUE 0 substream->private_data->stopped 0
PARAM_VALUE 0 substream->pstr 4096-ptr_max
PARAM_VALUE 0 substream->pstr->stream 0-1
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
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->data_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->completed_cookie 1
PARAM_VALUE 0 substream->runtime->private_data->dma_chan->cookie 1
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->prepare_data_urb 0,4049760685819678720
PARAM_VALUE 0 substream->runtime->private_data->sync_endpoint->state.counter s32min-s32max
PARAM_VALUE 0 substream->runtime->private_data->timer_instance.flags 0-4194302
PARAM_VALUE 0 substream->runtime->stop_operating 0
PARAM_VALUE 1 size 4194304
CAPPED_DATA 0 substream->runtime->hw_constraints.rules_num 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

sound/soc/mediatek/mt8365/mt8365-afe-pcm.c mt8365_afe_fe_hw_params() -> snd_pcm_lib_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 1 size 1-u32max
BUF_SIZE 0 substream->runtime (-1),1344
DATA_SOURCE 0 substream $0
DATA_SOURCE 1 size r params_buffer_bytes
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 substream->runtime->dma_buffer_p->addr 9223372036854788096-9223372036855042047[c]
USER_DATA 0 substream->runtime->dma_buffer_p->bytes 0,4096-4294967296[c]
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
USER_PTR 0 substream->runtime->oss.buffer