Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

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