/linux-master/arch/um/os-Linux/ |
H A D | umid.c | 52 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 D | execvp.c | 33 #define um_kmalloc malloc
|
/linux-master/tools/testing/scatterlist/linux/ |
H A D | mm.h | 105 return (unsigned long)malloc(PAGE_SIZE); 115 return malloc(size); 121 return malloc(n * size);
|
/linux-master/tools/power/cpupower/lib/ |
H A D | cpufreq.c | 240 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 D | lpm_trie_map_batch_ops.c | 86 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 D | xdp_adjust_frags.c | 26 buf = malloc(128); 51 buf = malloc(9000); 119 buf = malloc(buf_size);
|
H A D | map_lookup_percpu_elem.c | 14 buf = malloc(nr_cpus*sizeof(__u64)); 15 if (!ASSERT_OK_PTR(buf, "malloc"))
|
/linux-master/tools/perf/util/ |
H A D | trace-event-read.c | 138 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 D | intlist.c | 18 struct int_node *node = malloc(sizeof(*node)); 116 struct intlist *ilist = malloc(sizeof(*ilist));
|
H A D | trace-event-scripting.c | 104 scripting_context = malloc(sizeof(*scripting_context)); 170 scripting_context = malloc(sizeof(*scripting_context));
|
H A D | fncache.c | 43 struct fncache *n = malloc(sizeof(struct fncache) + strlen(name) + 1);
|
/linux-master/tools/spi/ |
H A D | spidev_test.c | 339 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 D | objtool.c | 27 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 D | Makefile | 9 jffs2-y := compr.o dir.o file.o ioctl.o nodelist.o malloc.o
|
/linux-master/tools/testing/radix-tree/ |
H A D | regression2.c | 70 p = malloc(sizeof(struct page));
|
/linux-master/arch/powerpc/boot/ |
H A D | of.c | 66 platform_ops.malloc = of_try_claim;
|
H A D | ops.h | 26 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 D | genksyms.h | 70 #define xmalloc(size) ({ void *__ptr = malloc(size); \
|
/linux-master/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 127 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 D | tm-vmx-unavail.c | 99 thread = malloc(sizeof(pthread_t)*threads);
|
/linux-master/tools/testing/selftests/powerpc/copyloops/ |
H A D | memmove_validate.c | 2 #include <malloc.h>
|
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | mmcr1_sel_unit_cache_test.c | 32 p = malloc(MALLOC_SIZE);
|
/linux-master/tools/testing/selftests/proc/ |
H A D | proc-uptime-002.c | 59 m = malloc(len);
|
/linux-master/include/linux/ |
H A D | zpool.h | 65 * @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 D | dwarf-unwind.c | 21 buf = malloc(STACK_SIZE);
|