Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/accel/ivpu/ivpu_gem.c, line 356
- drivers/accel/rocket/rocket_gem.c, line 43
- drivers/gpu/drm/drm_gem_shmem_helper.c, line 50
- drivers/gpu/drm/panfrost/panfrost_gem.c, line 413
- drivers/gpu/drm/v3d/v3d_bo.c, line 73
- drivers/gpu/drm/virtio/virtgpu_object.c, line 147
- rust/helpers/drm.c, line 74
Smatch caller information:
drivers/gpu/drm/drm_gem.c drm_gem_mmap_obj() -> (struct drm_gem_object_funcs)->mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | $ | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs->mmap | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs->vm_ops | 0,4096-ptr_max |
| PARAM_VALUE | 1 | $ | 4096-ptr_max |
| PARAM_VALUE | 1 | $->vm_ops | 0,4096-ptr_max |
| PARAM_VALUE | 1 | $->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 0 | $ | (-1),16,24,40,48,56,72,80,112,120,136,168,184,224 |
| BUF_SIZE | 0 | $ | (-1),16,24,40,48,56,72,80,112,120,136,168,184,224 |
| BUF_SIZE | 1 | $ | (-1),1-s32max |
| BUF_SIZE | 1 | $ | (-1),1-s32max |
| BUF_SIZE | 1 | $->vm_file | (-1)-s32max |
| BUF_SIZE | 1 | $->vm_private_data | (-1),16,24,40,48,56,72,80,112,120,136,168,184,224 |
| DATA_SOURCE | 0 | $ | $0 |
| DATA_SOURCE | 1 | $ | $2 |
| CONTAINER | 0 | -80-672+0 | $(-1) |
| NOSPEC | 1 | $->vm_pgoff | |
| NOSPEC | 1 | $->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | $->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | $->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | $->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | $->vm_pgoff | |
| HALF_LOCKED2 | &info->mm_lock |
drivers/gpu/drm/drm_prime.c drm_gem_prime_mmap() -> (struct drm_gem_object_funcs)->mmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | $ | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs->mmap | 4096-ptr_max |
| PARAM_VALUE | 0 | $->funcs->vm_ops | 0,4096-ptr_max |
| PARAM_VALUE | 1 | $ | 4096-ptr_max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 1 | $->vm_ops | 0,4096-ptr_max |
| BUF_SIZE | 0 | $ | (-1),16,24,40,48,56,72,80,112,120,136,168,184,224 |
| BUF_SIZE | 0 | $ | (-1),16,24,40,48,56,72,80,112,120,136,168,184,224 |
| BUF_SIZE | 1 | $ | (-1),1-s32max |
| BUF_SIZE | 1 | $ | (-1),1-s32max |
| BUF_SIZE | 1 | $->vm_file | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 1 | $->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | $ | $0 |
| DATA_SOURCE | 1 | $ | $1 |
| CONTAINER | 0 | -80-672+0 | $(-1) |
| NOSPEC | 1 | $->vm_pgoff | |
| NOSPEC | 1 | $->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | $->vm_end | 4096-u64max[c] |
| USER_DATA | 1 | $->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 1 | $->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 1 | $->vm_pgoff | |
| HALF_LOCKED2 | &info->mm_lock |