Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
sound/core/pcm.c _snd_pcm_new() -> snd_pcm_new_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->card | 1-u64max |
| PARAM_VALUE | 0 | pcm->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcm->open_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pcm->open_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pcm->open_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pcm->open_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 0 |
| BUF_SIZE | 0 | pcm | 920 |
| DATA_SOURCE | 0 | pcm | r _kzalloc_noprof |
| DATA_SOURCE | 2 | substream_count | $3 |
| STR_LEN | 0 | pcm->card | (-1)-22,26-27,31,63 |
| STR_LEN | 0 | pcm->card->driver | (-1)-15 |
| STR_LEN | 0 | pcm->card->id | (-1),15 |
| STR_LEN | 0 | pcm->card->longname | (-1),79 |
| STR_LEN | 0 | pcm->card->shortname | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | substream_count | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm.c _snd_pcm_new() -> snd_pcm_new_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->card | 1-u64max |
| PARAM_VALUE | 0 | pcm->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pcm->open_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pcm->open_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pcm->open_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pcm->open_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pcm->open_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 1 |
| BUF_SIZE | 0 | pcm | 920 |
| DATA_SOURCE | 0 | pcm | r _kzalloc_noprof |
| DATA_SOURCE | 2 | substream_count | $4 |
| STR_LEN | 0 | pcm->card | (-1)-22,26-27,31,63 |
| STR_LEN | 0 | pcm->card->driver | (-1)-15 |
| STR_LEN | 0 | pcm->card->id | (-1),15 |
| STR_LEN | 0 | pcm->card->longname | (-1),79 |
| STR_LEN | 0 | pcm->card->shortname | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | substream_count | |
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/usb/stream.c snd_usb_add_audio_stream() -> snd_pcm_new_stream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 0-1 |
| PARAM_VALUE | 2 | substream_count | 1 |
| DATA_SOURCE | 1 | stream | $1 |
| FUZZY_MAX | 1 | stream | 1 |
| HARD_MAX | 1 | stream | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |