Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_fini() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 1 hdcp_work 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_hdcp_create_workqueue_initializes_all_links() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 1 hdcp_work 4096-ptr_max
PARAM_VALUE 1 hdcp_work->max_link 3
PARAM_VALUE 1 hdcp_work->srm 16,4096-ptr_max
PARAM_VALUE 1 hdcp_work->srm_temp 16,4096-ptr_max
BUF_SIZE 1 hdcp_work s32min-s32max
DATA_SOURCE 1 hdcp_work r hdcp_create_workqueue
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 hdcp_work->max_link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_hdcp_create_workqueue_initializes_work() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 1 hdcp_work 4096-ptr_max
PARAM_VALUE 1 hdcp_work->max_link 1
PARAM_VALUE 1 hdcp_work->srm 16,4096-ptr_max
PARAM_VALUE 1 hdcp_work->srm_temp 16,4096-ptr_max
BUF_SIZE 1 hdcp_work s32min-s32max
DATA_SOURCE 1 hdcp_work r hdcp_create_workqueue
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 hdcp_work->max_link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_hdcp_create_workqueue_sets_dtm_v3_for_dcn31() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 1 hdcp_work 4096-ptr_max
PARAM_VALUE 1 hdcp_work->max_link 1
PARAM_VALUE 1 hdcp_work->srm 16,4096-ptr_max
PARAM_VALUE 1 hdcp_work->srm_temp 16,4096-ptr_max
BUF_SIZE 1 hdcp_work s32min-s32max
DATA_SOURCE 1 hdcp_work r hdcp_create_workqueue
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 hdcp_work->max_link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_hdcp_destroy_frees_and_removes_sysfs() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->entry.next 4096-ptr_max
PARAM_VALUE 0 kobj->kref.refcount.refs.counter 1
PARAM_VALUE 0 kobj->kset 0,4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev->next 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 kobj->ktype 1915817945436012544
PARAM_VALUE 0 kobj->name 4096-ptr_max
PARAM_VALUE 0 kobj->parent 4096-ptr_max
PARAM_VALUE 0 kobj->sd 4096-ptr_max
PARAM_VALUE 0 kobj->sd->__parent 0
PARAM_VALUE 0 kobj->sd->active.counter (-2147483647)
PARAM_VALUE 0 kobj->sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 kobj->state_add_uevent_sent 0
PARAM_VALUE 0 kobj->state_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 0 kobj->state_remove_uevent_sent 0
PARAM_VALUE 1 hdcp_work 4096-ptr_max
PARAM_VALUE 1 hdcp_work->attr.attr.mode 436
PARAM_VALUE 1 hdcp_work->attr.attr.name 1585969600686772224
PARAM_VALUE 1 hdcp_work->attr.read 6425164071447494656
PARAM_VALUE 1 hdcp_work->attr.size 16
PARAM_VALUE 1 hdcp_work->attr.write 4725882419911233536
PARAM_VALUE 1 hdcp_work->max_link 1
PARAM_VALUE 1 hdcp_work->srm 4096-ptr_max
PARAM_VALUE 1 hdcp_work->srm_temp 4096-ptr_max
BUF_SIZE 0 kobj 248
BUF_SIZE 1 hdcp_work 5168
BUF_SIZE 1 hdcp_work->srm 16
BUF_SIZE 1 hdcp_work->srm_temp 16
CAPPED_DATA 0 kobj->sd 1
DATA_SOURCE 0 kobj r setup_destroy_sysfs
DATA_SOURCE 1 hdcp_work r _kzalloc_noprof
TERMINATED 1 hdcp_work->attr.attr.name 1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_hdcp_test.c dm_test_hdcp_destroy_zero_links_null_srm() -> hdcp_destroy()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->entry.next 4096-ptr_max
PARAM_VALUE 0 kobj->kref.refcount.refs.counter 1
PARAM_VALUE 0 kobj->kset 0,4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev->next 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 kobj->kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 kobj->ktype 1915817945436012544
PARAM_VALUE 0 kobj->name 4096-ptr_max
PARAM_VALUE 0 kobj->parent 4096-ptr_max
PARAM_VALUE 0 kobj->sd 4096-ptr_max
PARAM_VALUE 0 kobj->sd->__parent 0
PARAM_VALUE 0 kobj->sd->active.counter (-2147483647)
PARAM_VALUE 0 kobj->sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 kobj->state_add_uevent_sent 0
PARAM_VALUE 0 kobj->state_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 0 kobj->state_remove_uevent_sent 0
PARAM_VALUE 1 hdcp_work 4096-ptr_max
PARAM_VALUE 1 hdcp_work->attr.attr.mode 436
PARAM_VALUE 1 hdcp_work->attr.attr.name 1585969600686772224
PARAM_VALUE 1 hdcp_work->attr.read 6425164071447494656
PARAM_VALUE 1 hdcp_work->attr.size 16
PARAM_VALUE 1 hdcp_work->attr.write 4725882419911233536
PARAM_VALUE 1 hdcp_work->max_link 0
PARAM_VALUE 1 hdcp_work->srm 0
PARAM_VALUE 1 hdcp_work->srm_temp 0
BUF_SIZE 0 kobj 248
BUF_SIZE 1 hdcp_work 5168
CAPPED_DATA 0 kobj->sd 1
DATA_SOURCE 0 kobj r setup_destroy_sysfs
DATA_SOURCE 1 hdcp_work r _kzalloc_noprof
TERMINATED 1 hdcp_work->attr.attr.name 1
NOCHECK_CALL