Searched refs:malloc (Results 301 - 325 of 405) sorted by relevance

<<11121314151617

/linux-master/tools/perf/tests/
H A Dswitch-tracking.c221 node = malloc(sizeof(struct event_node));
223 pr_debug("malloc failed\n");
/linux-master/tools/perf/util/
H A Dmmap.c128 map->aio.data[idx] = malloc(mmap__mmap_len(map));
H A Dthread.c59 comm_str = malloc(32);
H A Dsymbol.c73 return malloc(sizeof(struct map_list_node));
453 result = malloc(sizeof(*result) * size);
1619 symbols = malloc(symbols_size);
1840 name = malloc(PATH_MAX);
2303 vmlinux_path = malloc(sizeof(char *) * (ARRAY_SIZE(vmlinux_paths) +
/linux-master/tools/testing/selftests/bpf/
H A Dtest_progs.c583 val_buf1 = malloc(stack_trace_len);
584 val_buf2 = malloc(stack_trace_len);
949 char *buf = malloc(write_sz);
1199 state->subtest_states = malloc(subtest_num * sizeof(*subtest_state));
/linux-master/tools/testing/vsock/
H A Dvsock_diag_test.c243 st = malloc(sizeof(*st));
245 perror("malloc");
/linux-master/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c136 card_name = malloc(127);
H A Dmixer-test.c77 card_data = malloc(sizeof(*card_data));
113 ctl_data = malloc(sizeof(*ctl_data));
/linux-master/tools/testing/selftests/exec/
H A Dexecveat.c137 char *result = malloc(strlen(left) + strlen(right) + 1);
/linux-master/scripts/kconfig/lxdialog/
H A Dmenubox.c57 char *menu_item = malloc(menu_width + 1);
/linux-master/tools/hv/
H A Dhv_kvp_daemon.c226 syslog(LOG_ERR, "malloc failed");
268 kvp_file_info[i].records = malloc(alloc_unit);
1788 lic_version = malloc(strlen(p) + 1);
1794 syslog(LOG_ERR, "malloc failed");
/linux-master/arch/s390/tools/
H A Drelocs.c229 sec->reltab = malloc(sec->shdr.sh_size);
231 die("malloc of %" FMT " bytes for relocs failed\n", sec->shdr.sh_size);
/linux-master/tools/objtool/
H A Dcheck.c409 WARN("malloc failed");
1758 orig_alt_group = malloc(sizeof(*orig_alt_group));
1760 WARN("malloc failed");
1794 new_alt_group = malloc(sizeof(*new_alt_group));
1796 WARN("malloc failed");
1808 nop = malloc(sizeof(*nop));
1810 WARN("malloc failed");
1994 alt = malloc(sizeof(*alt));
1996 WARN("malloc failed");
2058 alt = malloc(sizeo
[all...]
/linux-master/tools/firewire/
H A Dnosy-dump.c139 sa = malloc(sizeof *sa - sizeof sa->packet + length);
171 t = malloc(sizeof *t);
/linux-master/tools/perf/ui/stdio/
H A Dhist.c99 rem_sq_bracket = malloc(sizeof(*rem_sq_bracket) + 6);
844 line = malloc(linesz);
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c288 cpumask = malloc(mask_size);
1019 entry = malloc(sizeof(*entry) + strlen(str) + 1);
H A Dbuiltin-timechart.c1090 task_from = malloc(40);
1094 task_to = malloc(40);
1315 struct process_filter *filt = malloc(sizeof(*filt));
/linux-master/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c232 data = malloc(sizeof(*data));
233 TEST_ASSERT(data, "malloc(vmdata) failed");
308 data->hva_slots = malloc(sizeof(*data->hva_slots) * data->nslots);
309 TEST_ASSERT(data->hva_slots, "malloc() fail");
/linux-master/tools/lib/bpf/
H A Dbtf.c1046 btf->raw_data = malloc(size);
1266 data = malloc(sz);
1527 ptr = malloc(last_size);
1616 hdr = malloc(btf->hdr->hdr_len);
1617 types = malloc(btf->hdr->type_len);
3013 btf_ext->data = malloc(size);
3413 d->map = malloc(sizeof(__u32) * type_cnt);
3430 d->hypot_map = malloc(sizeof(__u32) * type_cnt);
/linux-master/tools/testing/selftests/net/
H A Dtxtimestamp.c371 data = malloc(cfg_payload_len);
373 error(1, 0, "malloc");
512 buf = malloc(total_len);
514 error(1, 0, "malloc");
H A Dnettest.c1857 m = malloc(olen);
1878 outbuf = malloc(4096);
1879 errbuf = malloc(4096);
/linux-master/tools/bpf/bpftool/
H A Dcommon.c945 fds = malloc(sizeof(int));
1082 fds = malloc(sizeof(int));
/linux-master/tools/perf/bench/
H A Dnuma.c20 #include <malloc.h>
930 node_present = (char *)malloc(g->p.nr_nodes * sizeof(char));
1040 nodes = (int *)malloc(g->p.nr_nodes * sizeof(int));
/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()");

Completed in 322 milliseconds

<<11121314151617