Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/drm_client.c
- drivers/gpu/drm/exynos/exynos_drm_fbdev.c, line 104
- drivers/gpu/drm/gma500/fbdev.c, line 150
- drivers/gpu/drm/msm/msm_fbdev.c, line 133
- drivers/gpu/drm/tegra/fbdev.c, line 101
Smatch caller information:
drivers/gpu/drm/drm_client.c drm_client_buffer_create_dumb() -> drm_client_buffer_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->driver->dumb_create | 1-u64max |
| PARAM_VALUE | 0 | client->modeset_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->modeset_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | client->modesets | 4096-ptr_max |
| PARAM_VALUE | 1 | width | 0-u16max |
| PARAM_VALUE | 2 | height | 0-u16max |
| PARAM_VALUE | 3 | format | 875,808665665,808669761,808669784,875708993,875709016,875710290 |
| PARAM_VALUE | 4 | handle | 0 |
| PARAM_VALUE | 5 | pitch | 0 |
| BUF_SIZE | 0 | client | 216 |
| CAPPED_DATA | 3 | format | 1 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | width | $1 |
| DATA_SOURCE | 2 | height | $2 |
| DATA_SOURCE | 3 | format | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| UNITS | 5 | pitch | unit_byte |
| LOCK2 | 0 | &client->modeset_mutex | |
| HALF_LOCKED2 | &up->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &target_list_lock | ||
| TYPE_LOCK | (struct drm_client_dev)->modeset_mutex |
drivers/gpu/drm/tegra/fbdev.c tegra_fbdev_driver_fbdev_probe() -> drm_client_buffer_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->dev_private->mm_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->dev->huge_mnt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | client->file->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | height | 0 |
| PARAM_VALUE | 3 | format | 0,538980675,538980931,538981443,538982467,808669784,875710290,875713089,875713112,892424792,909199186 |
| PARAM_VALUE | 4 | handle | 0-s32max |
| BUF_SIZE | 0 | client | 216 |
| CAPPED_DATA | 3 | format | 1 |
| DATA_SOURCE | 3 | format | r drm_mode_legacy_fb_format |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/gma500/fbdev.c psb_fbdev_driver_fbdev_probe() -> drm_client_buffer_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1640,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock->owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | height | 0 |
| PARAM_VALUE | 3 | format | 0,538980675,538980931,538981443,538982467,808669784,875713089,875713112,892424792,909199186 |
| PARAM_VALUE | 4 | handle | 0-s32max |
| BUF_SIZE | 0 | client | 216 |
| CAPPED_DATA | 3 | format | 1 |
| DATA_SOURCE | 3 | format | r drm_mode_legacy_fb_format |
| BIT_INFO | 5 | pitch | 0x0,0xffffffc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &fb_helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> drm_client_buffer_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock->owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-1) |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->primary | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | height | 0 |
| PARAM_VALUE | 3 | format | 0,538980675,538980931,538981443,538982467,808669784,875710290,875713089,875713112,892424792,909199186 |
| PARAM_VALUE | 4 | handle | 0-s32max |
| BUF_SIZE | 0 | client | 216 |
| CAPPED_DATA | 3 | format | 1 |
| DATA_SOURCE | 3 | format | r drm_mode_legacy_fb_format |
| DATA_SOURCE | 5 | pitch | r drm_format_info_min_pitch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |
drivers/gpu/drm/exynos/exynos_drm_fbdev.c exynos_drm_fbdev_driver_fbdev_probe() -> drm_client_buffer_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | client->dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file | 4096-ptr_max |
| PARAM_VALUE | 0 | client->file->object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | client->file->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->modeset_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->modeset_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | *client->dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | height | 0 |
| PARAM_VALUE | 3 | format | 538980675,538980931,538981443,538982467,808669784,875710290,875713089,875713112,892424792,909199186 |
| PARAM_VALUE | 4 | handle | 0-s32max |
| PARAM_VALUE | 5 | pitch | 1-u32max |
| BUF_SIZE | 0 | client | 216 |
| CAPPED_DATA | 3 | format | 1 |
| DATA_SOURCE | 3 | format | r drm_mode_legacy_fb_format |
| DATA_SOURCE | 5 | pitch | r drm_format_info_min_pitch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | height | |
| NO_OVERFLOW_SIMPLE | 5 | pitch | |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | height | unit_byte |
| LOCK2 | &dev->clientlist_mutex | ||
| LOCK2 | &helper->lock | ||
| TYPE_LOCK | (struct drm_device)->clientlist_mutex | ||
| TYPE_LOCK | (struct drm_fb_helper)->lock |