Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- sound/core/pcm_native.c
- sound/soc/intel/avs/pcm.c, line 1347
- sound/soc/qcom/lpass-platform.c, line 921
Smatch caller information:
sound/core/pcm_native.c snd_pcm_mmap_data() -> snd_pcm_lib_default_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->mmap | 0 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | s32min-2,5-s32max |
| PARAM_VALUE | 0 | substream->runtime->info | 1-u32max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | area | 4096-ptr_max |
| PARAM_VALUE | 1 | area->vm_ops | 7905163898462179328 |
| PARAM_VALUE | 1 | area->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area->vm_file | (-1)-s32max |
| BUF_SIZE | 1 | area->vm_ops | 144 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | area | $2 |
| NOSPEC | 1 | area->vm_pgoff | |
| NOSPEC | 1 | area->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | area->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | area->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | area->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | area->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
sound/soc/qcom/lpass-platform.c lpass_platform_pcmops_mmap() -> snd_pcm_lib_default_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->mmap | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | s32min-2,5-s32max |
| PARAM_VALUE | 0 | substream->runtime->info | 1-u32max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | area | 4096-ptr_max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_ops | 7905163898462179328 |
| PARAM_VALUE | 1 | area->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area->vm_file | (-1),1-s32max |
| BUF_SIZE | 1 | area->vm_ops | 144 |
| DATA_SOURCE | 0 | substream | $1 |
| DATA_SOURCE | 1 | area | $2 |
| NOSPEC | 1 | area->vm_pgoff | |
| NOSPEC | 1 | area->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | area->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | area->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | area->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | area->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
sound/soc/intel/avs/pcm.c avs_component_mmap() -> snd_pcm_lib_default_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->mmap | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | s32min-2,5-s32max |
| PARAM_VALUE | 0 | substream->runtime->info | 1-u32max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | area | 4096-ptr_max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | area->vm_ops | 7905163898462179328 |
| PARAM_VALUE | 1 | area->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area | (-1),1-s32max |
| BUF_SIZE | 1 | area->vm_file | (-1),1-s32max |
| BUF_SIZE | 1 | area->vm_ops | 144 |
| DATA_SOURCE | 0 | substream | $1 |
| DATA_SOURCE | 1 | area | $2 |
| NOSPEC | 1 | area->vm_pgoff | |
| NOSPEC | 1 | area->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | area->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | area->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | area->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | area->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |