Home
last modified time | relevance | path

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

/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.c150 p = buffer = 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/
Dparser.c135 buf = kmalloc(len + 1, GFP_KERNEL); in match_number()
228 char *p = kmalloc(sz, GFP_KERNEL); in match_strdup()
Dargv_split.c71 argv = kmalloc(sizeof(*argv) * (argc + 2), gfp); in argv_split()
Ddecompress_unxz.c153 #undef kmalloc
157 #define kmalloc(size, flags) malloc(size) macro
Dprio_heap.c12 heap->ptrs = kmalloc(size, gfp_mask); in heap_init()
Dsort.c99 a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
Dlist_sort.c217 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test()
225 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
Dflex_array.c165 part = kmalloc(sizeof(struct flex_array_part), flags); in __fa_get_part()
Dkobject.c416 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename()
481 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
Dscatterlist.c152 return kmalloc(nents * sizeof(struct scatterlist), gfp_mask); in sg_kmalloc()
Dkfifo.c57 fifo->data = kmalloc(size * esize, gfp_mask); in __kfifo_alloc()
Dinflate.c272 #define malloc(a) kmalloc(a, GFP_KERNEL)
Ddynamic_debug.c665 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in ddebug_proc_write()
Didr.c925 bitmap = kmalloc(sizeof(struct ida_bitmap), gfp_mask); in ida_pre_get()
DKconfig.debug385 properly. This can make kmalloc/kfree-intensive workloads
432 memory. This can make kmalloc/kfree-intensive workloads much slower.
1237 bool "Fault-injection capability for kmalloc"
1241 Provide fault-injection capability for kmalloc.
Dbch.c1155 ptr = kmalloc(size, GFP_KERNEL); in bch_alloc()
/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()
Dxz_dec_lzma2.c1107 struct xz_dec_lzma2 *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_lzma2_create()