Searched refs:kunit_kcalloc (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_guc_buf_kunit.c | 117 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 D | ne_misc_dev_test.c | 117 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 D | test_list_sort.c | 65 elts = kunit_kcalloc(test, TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test()
|
| H A D | kunit_iov_iter.c | 56 pages = kunit_kcalloc(test, npages, sizeof(struct page *), GFP_KERNEL); in iov_kunit_create_buffer()
|
| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_wmfw.c | 172 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 D | ttm_device_test.c | 54 ttm_devs = kunit_kcalloc(test, num_dev, sizeof(*ttm_devs), GFP_KERNEL); in ttm_device_init_multiple()
|
| /linux-6.15/lib/kunit/ |
| H A D | executor_test.c | 128 parsed_filters = kunit_kcalloc(test, filter_count, sizeof(*parsed_filters), in parse_filter_attr_test()
|
| /linux-6.15/sound/pci/hda/ |
| H A D | cirrus_scodec_test.c | 198 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 D | test.h | 481 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 D | regmap-kunit.c | 192 defaults = kunit_kcalloc(test, in gen_regmap() 1657 defaults = kunit_kcalloc(test, in gen_raw_regmap()
|