Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iio/test/
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()
Diio-test-rescale.c649 char *buff = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_rescale_test_scale()
679 char *buff_off = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_rescale_test_offset()
/linux-6.6.21/lib/
Dtest_list_sort.c70 el = kunit_kmalloc(test, sizeof(*el), GFP_KERNEL); in list_sort_test()
/linux-6.6.21/lib/kunit/
Dstring-stream.c25 frag->fragment = kunit_kmalloc(test, len, gfp); in alloc_string_stream_fragment()
Dassert.c103 buffer = kunit_kmalloc(test, len+1, gfp); in is_literal()
Dkunit-test.c87 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
Dtest.c45 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
/linux-6.6.21/include/kunit/
Dtest.h435 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function
457 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc()
/linux-6.6.21/security/apparmor/
Dpolicy_unpack_test.c63 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()