Searched refs:kmalloc (Results 1 – 22 of 22) sorted by relevance
/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 | 150 p = buffer = 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/ |
D | parser.c | 135 buf = kmalloc(len + 1, GFP_KERNEL); in match_number() 228 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 | decompress_unxz.c | 153 #undef kmalloc 157 #define kmalloc(size, flags) malloc(size) macro
|
D | prio_heap.c | 12 heap->ptrs = kmalloc(size, gfp_mask); in heap_init()
|
D | sort.c | 99 a = kmalloc(1000 * sizeof(int), GFP_KERNEL);
|
D | list_sort.c | 217 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test() 225 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
|
D | flex_array.c | 165 part = kmalloc(sizeof(struct flex_array_part), flags); in __fa_get_part()
|
D | kobject.c | 416 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_rename() 481 devpath_string = kmalloc(strlen(devpath) + 15, GFP_KERNEL); in kobject_move()
|
D | scatterlist.c | 152 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 | dynamic_debug.c | 665 tmpbuf = kmalloc(len + 1, GFP_KERNEL); in ddebug_proc_write()
|
D | idr.c | 925 bitmap = kmalloc(sizeof(struct ida_bitmap), gfp_mask); in ida_pre_get()
|
D | Kconfig.debug | 385 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.
|
D | bch.c | 1155 ptr = kmalloc(size, GFP_KERNEL); in bch_alloc()
|
/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 | 1107 struct xz_dec_lzma2 *s = kmalloc(sizeof(*s), GFP_KERNEL); in xz_dec_lzma2_create()
|