Searched refs:kunit_kmalloc (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.15/drivers/iio/test/ |
D | iio-test-format.c | 17 char *buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_integer() 44 char *buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fixedpoint() 102 char *buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fractional() 139 char *buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_fractional_log2() 176 char *buf = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_test_iio_format_value_multiple()
|
/Linux-v5.15/lib/ |
D | test_list_sort.c | 70 el = kunit_kmalloc(test, sizeof(*el), GFP_KERNEL); in list_sort_test()
|
/Linux-v5.15/lib/kunit/ |
D | assert.c | 103 buffer = kunit_kmalloc(test, len+1, gfp); in is_literal()
|
D | string-stream.c | 32 frag->fragment = kunit_kmalloc(ctx->test, ctx->len, ctx->gfp); in string_stream_fragment_init()
|
D | kunit-test.c | 86 ctx->try_catch = kunit_kmalloc(test, in kunit_try_catch_test_init()
|
D | test.c | 41 buffer = kunit_kmalloc(current->kunit_test, len, GFP_KERNEL); in __kunit_fail_current_test()
|
/Linux-v5.15/security/apparmor/ |
D | policy_unpack_test.c | 60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 114 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
|
/Linux-v5.15/include/kunit/ |
D | test.h | 626 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function 648 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc()
|