Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_verify_crc_source_invalid() -> amdgpu_dm_crtc_verify_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 1 src_name 1356153611886874624
PARAM_VALUE 2 values_cnt 4806367010115756032
PARAM_VALUE 2 *values_cnt 7
BUF_SIZE 1 src_name 4
STR_LEN 0 crtc 3
TERMINATED 1 src_name 1

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_verify_crc_source_valid() -> amdgpu_dm_crtc_verify_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.next 4096-ptr_max
PARAM_VALUE 0 crtc->mutex.head.prev 4096-ptr_max
PARAM_VALUE 1 src_name 6177041524676837376
PARAM_VALUE 2 values_cnt 5205193865116692480
PARAM_VALUE 2 *values_cnt 0
BUF_SIZE 1 src_name 5
STR_LEN 0 crtc 4
TERMINATED 1 src_name 1

drivers/gpu/drm/drm_debugfs_crc.c crc_control_show() -> (struct drm_crtc_funcs)->verify_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 0 crtc->funcs->get_crc_sources 1-u64max
PARAM_VALUE 2 values_cnt 3753446759991767040
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
CONTAINER 0 -144-536+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/drm_debugfs_crc.c crc_control_write() -> (struct drm_crtc_funcs)->verify_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 1 src_name 4096-ptr_max
PARAM_VALUE 2 values_cnt 3397497245376503808
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 1 src_name 1-1000000001,2147479553
BUF_SIZE 1 src_name 1-1000000001,2147479553
DATA_SOURCE 1 src_name r memdup_user_nul
CONTAINER 0 -144-536+0 $(-1)
TERMINATED 1 src_name 1
USER_DATA 1 *src_name 0-255
USER_PTR 1 src_name

drivers/gpu/drm/drm_debugfs_crc.c crtc_crc_open() -> (struct drm_crtc_funcs)->verify_crc_source()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->dev->driver 4096-ptr_max
PARAM_VALUE 0 crtc->dev->mode_config.funcs->atomic_commit 0
PARAM_VALUE 0 crtc->funcs 4096-ptr_max
PARAM_VALUE 2 values_cnt 5546667766872006656
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 0 crtc s32min-(-2),1-s32max
BUF_SIZE 1 src_name 1-1000000001,2147479553
CONTAINER 0 -144-536+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &crtc->mutex