| /linux/drivers/iio/test/ |
| H A D | iio-test-format.c | 21 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 D | iio-test-rescale.c | 649 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 D | usercopy_kunit.c | 115 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 D | test_list_sort.c | 70 el = kunit_kmalloc(test, sizeof(*el), GFP_KERNEL); in list_sort_test()
|
| H A D | printf_kunit.c | 646 cmp_buffer = kunit_kmalloc(kunittest, BUF_SIZE, GFP_KERNEL); in flags()
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_wmfw.c | 116 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_one_payload() 499 payload_data[i] = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_unpacked_mem() 596 payload_data[i] = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_write_multiple_packed_unpacked_mem() 677 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_1_unpacked_trailing() 780 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_2_unpacked_trailing() 883 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_3_unpacked_trailing() 986 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_2_single_unpacked_trailing() 1095 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_3_single_unpacked_trailing() 1208 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_1_unpacked_leading() 1309 packed_payload_data = kunit_kmalloc(test, packed_payload_size_bytes, GFP_KERNEL); in wmfw_write_packed_2_unpacked_leading() [all …]
|
| H A D | cs_dsp_test_control_rw.c | 456 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(test, def.length_bytes, GFP_KERNEL); in cs_dsp_ctl_write_with_seek() [all …]
|
| H A D | cs_dsp_test_control_cache.c | 211 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(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_powered_down() [all …]
|
| H A D | cs_dsp_test_bin_error.c | 59 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in bin_load_with_unknown_blocks()
|
| H A D | cs_dsp_test_wmfw_error.c | 71 payload_data = kunit_kmalloc(test, payload_size_bytes, GFP_KERNEL); in wmfw_load_with_unknown_blocks()
|
| H A D | cs_dsp_test_control_parse.c | 80 str = kunit_kmalloc(test, len + 1, GFP_KERNEL); in cs_dsp_ctl_alloc_test_string()
|
| H A D | cs_dsp_test_bin.c | 1993 payload = kunit_kmalloc(test, sizeof(*payload), GFP_KERNEL); in bin_patch_mixed_packed_unpacked_random()
|
| /linux/kernel/printk/ |
| H A D | printk_ringbuffer_kunit_test.c | 285 test_data = kunit_kmalloc(test, sizeof(*test_data), GFP_KERNEL); in test_readerwriter() 294 thread_data = kunit_kmalloc(test, sizeof(*thread_data), GFP_KERNEL); in test_readerwriter()
|
| /linux/lib/crypto/tests/ |
| H A D | nh_kunit.c | 11 u32 *key = kunit_kmalloc(test, NH_KEY_BYTES, GFP_KERNEL); in test_nh()
|
| H A D | mldsa_kunit.c | 65 u8 *dst = kunit_kmalloc(test, len, GFP_KERNEL); in kunit_kmemdup_or_fail()
|
| /linux/drivers/of/ |
| H A D | of_kunit_helpers.c | 55 copy_id = kunit_kmalloc(test, sizeof(*copy_id), GFP_KERNEL); in of_overlay_fdt_apply_kunit()
|
| /linux/include/kunit/ |
| H A D | test.h | 499 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function 521 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc() 567 buf = kunit_kmalloc(test, len, gfp); in kunit_kstrdup()
|
| /linux/security/apparmor/ |
| H A D | policy_unpack_test.c | 65 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/drivers/net/wireless/intel/iwlwifi/tests/ |
| H A D | devinfo.c | 202 dev = kunit_kmalloc(test, sizeof(*dev), GFP_KERNEL); in devinfo_pci_ids()
|
| /linux/lib/kunit/ |
| H A D | string-stream-test.c | 323 combined_content = kunit_kmalloc(test, combined_length, GFP_KERNEL); in string_stream_append_test()
|
| H A D | kunit-test.c | 95 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
|
| H A D | test.c | 49 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
|
| /linux/sound/soc/codecs/ |
| H A D | cs-amp-lib-test.c | 71 temp = kunit_kmalloc(test, priv->cal_blob->size, GFP_KERNEL); in cs_amp_lib_test_cal_blob_dup() 862 priv->cal_blob = kunit_kmalloc(test, size, GFP_KERNEL); in cs_amp_lib_test_set_efi_variable() 2083 priv->cal_blob = kunit_kmalloc(test, size, GFP_KERNEL); in cs_amp_lib_test_set_hp_efi_cal_variable()
|
| /linux/drivers/base/regmap/ |
| H A D | regmap-kunit.c | 963 vals = kunit_kmalloc(test, buf_sz, GFP_KERNEL); in stress_insert() 1856 rval = kunit_kmalloc(test, val_len, GFP_KERNEL); in raw_read_defaults()
|
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 2157 kmem = kunit_kmalloc(test, size, GFP_KERNEL); in copy_user_test_oob()
|