Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 25 of 31) sorted by relevance

12

/lib/
Dtest_kasan.c35 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()
143 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_less()
161 ptr1 = kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL); in kmalloc_oob_16()
162 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_oob_16()
180 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_2()
196 ptr = kmalloc(size, GFP_KERNEL); in kmalloc_oob_memset_4()
[all …]
Dtest-string_helpers.c67 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()
Dinterval_tree_test.c67 nodes = kmalloc(nnodes * sizeof(struct interval_tree_node), GFP_KERNEL); in interval_tree_test_init()
71 queries = kmalloc(nsearches * sizeof(int), GFP_KERNEL); in interval_tree_test_init()
Dparser.c136 buf = kmalloc(len + 1, GFP_KERNEL); in match_number()
284 char *p = kmalloc(sz, GFP_KERNEL); in match_strdup()
Dargv_split.c71 argv = kmalloc(sizeof(*argv) * (argc + 2), gfp); in argv_split()
Donce.c25 w = kmalloc(sizeof(*w), GFP_ATOMIC); in once_disable_jump()
Ddecompress_unxz.c153 #undef kmalloc
157 #define kmalloc(size, flags) malloc(size) macro
Dtest_user_copy.c45 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init()
Dsort.c118 a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
Dflex_array.c170 part = kmalloc(sizeof(struct flex_array_part), flags); in __fa_get_part()
Dtest_printf.c340 test_buffer = kmalloc(BUF_SIZE, GFP_KERNEL); in test_printf_init()
Dlist_sort.c228 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
Drbtree_test.c187 nodes = kmalloc(nnodes * sizeof(*nodes), GFP_KERNEL); in rbtree_test_init()
Dkobject.c472 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
538 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
Dscatterlist.c180 return kmalloc(nents * sizeof(struct scatterlist), gfp_mask); in sg_kmalloc()
Dkfifo.c57 fifo->data = kmalloc(size * esize, gfp_mask); in __kfifo_alloc()
Drhashtable.c523 iter->walker = kmalloc(sizeof(*iter->walker), GFP_KERNEL); in rhashtable_walk_init()
Dinflate.c272 #define malloc(a) kmalloc(a, GFP_KERNEL)
Ddynamic_debug.c663 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in ddebug_proc_write()
/lib/mpi/
Dmpiutil.c34 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()
Dmpicoder.c242 buf = kmalloc(n, GFP_KERNEL); in mpi_get_buffer()
/lib/zlib_inflate/
Dinfutil.c17 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/
Dreed_solomon.c73 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/
Dxz_dec_bcj.c529 struct xz_dec_bcj *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_bcj_create()
Dxz_dec_stream.c772 struct xz_dec *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_init()

12