Searched refs:malloc (Results 26 - 50 of 404) sorted by relevance

1234567891011>>

/linux-master/arch/um/os-Linux/
H A Dumid.c52 uml_dir = malloc(strlen(dir) + 1);
54 printk(UM_KERN_ERR "%s : malloc failed, errno = %d\n",
142 file = malloc(filelen);
216 file = malloc(n);
371 uml_dir = malloc(strlen(name) + 2);
373 os_warn("Failed to malloc uml_dir - error = %d\n", errno);
395 dir = malloc(strlen(uml_dir) + UMID_LEN + 1);
H A Dexecvp.c33 #define um_kmalloc malloc
/linux-master/tools/testing/scatterlist/linux/
H A Dmm.h105 return (unsigned long)malloc(PAGE_SIZE);
115 return malloc(size);
121 return malloc(n * size);
/linux-master/tools/power/cpupower/lib/
H A Dcpufreq.c240 policy = malloc(sizeof(struct cpufreq_policy));
290 current->next = malloc(sizeof(*current));
295 first = malloc(sizeof(*first));
303 current->governor = malloc(i - pos + 1);
367 current->next = malloc(sizeof(*current));
372 first = malloc(sizeof(*first));
423 current->next = malloc(sizeof(*current));
428 first = malloc(sizeof(*first));
498 current->next = malloc(sizeof(*current));
503 first = malloc(sizeo
[all...]
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dlpm_trie_map_batch_ops.c86 keys = malloc(max_entries * sizeof(struct test_lpm_key));
87 values = malloc(max_entries * sizeof(int));
88 visited = malloc(max_entries * sizeof(int));
89 CHECK(!keys || !values || !visited, "malloc()", "error:%s\n",
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_adjust_frags.c26 buf = malloc(128);
51 buf = malloc(9000);
119 buf = malloc(buf_size);
H A Dmap_lookup_percpu_elem.c14 buf = malloc(nr_cpus*sizeof(__u64));
15 if (!ASSERT_OK_PTR(buf, "malloc"))
/linux-master/tools/perf/util/
H A Dtrace-event-read.c138 str = malloc(size);
178 buf = malloc(size + 1);
212 header_page = malloc(size);
251 buf = malloc(size);
277 buf = malloc(size);
355 buf = malloc(size + 1);
H A Dintlist.c18 struct int_node *node = malloc(sizeof(*node));
116 struct intlist *ilist = malloc(sizeof(*ilist));
H A Dtrace-event-scripting.c104 scripting_context = malloc(sizeof(*scripting_context));
170 scripting_context = malloc(sizeof(*scripting_context));
H A Dfncache.c43 struct fncache *n = malloc(sizeof(struct fncache) + strlen(name) + 1);
/linux-master/tools/spi/
H A Dspidev_test.c339 tx = malloc(size);
343 rx = malloc(size);
368 tx = malloc(sb.st_size);
372 rx = malloc(sb.st_size);
409 tx = malloc(len);
415 rx = malloc(len);
/linux-master/tools/objtool/
H A Dobjtool.c27 char *buf, *base, *name = malloc(len+6);
31 perror("failed backup name malloc");
50 buf = malloc(4096);
52 perror("failed backup data malloc");
/linux-master/fs/jffs2/
H A DMakefile9 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
/linux-master/tools/testing/radix-tree/
H A Dregression2.c70 p = malloc(sizeof(struct page));
/linux-master/arch/powerpc/boot/
H A Dof.c66 platform_ops.malloc = of_try_claim;
H A Dops.h26 void * (*malloc)(unsigned long size); member in struct:platform_ops
209 static inline void *malloc(unsigned long size) function
211 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL;
/linux-master/scripts/genksyms/
H A Dgenksyms.h70 #define xmalloc(size) ({ void *__ptr = malloc(size); \
/linux-master/tools/lib/bpf/
H A Dbpf_prog_linfo.c127 prog_linfo->raw_linfo = malloc(data_sz);
147 prog_linfo->raw_jited_linfo = malloc(data_sz);
154 prog_linfo->nr_jited_linfo_per_func = malloc(nr_jited_func *
163 prog_linfo->jited_linfo_func_idx = malloc(nr_jited_func *
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-vmx-unavail.c99 thread = malloc(sizeof(pthread_t)*threads);
/linux-master/tools/testing/selftests/powerpc/copyloops/
H A Dmemmove_validate.c2 #include <malloc.h>
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcr1_sel_unit_cache_test.c32 p = malloc(MALLOC_SIZE);
/linux-master/tools/testing/selftests/proc/
H A Dproc-uptime-002.c59 m = malloc(len);
/linux-master/include/linux/
H A Dzpool.h65 * @malloc: allocate mem from a pool.
85 int (*malloc)(void *pool, size_t size, gfp_t gfp, member in struct:zpool_driver
/linux-master/tools/perf/arch/powerpc/tests/
H A Ddwarf-unwind.c21 buf = malloc(STACK_SIZE);

Completed in 436 milliseconds

1234567891011>>