Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/core/pcm_native.c snd_pcm_open_file() -> snd_pcm_release_substream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->hw_opened | 0-1 |
| PARAM_VALUE | 0 | substream->ref_count | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-4294967295 |
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_open_substream() -> snd_pcm_release_substream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ref_count | 1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->hw_constraints.rules | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->f_flags | 0-4294967295 |
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_release() -> snd_pcm_release_substream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->pcm->card | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
sound/core/oss/pcm_oss.c snd_pcm_oss_release_file() -> snd_pcm_release_substream()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |