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

<<11121314151617

/linux-master/tools/perf/util/
H A Ddata-convert-bt.c965 new_name = malloc(len);
1198 priv = malloc(sizeof(*priv));
H A Dauxtrace.c274 p = malloc(size);
834 auxtrace_index = malloc(sizeof(struct auxtrace_index));
2034 return malloc(c->entry_size);
H A Dhist.c445 he->stat_acc = malloc(sizeof(he->stat));
462 he->branch_info = malloc(sizeof(*he->branch_info));
1043 he_cache = malloc(sizeof(*he_cache) * (cursor->nr + 1));
H A Dsymbol-elf.c1951 char *buf = malloc(page_size);
2472 buf_from = malloc(page_size);
2473 buf_to = malloc(page_size);
H A Dcallchain.c259 buf = malloc(strlen(arg) + 1);
1562 new = malloc(sizeof(*new));
H A Dheader.c260 buf = malloc(len);
1947 buf = malloc(sz);
3167 info_linear = malloc(sizeof(struct perf_bpil) +
3184 info_node = malloc(sizeof(struct bpf_prog_info_node));
3228 node = malloc(sizeof(struct btf_node) + data_size);
H A Dmachine.c136 struct machine *machine = malloc(sizeof(*machine));
237 struct machine *pos, *machine = malloc(sizeof(*machine));
2507 return malloc(sizeof(struct stitch_list));
3069 struct thread_list *entry = malloc(sizeof(*entry));
H A Dsrcline.c187 syms = malloc(storage);
H A Dcs-etm.c511 tidq->event_buf = malloc(PERF_SAMPLE_MAX_SIZE);
551 tidq = malloc(sizeof(*tidq));
H A Dparse-events.c1570 list = malloc(sizeof(struct list_head));
1641 /* list_event is assumed to point to malloc'ed memory */
2504 term = malloc(sizeof(*term));
/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/perf/
H A Dbuiltin-script.c2877 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1);
3349 buf = malloc(3 * MAXPATHLEN + BUFSIZ);
3351 pr_err("malloc failed\n");
3639 char **__argv = malloc(sizeof(const char *) * argc);
3642 pr_err("malloc failed\n");
4167 __argv = malloc((argc + 6) * sizeof(const char *));
4169 pr_err("malloc failed\n");
4193 __argv = malloc((argc + 4) * sizeof(const char *));
4195 pr_err("malloc failed\n");
4231 __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/perf/util/scripting-engines/
H A Dtrace-event-python.c774 char *bf = malloc(size);
1933 command_line = malloc((argc + 1) * sizeof(const char *));
1942 command_line = malloc((argc + 1) * sizeof(wchar_t *));
/linux-master/tools/testing/selftests/net/
H A Dpsock_tpacket.c698 ring->rd = malloc(ring->rd_len);
700 perror("malloc");
/linux-master/tools/lib/subcmd/
H A Dparse-options.c817 ordered = malloc(len);
/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/perf/ui/
H A Dhist.c841 node = malloc(sizeof(*node));
/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.c359 args->copy = malloc(args->paging_size);

Completed in 359 milliseconds

<<11121314151617