Home
last modified time | relevance | path

Searched refs:zalloc (Results 1 – 25 of 137) sorted by relevance

123456

/linux/tools/lib/perf/
H A DBuild7 libperf-y += zalloc.o
11 $(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
H A Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
/linux/tools/perf/ui/gtk/
H A DBuild10 gtk-y += zalloc.o
12 $(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
/linux/arch/xtensa/boot/lib/
H A Dzmem.c14 static void *zalloc(unsigned int size) in zalloc() function
63 s.workspace = zalloc(zlib_inflate_workspacesize()); in gunzip()
/linux/tools/perf/util/
H A Dsample.c36 sample->user_regs = zalloc(sizeof(*sample->user_regs)); in perf_sample__user_regs()
47 sample->intr_regs = zalloc(sizeof(*sample->intr_regs)); in perf_sample__intr_regs()
H A Dcall-path.c30 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
62 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new()
H A Dbpf-trace-summary.c179 data = zalloc(sizeof(*data)); in update_thread_stats()
243 data = zalloc(sizeof(*data)); in update_total_stats()
247 data->nodes = zalloc(sizeof(*data->nodes)); in update_total_stats()
315 data = zalloc(sizeof(*data)); in update_cgroup_stats()
H A Dsrcline.c42 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
61 ilist = zalloc(sizeof(*ilist)); in inline_list__append_tail()
239 node = zalloc(sizeof(*node)); in addr2inlines()
370 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
H A Dbpf-event.c237 rodata = zalloc(map_info.value_size); in bpf_metadata_read_map_data()
348 metadata = zalloc(sizeof(struct bpf_metadata)); in bpf_metadata_alloc()
352 metadata->prog_names = zalloc(nr_prog_tags * sizeof(char *)); in bpf_metadata_alloc()
358 metadata->prog_names[prog_index] = zalloc(BPF_PROG_NAME_LEN); in bpf_metadata_alloc()
368 metadata->event = zalloc(event_size); in bpf_metadata_alloc()
424 event = zalloc(event_size + machine->id_hdr_size); in synthesize_perf_record_bpf_metadata()
H A Dconfig.c653 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section()
673 struct perf_config_item *item = zalloc(sizeof(*item)); in add_config_item()
790 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__new()
802 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__load_file()
H A Dmem-info.c29 RC_STRUCT(mem_info) *mi = zalloc(sizeof(*mi)); in mem_info__new()
H A Dstrfilter.c70 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc()
162 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
H A Dprobe-finder.c58 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
143 tvar->value = zalloc(ret + 2); in convert_variable_location()
264 *ref_ptr = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_type()
352 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
383 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
1308 args = zalloc(sizeof(struct perf_probe_arg) * MAX_PROBE_ARGS); in add_probe_trace_event()
1319 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event()
1396 *tevs = zalloc(sizeof(struct probe_trace_event) * tf.max_tevs); in debuginfo__find_trace_events()
1569 *vls = zalloc(sizeof(struct variable_list) * af.max_vls); in debuginfo__find_available_vars_at()
/linux/tools/perf/util/perf-regs-arch/
H A Dperf_regs_aarch64.c73 *new_op = zalloc(new_len); in __perf_sdt_arg_parse_op_arm64()
89 *new_op = zalloc(new_len); in __perf_sdt_arg_parse_op_arm64()
H A Dperf_regs_powerpc.c96 *new_op = zalloc(new_len); in __perf_sdt_arg_parse_op_powerpc()
113 *new_op = zalloc(new_len); in __perf_sdt_arg_parse_op_powerpc()
/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c30 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()
82 hisi_ptt_pmus = zalloc(sizeof(struct perf_pmu *) * (*nr_ptts)); in find_all_hisi_ptt_pmus()
/linux/tools/include/linux/
H A Dzalloc.h7 void *zalloc(size_t size);
/linux/tools/lib/
H A Dzalloc.c6 void *zalloc(size_t size) in zalloc() function
/linux/tools/virtio/virtio-trace/
H A Dtrace-agent.c53 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
115 buf = zalloc(PATH_MAX); in make_path()
H A Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
/linux/tools/perf/util/annotate-arch/
H A Dannotate-arc.c9 struct arch *arch = zalloc(sizeof(*arch)); in arch__new_arc()
H A Dannotate-riscv64.c31 struct arch *arch = zalloc(sizeof(*arch)); in arch__new_riscv64()
H A Dannotate-mips.c43 struct arch *arch = zalloc(sizeof(*arch)); in arch__new_mips()
H A Dannotate-csky.c46 struct arch *arch = zalloc(sizeof(*arch)); in arch__new_csky()
/linux/tools/bpf/resolve_btfids/
H A DBuild5 resolve_btfids-y += zalloc.o

123456