Home
last modified time | relevance | path

Searched refs:kunit_kmalloc (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/iio/test/
H A Diio-test-format.c21 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_integer()
51 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fixedpoint()
112 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fractional()
152 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fractional_log2()
192 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_multiple()
207 buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_integer_64()
H A Diio-test-rescale.c649 char *buff = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_rescale_test_scale()
681 char *buff_off = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_rescale_test_offset()
/linux/lib/tests/
H A Dusercopy_kunit.c115 umem_src = kunit_kmalloc(test, size, GFP_KERNEL); in usercopy_test_copy_struct_from_user()
118 expected = kunit_kmalloc(test, size, GFP_KERNEL); in usercopy_test_copy_struct_from_user()
304 priv->kmem = kunit_kmalloc(test, priv->size, GFP_KERNEL); in usercopy_test_init()
H A Dtest_list_sort.c70 el = kunit_kmalloc(test, sizeof(*el), GFP_KERNEL); in list_sort_test()
H A Dprintf_kunit.c640 cmp_buffer = kunit_kmalloc(kunittest, BUF_SIZE, GFP_KERNEL); in flags()
/linux/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_wmfw.c114 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_one_payload()
497 payload_data[i] = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_unpacked_mem()
594 payload_data[i] = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_packed_unpacked_mem()
675 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_1_unpacked_trailing()
778 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_2_unpacked_trailing()
881 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_3_unpacked_trailing()
984 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_2_single_unpacked_trailing()
1093 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_3_single_unpacked_trailing()
1206 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_1_unpacked_leading()
1307 packed_payload_data = kunit_kmalloc(tes in wmfw_write_packed_2_unpacked_leading()
[all...]
H A Dcs_dsp_test_control_rw.c456 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_read_volatile_not_current_loaded_fw()
514 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_read_volatile_not_current_running_fw()
756 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_write_volatile_not_current_loaded_fw()
821 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_write_volatile_not_current_running_fw()
894 reg_vals = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_read_with_seek()
961 reg_vals = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_read_cache_with_seek()
1026 reg_vals = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_read_truncated()
1096 reg_vals = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_read_cache_truncated()
1164 reg_vals = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_write_with_seek()
1170 new_data = kunit_kmalloc(tes in cs_dsp_ctl_write_with_seek()
[all...]
H A Dcs_dsp_test_control_cache.c211 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init()
272 readback = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_write_only()
340 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
449 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls()
543 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_mems()
665 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_algs()
766 reg_vals[i] = kunit_kmalloc(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_init_multiple_offsets()
873 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_not_started()
934 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_stopped()
1000 reg_vals = kunit_kmalloc(tes in cs_dsp_ctl_cache_read_powered_down()
[all...]
H A Dcs_dsp_test_bin_error.c57 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in bin_load_with_unknown_blocks()
H A Dcs_dsp_test_wmfw_error.c69 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_load_with_unknown_blocks()
H A Dcs_dsp_test_control_parse.c80 str = kunit_kmalloc(test, len + 1, GFP_KERNEL); in cs_dsp_ctl_alloc_test_string()
H A Dcs_dsp_test_bin.c1987 payload = kunit_kmalloc(test, sizeof(*payload), GFP_KERNEL); in bin_patch_mixed_packed_unpacked_random()
/linux/drivers/of/
H A Dof_kunit_helpers.c54 copy_id = kunit_kmalloc(test, sizeof(*copy_id), GFP_KERNEL); in of_overlay_fdt_apply_kunit()
/linux/include/kunit/
H A Dtest.h437 * kunit_kmalloc() - Like kmalloc() except the allocation is *test managed*.
447 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function
460 * kunit_kzalloc() - Just like kunit_kmalloc(), but zeroes the allocation.
469 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc()
515 buf = kunit_kmalloc(test, len, gfp); in kunit_kstrdup()
/linux/drivers/net/wireless/intel/iwlwifi/tests/
H A Ddevinfo.c202 dev = kunit_kmalloc(test, sizeof(*dev), GFP_KERNEL); in devinfo_pci_ids()
/linux/security/apparmor/
H A Dpolicy_unpack_test.c65 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct()
118 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
/linux/lib/kunit/
H A Dstring-stream-test.c323 combined_content = kunit_kmalloc(test, combined_length, GFP_KERNEL); in string_stream_append_test()
H A Dtest.c49 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
/linux/drivers/base/regmap/
H A Dregmap-kunit.c856 vals = kunit_kmalloc(test, buf_sz, GFP_KERNEL); in stress_insert()
1745 rval = kunit_kmalloc(test, val_len, GFP_KERNEL); in raw_read_defaults()
/linux/mm/kasan/
H A Dkasan_test_c.c2029 kmem = kunit_kmalloc(test, size, GFP_KERNEL); in copy_user_test_oob()