Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

sound/soc/intel/avs/probes.c avs_probe_compr_set_params() -> snd_compr_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->dma_buffer.dev.type 3
PARAM_VALUE 0 stream->ops 4096-ptr_max
PARAM_VALUE 0 stream->private_data 4096-ptr_max
PARAM_VALUE 0 stream->runtime 4096-ptr_max
PARAM_VALUE 0 stream->runtime->buffer_size 0-u32max
PARAM_VALUE 0 stream->runtime->fragment_size 1-u32max
PARAM_VALUE 0 stream->runtime->fragments 1-u32max
PARAM_VALUE 1 size 0-u32max
DATA_SOURCE 0 stream $0
USER_DATA 0 stream->runtime->buffer_size 0-u32max
USER_DATA 0 stream->runtime->fragment_size 1-u32max
USER_DATA 0 stream->runtime->fragments 1-u32max[c]
USER_DATA 1 size 0-u32max
UNITS 1 size unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &fe->card->mutex

sound/soc/sof/compress.c sof_compr_set_params() -> snd_compr_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->dma_buffer.dev.type 3
PARAM_VALUE 0 stream->ops 4096-ptr_max
PARAM_VALUE 0 stream->private_data 4096-ptr_max
PARAM_VALUE 0 stream->runtime 4096-ptr_max
PARAM_VALUE 0 stream->runtime->buffer_size 0-u32max
PARAM_VALUE 0 stream->runtime->dma_buffer_p 4096-ptr_max
PARAM_VALUE 0 stream->runtime->dma_buffer_p->bytes 0,4096-u64max
PARAM_VALUE 0 stream->runtime->dma_bytes 0-u32max
PARAM_VALUE 0 stream->runtime->fragment_size 1-u32max
PARAM_VALUE 0 stream->runtime->fragments 1-u32max
PARAM_VALUE 0 stream->runtime->private_data->hstream.bdl.area->addr_h 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.bdl.area->addr_l 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.bdl.area->size 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.bufsize 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.delay_negative_threshold s32min-s32max
PARAM_VALUE 0 stream->runtime->private_data->hstream.fifo_size 0-65536
PARAM_VALUE 0 stream->runtime->private_data->hstream.format_val 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.frags 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->hstream.no_period_wakeup 0-1
PARAM_VALUE 0 stream->runtime->private_data->hstream.period_bytes 0-4294967295
PARAM_VALUE 0 stream->runtime->private_data->num_pages 1-1048576
PARAM_VALUE 0 stream->runtime->private_data->reg_offset 0,8388608,16777216,25165824,33554432,41943040,50331648,58720256
PARAM_VALUE 1 size 0-u32max
CAPPED_DATA 0 stream->runtime->buffer_size 1
CAPPED_DATA 1 size 1
CAPPED_DATA 1 size 1
DATA_SOURCE 0 stream $1
NOSPEC 0 stream->runtime->buffer_size
NOSPEC 1 size
NOSPEC 1 size
USER_DATA 0 stream->runtime->buffer_size 0-u32max[c]
USER_DATA 0 stream->runtime->dma_buffer_p->addr 9223372036854788096-9223372036855042047[c]
USER_DATA 0 stream->runtime->dma_buffer_p->bytes 0,4096-4294967296[c]
USER_DATA 0 stream->runtime->dma_bytes 1-u32max[c]
USER_DATA 0 stream->runtime->fragment_size 1-u32max
USER_DATA 0 stream->runtime->fragments 1-u32max[c]
USER_DATA 1 size 0-u32max[c]
UNITS 1 size unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &fe->card->mutex

sound/soc/sof/sof-client-probes.c sof_probes_compr_set_params() -> snd_compr_malloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 stream 4096-ptr_max
PARAM_VALUE 0 stream->dma_buffer.dev.type 3
PARAM_VALUE 0 stream->ops 4096-ptr_max
PARAM_VALUE 0 stream->private_data 4096-ptr_max
PARAM_VALUE 0 stream->runtime 4096-ptr_max
PARAM_VALUE 0 stream->runtime->buffer_size 0-u32max
PARAM_VALUE 0 stream->runtime->fragment_size 1-u32max
PARAM_VALUE 0 stream->runtime->fragments 1-u32max
PARAM_VALUE 1 size 0-u32max
DATA_SOURCE 0 stream $0
USER_DATA 0 stream->runtime->buffer_size 0-u32max
USER_DATA 0 stream->runtime->fragment_size 1-u32max
USER_DATA 0 stream->runtime->fragments 1-u32max[c]
USER_DATA 1 size 0-u32max
UNITS 1 size unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &fe->card->mutex