| /linux-6.15/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-6.15/lib/tests/ |
| H A D | usercopy_kunit.c | 114 umem_src = kunit_kmalloc(test, size, GFP_KERNEL); in usercopy_test_copy_struct_from_user() 117 expected = kunit_kmalloc(test, size, GFP_KERNEL); in usercopy_test_copy_struct_from_user() 303 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 | 640 cmp_buffer = kunit_kmalloc(kunittest, BUF_SIZE, GFP_KERNEL); in flags()
|
| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_wmfw.c | 114 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(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() 874 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_not_started() 935 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_stopped() 1001 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_powered_down() 1064 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_stopped_powered_down() 1132 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_not_current_loaded_fw() 1200 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_read_not_current_running_fw() 1435 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_writethrough() 1498 reg_vals = kunit_kmalloc(test, param->len_bytes, GFP_KERNEL); in cs_dsp_ctl_cache_writethrough_unchanged() [all …]
|
| H A D | cs_dsp_test_bin_error.c | 57 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 | 69 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 | 1987 payload = kunit_kmalloc(test, sizeof(*payload), GFP_KERNEL); in bin_patch_mixed_packed_unpacked_random()
|
| /linux-6.15/drivers/of/ |
| H A D | of_kunit_helpers.c | 54 copy_id = kunit_kmalloc(test, sizeof(*copy_id), GFP_KERNEL); in of_overlay_fdt_apply_kunit()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/tests/ |
| H A D | devinfo.c | 49 dev = kunit_kmalloc(test, sizeof(*dev), GFP_KERNEL); in devinfo_pci_ids()
|
| /linux-6.15/include/kunit/ |
| H A D | test.h | 447 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function 469 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc() 515 buf = kunit_kmalloc(test, len, gfp); in kunit_kstrdup()
|
| /linux-6.15/security/apparmor/ |
| H A D | policy_unpack_test.c | 63 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 116 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
|
| /linux-6.15/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 | test.c | 49 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
|
| H A D | kunit-test.c | 92 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
|
| /linux-6.15/drivers/base/regmap/ |
| H A D | regmap-kunit.c | 856 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-6.15/mm/kasan/ |
| H A D | kasan_test_c.c | 2023 kmem = kunit_kmalloc(test, size, GFP_KERNEL); in copy_user_test_oob()
|