/lib/zlib_inflate/ |
A D | infutil.c | 17 strm = kmalloc(sizeof(*strm), GFP_KERNEL); in zlib_inflate_blob() 20 strm->workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL); in zlib_inflate_blob()
|
/lib/crypto/mpi/ |
A D | mpiutil.c | 36 a = kmalloc(sizeof *a, GFP_KERNEL); in mpi_alloc() 66 return kmalloc(len, GFP_KERNEL); in mpi_alloc_limb_space()
|
A D | mpicoder.c | 218 buf = kmalloc(n, GFP_KERNEL); in mpi_get_buffer()
|
/lib/ |
A D | test_memcat_p.c | 36 in0[i] = kmalloc(sizeof(**in0), GFP_KERNEL); in test_memcat_p_init() 40 in1[i] = kmalloc(sizeof(**in1), GFP_KERNEL); in test_memcat_p_init()
|
A D | test_meminit.c | 109 buf = kmalloc(size, GFP_KERNEL); in do_kmalloc_size() 115 buf = kmalloc(size, GFP_KERNEL); in do_kmalloc_size() 264 buf_copy = kmalloc(size, GFP_ATOMIC); in do_kmem_cache_size() 307 buf_contents = kmalloc(size, GFP_KERNEL); in do_kmem_cache_rcu_persistent()
|
A D | test_objpool.c | 41 struct ot_mem_stat kmalloc; member 90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc() 98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree() 108 alloc = atomic_long_read(&test->data.kmalloc.alloc); in ot_mem_report() 109 free = atomic_long_read(&test->data.kmalloc.free); in ot_mem_report()
|
A D | decompress_unxz.c | 160 #undef kmalloc 164 #define kmalloc(size, flags) malloc(size) macro
|
A D | once.c | 29 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump()
|
A D | string_helpers.c | 663 dst = kmalloc(dlen + 1, gfp); in kstrdup_quotable() 684 buffer = kmalloc(PAGE_SIZE, GFP_KERNEL); in kstrdup_quotable_cmdline() 720 temp = kmalloc(PATH_MAX + 11, GFP_KERNEL); in kstrdup_quotable_file()
|
A D | Kconfig.kasan | 210 In Generic KASAN, each kmalloc-8 and kmalloc-16 object will add 211 16 bytes of additional memory consumption, and each kmalloc-32
|
A D | lwq.c | 113 t = kmalloc(sizeof(*t), GFP_KERNEL); in lwq_test()
|
A D | error-inject.c | 83 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_error_injection_list()
|
A D | ref_tracker.c | 77 stats = kmalloc(struct_size(stats, stacks, limit), in ref_tracker_get_stats() 162 sbuf = kmalloc(STACK_BUF_SIZE, GFP_NOWAIT | __GFP_NOWARN); in __ref_tracker_dir_pr_ostream()
|
A D | kobject.c | 495 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 561 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
|
A D | codetag.c | 196 cmod = kmalloc(sizeof(*cmod), GFP_KERNEL); in codetag_module_init()
|
A D | test_bitmap.c | 532 unsigned long *bmap = kmalloc(PAGE_SIZE, GFP_KERNEL); in test_bitmap_printlist() 533 char *buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in test_bitmap_printlist()
|
/lib/kunit/ |
A D | static_stub.c | 114 ctx = kmalloc(sizeof(*ctx), GFP_KERNEL); in __kunit_activate_static_stub()
|
A D | string-stream.c | 25 frag->fragment = kmalloc(len, gfp); in alloc_string_stream_fragment()
|
A D | assert.c | 104 buffer = kmalloc(len+1, GFP_KERNEL); in is_literal()
|
/lib/math/ |
A D | prime_numbers.c | 137 new = kmalloc(sizeof(*new) + bitmap_size(sz), in expand_to_next_prime()
|
/lib/tests/ |
A D | string_helpers_kunit.c | 575 dst = kmalloc(len, GFP_KERNEL); in test_upper_lower() 587 dst = kmalloc(len, GFP_KERNEL); in test_upper_lower()
|
A D | fortify_kunit.c | 224 checker(expected_size, kmalloc(alloc_size, gfp), \ 255 orig = kmalloc(alloc_size, gfp); \ 260 orig = kmalloc(alloc_size, gfp); \ 265 orig = kmalloc(alloc_size, gfp); \ 277 DEFINE_ALLOC_SIZE_TEST_PAIR(kmalloc)
|
A D | scanf_kunit.c | 783 test_buffer = kmalloc(BUF_SIZE, GFP_KERNEL); in scanf_suite_init() 787 fmt_buffer = kmalloc(BUF_SIZE, GFP_KERNEL); in scanf_suite_init()
|
/lib/xz/ |
A D | xz_dec_lzma2.c | 1141 struct xz_dec_lzma2 *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_lzma2_create() 1299 s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_microlzma_alloc()
|
A D | xz_dec_bcj.c | 686 struct xz_dec_bcj *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_bcj_create()
|