Searched refs:kunit_kmalloc (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/iio/test/ |
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()
|
D | iio-test-rescale.c | 649 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/ |
D | test_list_sort.c | 70 el = kunit_kmalloc(test, sizeof(*el), GFP_KERNEL); in list_sort_test()
|
/linux-6.6.21/lib/kunit/ |
D | string-stream.c | 25 frag->fragment = kunit_kmalloc(test, len, gfp); in alloc_string_stream_fragment()
|
D | assert.c | 103 buffer = kunit_kmalloc(test, len+1, gfp); in is_literal()
|
D | kunit-test.c | 87 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
|
D | test.c | 45 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test_impl()
|
/linux-6.6.21/include/kunit/ |
D | test.h | 435 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/ |
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()
|