Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_reset_state_allocates_state() -> amdgpu_dm_crtc_reset_state()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->state 0
BUF_SIZE 0 crtc 2048
BUF_SIZE 0 crtc->dev 3696
DATA_SOURCE 0 crtc r kunit_kzalloc
MEM_ZERO 0 crtc
NOCHECK_CALL

drivers/gpu/drm/drm_mode_config.c drm_mode_config_reset() -> (struct drm_crtc_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 0 crtc->funcs->reset 1-u64max
CAPPED_DATA 0 &crtc->head 1
CONTAINER 0 -0-536+0 $(-1)
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_init() -> (struct drm_crtc_funcs)->reset()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->base.id 0-s32max
PARAM_VALUE 0 crtc->base.properties 4096-ptr_max
PARAM_VALUE 0 crtc->base.type 3435973836
PARAM_VALUE 0 crtc->commit_list.next 4096-ptr_max
PARAM_VALUE 0 crtc->commit_list.prev 4096-ptr_max
PARAM_VALUE 0 crtc->crc.source 4096-ptr_max
PARAM_VALUE 0 crtc->crc.wq.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->crc.wq.head.prev 4096-ptr_max
PARAM_VALUE 0 crtc->cursor 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 6348730099507355648
PARAM_VALUE 0 crtc->head.next 4096-ptr_max
PARAM_VALUE 0 crtc->helper_private 1024275967974318080
PARAM_VALUE 0 crtc->index 0-31,2147483648-u32max
PARAM_VALUE 0 crtc->name 1-u64max
PARAM_VALUE 0 crtc->primary 0,4096-ptr_max
CONTAINER 0 -0-536+0 $(-1)
NOCHECK_CALL