Home
last modified time | relevance | path

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

1234

/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 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 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 Dcounts.c12 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
H A Dsrcline.c57 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
312 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
474 struct child_process *a2l = zalloc(sizeof(*a2l)); in addr2line_subprocess_init()
856 node = zalloc(sizeof(*node)); in addr2inlines()
984 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
H A Dintel-tpebs.c87 tpebs_cmd = zalloc(sizeof(struct child_process)); in prepare_run_command()
254 new = zalloc(sizeof(*new)); in tpebs_start()
H A Dpstack.c23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
H A Dzlib.c25 .zalloc = Z_NULL, in gzip_decompress_to_file()
H A Dvalues.c7 #include <linux/zalloc.h>
18 values->value = zalloc(values->threads_max * sizeof(*values->value)); in perf_read_values_init()
99 values->value[i] = zalloc(values->counters_max * sizeof(**values->value)); in perf_read_values__findnew_thread()
/linux/tools/perf/arch/arm64/util/
H A Dperf_regs.c109 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
125 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/linux/tools/perf/arch/arm/util/
H A Dauxtrace.c29 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()
81 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/bpf/resolve_btfids/
H A DBuild5 resolve_btfids-y += zalloc.o
/linux/tools/perf/arch/powerpc/util/
H A Dperf_regs.c5 #include <linux/zalloc.h>
158 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
175 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/linux/tools/perf/
H A DMANIFEST26 tools/lib/zalloc.c
H A Dbuiltin-help.c20 #include <linux/zalloc.h>
198 *p = zalloc(sizeof(**p) + len + 1); in add_man_viewer()
213 struct man_viewer_info_list *new = zalloc(sizeof(*new) + len + 1); in do_add_man_viewer_info()
/linux/tools/perf/arch/s390/util/
H A Dauxtrace.c110 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
/linux/tools/perf/bench/
H A Dmem-functions.c123 void *src = NULL, *dst = zalloc(size); in __bench_mem_function()
131 src = zalloc(size); in __bench_mem_function()

1234