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

<<11121314151617

/linux-master/tools/testing/selftests/net/
H A Dnettest.c1857 m = malloc(olen);
1878 outbuf = malloc(4096);
1879 errbuf = malloc(4096);
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/lib/
H A Ddecompress_unlzma.c563 inbuf = malloc(LZMA_IOBUF_SIZE);
/linux-master/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c616 queue_path = malloc(strlen(option) + 2);
618 perror("malloc()");
/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 Dtrace-event-info.c605 tdata = malloc(sizeof(*tdata));
H A Denv.c540 env->numa_map = malloc(nr * sizeof(int));
H A Dmap.c127 map = malloc(sizeof(*map));
H A Dmem-events.c149 buf = malloc(strlen(str) + 1);
H A Ddlfilter.c422 struct dlfilter *d = malloc(sizeof(*d));
H A Dcpumap.c175 struct cpu_aggr_map *cpus = malloc(sizeof(*cpus) + sizeof(struct aggr_cpu_id) * nr);
H A Dstat.c352 key = malloc(sizeof(*key));
H A Dsvghelper.c790 topology_map = malloc(sizeof(int) * nr_cpus);
/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/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/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/scripts/kconfig/lxdialog/
H A Dutil.c569 struct dialog_list *p = malloc(sizeof(*p));
/linux-master/tools/perf/
H A Dbuiltin-inject.c326 inject->event_copy = malloc(PERF_SAMPLE_MAX_SIZE);
810 ent = malloc(event->header.size + sizeof(struct event_entry));
1388 buf = malloc(PERF_SAMPLE_MAX_SIZE);
1903 void *buf = malloc(sz);

Completed in 594 milliseconds

<<11121314151617