Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/accel/amdxdna/amdxdna_gem.c
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 791
- drivers/gpu/drm/imagination/pvr_gem.c, line 52
- drivers/gpu/drm/lima/lima_gem.c, line 208
- include/drm/drm_gem_shmem_helper.h, line 281
Smatch caller information:
drivers/gpu/drm/lima/lima_gem.c lima_gem_mmap() -> drm_gem_shmem_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shmem | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_ops | 0,4096-ptr_max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 1 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 1 | vma | $1 |
| NOSPEC | 1 | vma->vm_pgoff | |
| NOSPEC | 1 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | vma->vm_pgoff | |
| HALF_LOCKED2 | &info->mm_lock |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_gem_dmabuf_mmap() -> drm_gem_shmem_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shmem | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->vm_ops | 6092607822832676864 |
| PARAM_VALUE | 1 | vma->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 1 | vma->vm_ops | 144 |
| BUF_SIZE | 1 | vma->vm_private_data | 16,24,40,48,56,72,80,112,120,136,168,184,224 |
| DATA_SOURCE | 1 | vma | $1 |
| NOSPEC | 1 | vma->vm_pgoff | |
| NOSPEC | 1 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | vma->vm_pgoff |
drivers/accel/amdxdna/amdxdna_gem.c amdxdna_insert_pages() -> drm_gem_shmem_mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shmem | 4096-ptr_max |
| PARAM_VALUE | 1 | vma | 4096-ptr_max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | vma->vm_ops | 0,4096-ptr_max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma | (-1),1-s32max |
| BUF_SIZE | 1 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 1 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 1 | vma | $1 |
| NOSPEC | 1 | vma->vm_pgoff | |
| NOSPEC | 1 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | vma->vm_pgoff | |
| HALF_LOCKED2 | &info->mm_lock |