Searched refs:kunit_kmalloc (Results 1 – 12 of 12) sorted by relevance
/linux/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() 679 char *buff_off = kunit_kmalloc(test, PAGE_SIZE, GFP_KERNEL); in iio_rescale_test_offset()
|
/linux/lib/ |
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()
|
/linux/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/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/include/kunit/ |
H A D | test.h | 445 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() function 467 return kunit_kmalloc(test, size, gfp | __GFP_ZERO); in kunit_kzalloc() 513 buf = kunit_kmalloc(test, len, gfp); in kunit_kstrdup()
|
/linux/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/lib/kunit/ |
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/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/mm/kasan/ |
H A D | kasan_test_c.c | 2006 kmem = kunit_kmalloc(test, size, GFP_KERNEL); in copy_user_test_oob()
|