Home
last modified time | relevance | path

Searched refs:kunit_kcalloc (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_guc_buf_kunit.c117 bufs = kunit_kcalloc(test, dwords, sizeof(*bufs), GFP_KERNEL); in test_granular()
137 bufs = kunit_kcalloc(test, dwords, sizeof(*bufs), GFP_KERNEL); in test_unique()
228 KUNIT_ASSERT_NOT_NULL(test, s = kunit_kcalloc(test, dwords, sizeof(u32), GFP_KERNEL)); in test_flush()
229 KUNIT_ASSERT_NOT_NULL(test, d = kunit_kcalloc(test, dwords, sizeof(u32), GFP_KERNEL)); in test_flush()
/linux-6.15/drivers/virt/nitro_enclaves/
H A Dne_misc_dev_test.c117 phys_contig_mem_regions.regions = kunit_kcalloc(test, MAX_PHYS_REGIONS, in ne_misc_dev_test_merge_phys_contig_memory_regions()
/linux-6.15/lib/tests/
H A Dtest_list_sort.c65 elts = kunit_kcalloc(test, TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test()
H A Dkunit_iov_iter.c56 pages = kunit_kcalloc(test, npages, sizeof(struct page *), GFP_KERNEL); in iov_kunit_create_buffer()
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_wmfw.c172 payload_data = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_oneblock_payloads()
175 readback = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_oneblock_payloads()
239 payload_data = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_oneblock_payloads_reverse()
242 readback = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_oneblock_payloads_reverse()
315 payload_data = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_payloads_sparse_unordered()
319 readback = kunit_kcalloc(test, num_payloads, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_payloads_sparse_unordered()
488 payload_data = kunit_kcalloc(test, ARRAY_SIZE(payload_defs), sizeof(*payload_data), in wmfw_write_multiple_unpacked_mem()
585 payload_data = kunit_kcalloc(test, ARRAY_SIZE(payload_defs), sizeof(*payload_data), in wmfw_write_multiple_packed_unpacked_mem()
/linux-6.15/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c54 ttm_devs = kunit_kcalloc(test, num_dev, sizeof(*ttm_devs), GFP_KERNEL); in ttm_device_init_multiple()
/linux-6.15/lib/kunit/
H A Dexecutor_test.c128 parsed_filters = kunit_kcalloc(test, filter_count, sizeof(*parsed_filters), in parse_filter_attr_test()
/linux-6.15/sound/pci/hda/
H A Dcirrus_scodec_test.c198 refs = kunit_kcalloc(test, num_spk_id_refs, sizeof(*refs), GFP_KERNEL); in cirrus_scodec_test_spkid_parse()
/linux-6.15/include/kunit/
H A Dtest.h481 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc() function
/linux-6.15/drivers/base/regmap/
H A Dregmap-kunit.c192 defaults = kunit_kcalloc(test, in gen_regmap()
1657 defaults = kunit_kcalloc(test, in gen_raw_regmap()