Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/interconnect/icc-kunit.c icc_test_destroy_path() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 3816104602900295680,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,225,260,299
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),33
BUF_SIZE 1 ptr (-1),112,160
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr $1
FUZZY_MAX 0 test->last_seen.line 299
STR_LEN 0 test->last_seen.file (-1),32
NOCHECK_CALL

drivers/firewire/core-topology.c node_tree_test_exit() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 ptr 4096-ptr_max
DATA_SOURCE 0 test $0
NOCHECK_CALL

drivers/firewire/core-topology.c node_tree_test_exit() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 1 ptr s32min,(-10),1-s32max
DATA_SOURCE 0 test $0
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_test_wmfw_error.c wmfw_too_short_for_alg_header() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 1 ptr (-1),24
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r cs_dsp_mock_wmfw_get_firmware
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_test_wmfw_error.c wmfw_too_short_for_block_header() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 1 ptr (-1),24
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r cs_dsp_mock_wmfw_get_firmware
NOCHECK_CALL

lib/kunit/platform.c kunit_platform_device_prepare_wait_for_probe() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 1 ptr 40
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
STR_LEN 0 test->last_seen.file (-1)
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c wmfw_write_multiple_packed_unpacked_mem() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 2079874687609827328,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,635
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),48
BUF_SIZE 1 ptr 0-u32max
BUF_SIZE 1 ptr 0-u32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
FUZZY_MAX 0 test->last_seen.line 635
STR_LEN 0 test->last_seen.file (-1),47
MEM_ZERO 1 ptr
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c wmfw_write_multiple_unpacked_mem() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 2079874687609827328,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,537
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),48
BUF_SIZE 1 ptr 0-u32max
BUF_SIZE 1 ptr 0-u32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
FUZZY_MAX 0 test->last_seen.line 537
STR_LEN 0 test->last_seen.file (-1),47
MEM_ZERO 1 ptr
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_mock_wmfw.c cs_dsp_mock_wmfw_add_info() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 560767232606674944
PARAM_VALUE 0 test->last_seen.line 106
PARAM_VALUE 1 ptr 0,16,4096-ptr_max
BUF_SIZE 1 ptr 0,4-514
STR_LEN 0 test->last_seen.file (-1)
NOCHECK_CALL

lib/kunit/device.c kunit_driver_create() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 0 test->priv (-1),8,16,24,32,776,1344,3048
BUF_SIZE 1 ptr 152
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
STR_LEN 0 test 8-9,11-16,19-23,27
STR_LEN 0 test 8-9,11-16,19-23,27
STR_LEN 0 test->last_seen.file (-1)
RX_PATH
NOCHECK_CALL

lib/kunit/test.c __kunit_fail_current_test_impl() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 1 ptr 16,4096-ptr_max
PARAM_VALUE 1 *ptr 0-255
BUF_SIZE 1 ptr 0-s32max,18446744071562067968-u64max
DATA_SOURCE 1 ptr r kunit_kmalloc
NOCHECK_CALL

lib/kunit/test.c kunit_kfree_const() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
BUF_SIZE 0 test->last_seen.file (-1),23,32,40-41
BUF_SIZE 0 test->priv (-1),16
BUF_SIZE 1 ptr 4-25,28-29,32
BUF_SIZE 1 ptr 4-25,28-29,32
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr $1
STR_LEN 0 test->last_seen.file (-1),22,31,39-40
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/virt/nitro_enclaves/ne_misc_dev.c ne_misc_dev_test_merge_phys_contig_memory_regions() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test->last_seen.file 3669206780362272768,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,129,137
PARAM_VALUE 1 ptr 0,16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),47
BUF_SIZE 1 ptr 256
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kcalloc
FUZZY_MAX 0 test->last_seen.line 137
STR_LEN 0 test->last_seen.file (-1),46
NOCHECK_CALL

drivers/firewire/core-device.c device_attr_legacy_avc() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 8090938237943001088,8269806037579198464
PARAM_VALUE 0 test->last_seen.line 99,235
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),41
BUF_SIZE 1 ptr 4096
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
FUZZY_MAX 0 test->last_seen.line 235
STR_LEN 0 test->last_seen.file (-1),40
NOCHECK_CALL

