/lib/ |
D | test_kasan.c | 35 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_right() 51 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_left() 87 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_pagealloc_oob_right() 106 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_large_oob_right() 123 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_more() 142 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_less() 160 ptr1 = kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL); in kmalloc_oob_16() 161 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_oob_16() 179 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_2() 195 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_4() [all …]
|
D | test-string_helpers.c | 67 char *in = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() 68 char *out_test = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() 69 char *out_real = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() 280 char *out_test = kmalloc(out_size, GFP_KERNEL); in test_string_escape() 281 char *out_real = kmalloc(out_size, GFP_KERNEL); in test_string_escape() 282 char *in = kmalloc(256, GFP_KERNEL); in test_string_escape()
|
D | parser.c | 136 buf = kmalloc(len + 1, GFP_KERNEL); in match_number() 284 char *p = kmalloc(sz, GFP_KERNEL); in match_strdup()
|
D | argv_split.c | 71 argv = kmalloc(sizeof(*argv) * (argc + 2), gfp); in argv_split()
|
D | once.c | 25 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump()
|
D | string_helpers.c | 558 dst = kmalloc(dlen + 1, gfp); in kstrdup_quotable() 579 buffer = kmalloc(PAGE_SIZE, GFP_TEMPORARY); in kstrdup_quotable_cmdline() 615 temp = kmalloc(PATH_MAX + 11, GFP_TEMPORARY); in kstrdup_quotable_file()
|
D | decompress_unxz.c | 153 #undef kmalloc 157 #define kmalloc(size, flags) malloc(size) macro
|
D | test_user_copy.c | 45 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init()
|
D | sort.c | 118 a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
|
D | test_printf.c | 448 cmp_buffer = kmalloc(BUF_SIZE, GFP_KERNEL); in flags() 489 alloced_buffer = kmalloc(BUF_SIZE + 2*PAD_SIZE, GFP_KERNEL); in test_printf_init()
|
D | flex_array.c | 170 part = kmalloc(sizeof(struct flex_array_part), flags); in __fa_get_part()
|
D | list_sort.c | 228 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
|
D | kobject.c | 474 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 540 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
|
D | scatterlist.c | 180 return kmalloc(nents * sizeof(struct scatterlist), gfp_mask); in sg_kmalloc()
|
D | kfifo.c | 57 fifo->data = kmalloc(size * esize, gfp_mask); in __kfifo_alloc()
|
D | inflate.c | 272 #define malloc(a) kmalloc(a, GFP_KERNEL)
|
D | idr.c | 906 bitmap = kmalloc(sizeof(struct ida_bitmap), gfp_mask); in ida_pre_get()
|
D | Kconfig.debug | 429 properly. This can make kmalloc/kfree-intensive workloads 476 memory. This can make kmalloc/kfree-intensive workloads much slower. 1625 bool "Fault-injection capability for kmalloc" 1629 Provide fault-injection capability for kmalloc.
|
/lib/mpi/ |
D | mpiutil.c | 34 a = kmalloc(sizeof *a, GFP_KERNEL); in mpi_alloc() 64 return kmalloc(len, GFP_KERNEL); in mpi_alloc_limb_space() 94 p = kmalloc(nlimbs * sizeof(mpi_limb_t), GFP_KERNEL); in mpi_resize()
|
D | mpicoder.c | 217 buf = kmalloc(n, GFP_KERNEL); in mpi_get_buffer()
|
/lib/zlib_inflate/ |
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/reed_solomon/ |
D | reed_solomon.c | 73 rs = kmalloc(sizeof (struct rs_control), GFP_KERNEL); in rs_init() 88 rs->alpha_to = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); in rs_init() 92 rs->index_of = kmalloc(sizeof(uint16_t) * (rs->nn + 1), GFP_KERNEL); in rs_init() 96 rs->genpoly = kmalloc(sizeof(uint16_t) * (rs->nroots + 1), GFP_KERNEL); in rs_init()
|
/lib/xz/ |
D | xz_dec_bcj.c | 529 struct xz_dec_bcj *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_bcj_create()
|
D | xz_dec_stream.c | 772 struct xz_dec *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_init()
|
D | xz_dec_lzma2.c | 1111 struct xz_dec_lzma2 *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_lzma2_create()
|