Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/drm_gem_ttm_helper.c, line 152
- drivers/gpu/drm/loongson/lsdc_drv.c, line 49
- drivers/gpu/drm/nouveau/nouveau_drm.c, line 1382
- drivers/gpu/drm/qxl/qxl_drv.c, line 300
- drivers/gpu/drm/qxl/qxl_ioctl.c, line 69
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c, line 1594
- drivers/gpu/drm/xe/xe_device.c, line 407
- include/drm/drm_gem_vram_helper.h, line 147
Smatch caller information:
drivers/gpu/drm/qxl/qxl_ioctl.c qxl_map_ioctl() -> drm_gem_ttm_dumb_map_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 3 | offset | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| USER_DATA | 2 | handle | 0-u32max[u] |
| USER_DATA | 3 | *offset | 0-u64max[u] |
| USER_PTR | 3 | offset |
drivers/gpu/drm/drm_dumb_buffers.c drm_mode_mmap_dumb() -> (struct drm_driver)->dumb_map_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->master_lookup_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver->dumb_create | 1-u64max |
| PARAM_VALUE | 1 | dev->driver->dumb_map_offset | 1-u64max |
| PARAM_VALUE | 1 | dev->unplugged | 0 |
| PARAM_VALUE | 3 | offset | 4096-ptr_max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | file | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | file | $2 |
| DATA_SOURCE | 1 | dev | $0 |
| CONTAINER | 1 | -112-120+0 | $(-1) |
| USER_DATA | 2 | handle | 0-u32max[u] |
| USER_DATA | 3 | *offset | 0-u64max[u] |
| USER_PTR | 3 | offset |