Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_display.c radeon_user_framebuffer_create() -> radeon_framebuffer_init()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->mode_config.funcs 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 0,4096-ptr_max
PARAM_VALUE 3 mode_cmd 4096-ptr_max
PARAM_VALUE 3 mode_cmd->flags 0-2
PARAM_VALUE 3 mode_cmd->handles 4096-ptr_max
PARAM_VALUE 3 mode_cmd->height 1-u32max
PARAM_VALUE 3 mode_cmd->modifier 4096-ptr_max
PARAM_VALUE 3 mode_cmd->width 1-u32max
PARAM_VALUE 4 obj 4096-ptr_max
PARAM_VALUE 4 obj->import_attach 0
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 0 dev (-1),3696
BUF_SIZE 1 fb 192
BUF_SIZE 3 mode_cmd (-1),104,128-16383
BUF_SIZE 3 mode_cmd (-1),104,128-16383
CAPPED_DATA 2 info->num_planes 1
CAPPED_DATA 3 mode_cmd->height 1
CAPPED_DATA 3 mode_cmd->pixel_format 1
CAPPED_DATA 3 mode_cmd->width 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 fb r _kzalloc_noprof
DATA_SOURCE 2 info $2
DATA_SOURCE 3 mode_cmd $3
DATA_SOURCE 4 obj r drm_gem_object_lookup
NOSPEC 3 mode_cmd->height
NOSPEC 3 mode_cmd->width
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 mode_cmd->fb_id 0-u32max[u]
USER_DATA 3 mode_cmd->flags 0-2[u]
USER_DATA 3 mode_cmd->height 1-s32max[c]
USER_DATA 3 mode_cmd->pixel_format 0-u32max[c]
USER_DATA 3 mode_cmd->width 1-s32max[c]
USER_PTR 3 mode_cmd
HALF_LOCKED2 &crtc->cursor->mutex
HALF_LOCKED2 &crtc->mutex

drivers/gpu/drm/radeon/radeon_fbdev.c radeon_fbdev_driver_fbdev_probe() -> radeon_framebuffer_init()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 fb 4096-ptr_max
PARAM_VALUE 2 info 4096-ptr_max
PARAM_VALUE 3 mode_cmd 8169976466272059392
PARAM_VALUE 3 mode_cmd->fb_id 0
PARAM_VALUE 3 mode_cmd->flags 0
PARAM_VALUE 3 mode_cmd->height 0
PARAM_VALUE 3 mode_cmd->pixel_format 0,538980675,538980931,538981443,538982467,808669784,875710290,875713089,875713112,892424792,909199186
PARAM_VALUE 4 obj 4096-ptr_max
PARAM_VALUE 4 obj->_resv.fences 0
PARAM_VALUE 4 obj->_resv.lock.ctx 0
PARAM_VALUE 4 obj->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 4 obj->filp 0
PARAM_VALUE 4 obj->funcs 4919632343371948032
PARAM_VALUE 4 obj->gpuva.lock.first_waiter 0
PARAM_VALUE 4 obj->gpuva.lock.osq.tail.counter 0
PARAM_VALUE 4 obj->gpuva.lock.owner.counter 0
PARAM_VALUE 4 obj->handle_count 0
PARAM_VALUE 4 obj->refcount.refcount.refs.counter 1
PARAM_VALUE 4 obj->vma_node.driver_private 0
PARAM_VALUE 4 obj->vma_node.vm_lock.magic 3736018669
PARAM_VALUE 4 obj->vma_node.vm_lock.owner (-1)
PARAM_VALUE 4 obj->vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 4 obj->vma_node.vm_lock.raw_lock.wlocked 0
BUF_SIZE 1 fb 192
DATA_SOURCE 1 fb r _kzalloc_noprof
DATA_SOURCE 2 info r drm_get_format_info
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &fb_helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock