Searched refs:malloc (Results 326 - 350 of 405) sorted by relevance

<<11121314151617

/linux-master/tools/testing/selftests/net/
H A Dreuseport_bpf.c49 addr = malloc(sizeof(struct sockaddr_storage));
H A Dioam6_parser.c626 iov.iov_base = malloc(CMSG_SPACE(sizeof(buffer)));
H A Dcmsg_sender.c448 buf = malloc(opt.size);
/linux-master/arch/x86/boot/compressed/
H A Dkaslr.c266 tmp_cmdline = malloc(len + 1);
/linux-master/tools/testing/selftests/alsa/
H A Dpcm-test.c318 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8);
/linux-master/tools/perf/util/
H A Dsvghelper.c792 topology_map = malloc(sizeof(int) * nr_cpus);
H A Dtrace-event-info.c605 tdata = malloc(sizeof(*tdata));
H A Ddlfilter.c422 struct dlfilter *d = malloc(sizeof(*d));
H A Dstat.c352 key = malloc(sizeof(*key));
H A Denv.c540 env->numa_map = malloc(nr * sizeof(int));
H A Dcpumap.c175 struct cpu_aggr_map *cpus = malloc(sizeof(*cpus) + sizeof(struct aggr_cpu_id) * nr);
H A Dmap.c127 map = malloc(sizeof(*map));
H A Dmem-events.c147 buf = malloc(strlen(str) + 1);
H A Dunwind-libunwind-local.c390 char *debuglink = malloc(PATH_MAX);
/linux-master/arch/mips/boot/
H A Delf2ecoff.c142 if (!(tmp = (char *) malloc(len))) {
/linux-master/scripts/
H A Drecordmcount.c153 void *const addr = malloc(size);
155 fprintf(stderr, "malloc failed: %zu bytes\n", size);
165 * malloc+lseek+read+free of many pieces. If successful, then mmap
/linux-master/tools/perf/
H A Dbuiltin-inject.c326 inject->event_copy = malloc(PERF_SAMPLE_MAX_SIZE);
811 ent = malloc(event->header.size + sizeof(struct event_entry));
1384 buf = malloc(PERF_SAMPLE_MAX_SIZE);
1899 void *buf = malloc(sz);
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c492 command_line = malloc((argc + 2) * sizeof(const char *));
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c330 re = malloc(sizeof(regex_t));
H A Dkprobe_multi_test.c573 addrs = malloc(max_cnt * sizeof(long));
/linux-master/scripts/kconfig/lxdialog/
H A Dutil.c578 struct dialog_list *p = malloc(sizeof(*p));
/linux-master/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c161 fds = malloc(sizeof(*fds) * nr_listens);
458 log_err("Failed to malloc token");
H A Dxdp_hw_metadata.c676 rx_xsk = malloc(sizeof(struct xsk) * rxq);
678 error(1, ENOMEM, "malloc");
/linux-master/tools/testing/selftests/x86/
H A Damx.c782 finfo = malloc(sizeof(*finfo) * ctxtswtest_config.num_threads);
784 fatal_error("malloc()");
/linux-master/tools/tracing/latency/
H A Dlatency-collector.c241 void *ptr = malloc(size);
244 warn("malloc() failed");
252 void *ptr = malloc(size);
255 err(0, "malloc() failed");

Completed in 382 milliseconds

<<11121314151617