Searched refs:malloc (Results 351 - 375 of 410) sorted by relevance

<<11121314151617

/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c492 command_line = malloc((argc + 2) * sizeof(const char *));
H A Dtrace-event-python.c780 char *bf = malloc(size);
1942 command_line = malloc((argc + 1) * sizeof(const char *));
1951 command_line = malloc((argc + 1) * sizeof(wchar_t *));
/linux-master/tools/perf/util/
H A Dunwind-libunwind-local.c390 char *debuglink = malloc(PATH_MAX);
H A Ddata-convert-bt.c965 new_name = malloc(len);
1198 priv = malloc(sizeof(*priv));
H A Ddwarf-aux.c1604 vt = malloc(sizeof(*vt));
1666 vt = malloc(sizeof(*vt));
H A Dhist.c451 he->stat_acc = malloc(sizeof(he->stat));
468 he->branch_info = malloc(sizeof(*he->branch_info));
1041 he_cache = malloc(sizeof(*he_cache) * (cursor->nr + 1));
H A Dauxtrace.c279 p = malloc(size);
839 auxtrace_index = malloc(sizeof(struct auxtrace_index));
2041 return malloc(c->entry_size);
H A Dsymbol-elf.c1950 char *buf = malloc(page_size);
2471 buf_from = malloc(page_size);
2472 buf_to = malloc(page_size);
H A Dparse-events.c1588 list = malloc(sizeof(struct list_head));
1650 *listp = malloc(sizeof(**listp));
2506 term = malloc(sizeof(*term));
H A Dannotate-data.c498 stack = malloc(sizeof(*stack));
559 gvar = malloc(sizeof(*gvar));
H A Ddisasm.c1497 buf = malloc(len);
1611 new_line = malloc(new_storage_len);
H A Dcallchain.c259 buf = malloc(strlen(arg) + 1);
1562 new = malloc(sizeof(*new));
/linux-master/tools/testing/selftests/mm/
H A Dprotection_keys.c13 * prefault pages in at malloc, or not
659 dprintf3("filling malloc record[%d/%p]: {%p, %ld}\n",
1384 int *plain_ptr_unaligned = malloc(HPAGE_SIZE);
1593 xsave = (void *)malloc(xsave_size);
/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");
/linux-master/tools/perf/
H A Dbuiltin-script.c2915 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1);
3387 buf = malloc(3 * MAXPATHLEN + BUFSIZ);
3389 pr_err("malloc failed\n");
3677 char **__argv = malloc(sizeof(const char *) * argc);
3680 pr_err("malloc failed\n");
4205 __argv = malloc((argc + 6) * sizeof(const char *));
4207 pr_err("malloc failed\n");
4231 __argv = malloc((argc + 4) * sizeof(const char *));
4233 pr_err("malloc failed\n");
4269 __argv = malloc((arg
[all...]
H A Dbuiltin-kmem.c111 data = malloc(sizeof(*data));
113 pr_err("%s: malloc failed\n", __func__);
156 data = malloc(sizeof(*data));
158 pr_err("%s: malloc failed\n", __func__);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c4252 raw_btf = malloc(size_needed);
4499 user_btf = malloc(raw_btf_size);
4582 user_btf[i] = malloc(raw_btf_size);
4710 user_btf = malloc(raw_btf_size);
4870 func_info = malloc(info.nr_func_info * rec_size);
6467 new_u32 = malloc(raw_u32_size);
6522 func_info = malloc(info.nr_func_info * rec_size);
H A Dsockopt.c1144 optval = malloc(test->get_optlen);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c1061 self->prog.filter = malloc(sizeof(filter));
1209 self->_x.filter = malloc(sizeof(_x##_insns)); \
1676 self->prog.filter = malloc(sizeof(filter));
2565 self->root_prog.filter = malloc(sizeof(root_filter));
2570 self->apply_prog.filter = malloc(sizeof(apply_filter));
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c698 ring->rd = malloc(ring->rd_len);
700 perror("malloc");
/linux-master/tools/testing/selftests/wireguard/qemu/
H A DMakefile405 cd $(BASH_PATH) && ./configure --prefix=/ $(CROSS_COMPILE_FLAG) --without-bash-malloc --disable-debugger --disable-help-builtin --disable-history --disable-progcomp --disable-readline --disable-mem-scramble
/linux-master/tools/net/ynl/lib/
H A Dynl.c668 ys = malloc(sizeof(*ys) + 2 * YNL_SOCKET_BUFFER_SIZE);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c58 node = malloc(sizeof(*node) + n);
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c649 buffer = malloc(4096);
652 err(-ENOMEM, "buffer malloc fail");
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c358 args->copy = malloc(args->paging_size);

Completed in 532 milliseconds

<<11121314151617