Home
last modified time | relevance | path

Searched refs:kunit_kmalloc (Results 1 – 9 of 9) 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/include/kunit/
H A Dtest.h499 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 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 Dkunit-test.c95 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
H A Dtest.c49 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c70 temp = kunit_kmalloc(test, priv->cal_blob->size, GFP_KERNEL); in cs_amp_lib_test_cal_blob_dup()
861 priv->cal_blob = kunit_kmalloc(test, size, GFP_KERNEL); in cs_amp_lib_test_set_efi_variable()
2082 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 Dregmap-kunit.c963 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 Dkasan_test_c.c2157 kmem = kunit_kmalloc(test, size, GFP_KERNEL); in copy_user_test_oob()