drivers/firewire/core-device.c device_attr_simple_avc() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 8090938237943001088,8269806037579198464
PARAM_VALUE 0 test->last_seen.line 99,156
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),41
BUF_SIZE 1 ptr 4096
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kzalloc
FUZZY_MAX 0 test->last_seen.line 156
STR_LEN 0 test->last_seen.file (-1),40
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc.c g2g_run_test() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6919878298328936448
PARAM_VALUE 0 test->last_seen.line 121,324,337,341
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->priv->drm.dev->power.deferred_resume 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.idle_notification 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.request 0-4
PARAM_VALUE 0 test->priv->drm.dev->power.request_pending 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 test->priv->info.gt_count 2-255
PARAM_VALUE 0 test->priv->sriov.__mode 0-2,4-4294967295
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),43
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kcalloc
FUZZY_MAX 0 test->last_seen.line 341
STR_LEN 0 test->last_seen.file (-1),42
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc.c g2g_test_send() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6919878298328936448
PARAM_VALUE 0 test->last_seen.line 98
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->priv->drm.dev->power.deferred_resume 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.idle_notification 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.request 0-4
PARAM_VALUE 0 test->priv->drm.dev->power.request_pending 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 test->priv->drm.dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 test->priv->drm.dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 test->priv->info.gt_count 2-255
PARAM_VALUE 0 test->priv->sriov.__mode 0-2,4-4294967295
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 0 test->last_seen.file 43
BUF_SIZE 1 ptr 36
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r kunit_kmalloc_array
STR_LEN 0 test->last_seen.file 42
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c bin_too_short_for_block_header() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 6576753976839643136,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,271
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),53
BUF_SIZE 1 ptr 24
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r cs_dsp_mock_bin_get_firmware
FUZZY_MAX 0 test->last_seen.line 271
STR_LEN 0 test->last_seen.file (-1),52
NOCHECK_CALL

sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_grow_append_cal_efi_indexed() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 5305519628352192512,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,1203
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->priv->cal_blob s64min-(-4096),4096-s64max
PARAM_VALUE 0 test->priv->cal_blob->size 8-4294967295
PARAM_VALUE 0 test->status 1
PARAM_VALUE 1 ptr 16,4096-ptr_max
BUF_SIZE 0 test->last_seen.file (-1),35
BUF_SIZE 1 ptr 8-s32max
DATA_SOURCE 0 test $0
DATA_SOURCE 1 ptr r cs_amp_lib_test_cal_blob_dup
FUZZY_MAX 0 test->last_seen.line 1203
STR_LEN 0 test->last_seen.file (-1),34
NOCHECK_CALL

sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_grow_append_cal_efi_indexed() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 5305519628352192512,8090938237943001088
PARAM_VALUE 0 test->last_seen.line 99,1203
PARAM_VALUE 0 test->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->log->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 test->priv 4096-ptr_max
PARAM_VALUE 0 test->priv->cal_blob s64min-(-4096),4096-s64max
PARAM_VALUE 0 test->priv->cal_blob->size 8-4294967295
PARAM_VALUE 0 test->status 1
BUF_SIZE 0 test->last_seen.file (-1),35
DATA_SOURCE 0 test $0
FUZZY_MAX 0 test->last_seen.line 1203
STR_LEN 0 test->last_seen.file (-1),34
BIT_INFO 1 ptr 0x0,0x0
NOCHECK_CALL

sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_set_efi_variable() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 5305519628352192512
PARAM_VALUE 0 test->last_seen.line 858
PARAM_VALUE 0 test->priv 4096-ptr_max
BUF_SIZE 0 test->last_seen.file 35
DATA_SOURCE 0 test r kunit_get_current_test
STR_LEN 0 test->last_seen.file 34
NOCHECK_CALL

sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_set_hp_efi_cal_variable() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 5305519628352192512
PARAM_VALUE 0 test->last_seen.line 2079
PARAM_VALUE 0 test->priv 4096-ptr_max
BUF_SIZE 0 test->last_seen.file 35
DATA_SOURCE 0 test r kunit_get_current_test
STR_LEN 0 test->last_seen.file 34
NOCHECK_CALL

drivers/firmware/cirrus/test/cs_dsp_mock_bin.c cs_dsp_mock_bin_add_name_or_info() -> kunit_kfree()

Type Parameter Key Value
PARAM_VALUE 0 test 4096-ptr_max
PARAM_VALUE 0 test->last_seen.file 5532738356830912512
PARAM_VALUE 0 test->last_seen.line 72
PARAM_VALUE 1 ptr 0,16,4096-ptr_max
BUF_SIZE 1 ptr 0,4-514
STR_LEN 0 test->last_seen.file (-1)
NOCHECK_CALL