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_mmap() -> snd_pcm_mmap_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->state | s32min-7,9-s32max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | area | 4096-ptr_max |
| BUF_SIZE | 1 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),1216 |
| BUF_SIZE | 2 | area | (-1)-s32max |
| BUF_SIZE | 2 | area | (-1)-s32max |
| BUF_SIZE | 2 | area->vm_file | (-1)-s32max |
| BUF_SIZE | 2 | area->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 1 | file | 1 |
| DATA_SOURCE | 1 | file | $0 |
| DATA_SOURCE | 2 | area | $1 |
| NOSPEC | 2 | area->vm_pgoff | |
| NOSPEC | 2 | area->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | area->vm_end | 4096-u64max[c] |
| USER_DATA | 2 | area->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 2 | area->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 2 | area->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
sound/core/oss/pcm_oss.c snd_pcm_oss_mmap() -> snd_pcm_mmap_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->access | 0 |
| PARAM_VALUE | 0 | substream->runtime->info | 256-u32max |
| PARAM_VALUE | 1 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | file->private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | area | 4096-ptr_max |
| PARAM_VALUE | 2 | area->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 2 | area->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 2 | area->vm_pgoff | 0 |
| BUF_SIZE | 1 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 1 | file->private_data | (-1),1216 |
| BUF_SIZE | 2 | area | (-1)-s32max |
| BUF_SIZE | 2 | area | (-1)-s32max |
| BUF_SIZE | 2 | area->vm_file | (-1)-s32max |
| BUF_SIZE | 2 | area->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 1 | file | 1 |
| DATA_SOURCE | 1 | file | $0 |
| DATA_SOURCE | 2 | area | $1 |
| NOSPEC | 2 | area->vm_pgoff | |
| NOSPEC | 2 | area->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | area->vm_end | 4096-u64max[c] |
| USER_DATA | 2 | area->vm_pgoff | 0[c] |
| USER_DATA | 2 | area->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 2 | area->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |