Home
last modified time | relevance | path

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

1234

/Linux-v4.19/arch/xtensa/boot/lib/
Dzmem.c13 void *zalloc(unsigned size) in zalloc() function
62 s.workspace = zalloc(zlib_inflate_workspacesize()); in gunzip()
/Linux-v4.19/tools/perf/util/
Dcs-etm.c123 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__dump_event()
301 etmq = zalloc(sizeof(*etmq)); in cs_etm__alloc_queue()
305 etmq->packet = zalloc(szp); in cs_etm__alloc_queue()
310 etmq->prev_packet = zalloc(szp); in cs_etm__alloc_queue()
320 etmq->last_branch = zalloc(sz); in cs_etm__alloc_queue()
323 etmq->last_branch_rb = zalloc(sz); in cs_etm__alloc_queue()
339 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__alloc_queue()
1286 hdr = zalloc(sizeof(*hdr) * CS_HEADER_VERSION_0_MAX); in cs_etm__process_auxtrace_info()
1308 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info()
1322 metadata[j] = zalloc(sizeof(*metadata[j]) * in cs_etm__process_auxtrace_info()
[all …]
Dcall-path.c38 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new()
70 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new()
Dcomm.c44 cs = zalloc(sizeof(*cs)); in comm_str__alloc()
109 struct comm *comm = zalloc(sizeof(*comm)); in comm__new()
Dsrcline.c42 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
228 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
352 node = zalloc(sizeof(*node)); in addr2inlines()
453 node = zalloc(sizeof(*node)); in addr2inlines()
575 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Dcounts.c10 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
Dprobe-finder.c101 struct debuginfo *dbg = zalloc(sizeof(*dbg)); in __debuginfo__new()
163 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
234 tvar->value = zalloc(ret + 2); in convert_variable_location()
355 *ref_ptr = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_type()
442 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
472 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields()
1290 args = zalloc(sizeof(struct perf_probe_arg) * MAX_PROBE_ARGS); in add_probe_trace_event()
1301 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event()
1337 *tevs = zalloc(sizeof(struct probe_trace_event) * tf.max_tevs); in debuginfo__find_trace_events()
1482 *vls = zalloc(sizeof(struct variable_list) * af.max_vls); in debuginfo__find_available_vars_at()
Dpstack.c22 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
Dutil.h20 static inline void *zalloc(size_t size) in zalloc() function
Dstrfilter.c69 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc()
161 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
Dzlib.c27 .zalloc = Z_NULL, in gzip_decompress_to_file()
Dconfig.c529 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section()
549 struct perf_config_item *item = zalloc(sizeof(*item)); in add_config_item()
700 struct perf_config_set *set = zalloc(sizeof(*set)); in perf_config_set__new()
/Linux-v4.19/tools/perf/arch/powerpc/util/
Dperf_regs.c132 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
149 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/Linux-v4.19/tools/virtio/virtio-trace/
Dtrace-agent.c54 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
116 buf = zalloc(PATH_MAX); in make_path()
Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
/Linux-v4.19/tools/perf/arch/arm64/util/
Darm-spe.c182 sper = zalloc(sizeof(struct arm_spe_recording)); in arm_spe_recording_init()
206 attr = zalloc(sizeof(struct perf_event_attr)); in arm_spe_pmu_default_config()
/Linux-v4.19/tools/perf/arch/arm/annotate/
Dinstructions.c36 arm = zalloc(sizeof(*arm)); in arm__annotate_init()
/Linux-v4.19/tools/perf/arch/arm64/annotate/
Dinstructions.c38 arm = zalloc(sizeof(*arm)); in arm64__annotate_init()
/Linux-v4.19/tools/perf/
Dbuiltin-timechart.c210 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
236 c = zalloc(sizeof(*c)); in pid_set_comm()
280 c = zalloc(sizeof(*c)); in pid_put_sample()
287 sample = zalloc(sizeof(*sample)); in pid_put_sample()
357 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end()
379 pwr = zalloc(sizeof(*pwr)); in p_state_change()
412 struct wake_event *we = zalloc(sizeof(*we)); in sched_wakeup()
686 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
701 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
729 c = zalloc(sizeof(*c)); in pid_begin_io_sample()
[all …]
Dbuiltin-lock.c171 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_after_first()
193 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_first()
327 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
332 new->name = zalloc(sizeof(char) * strlen(name) + 1); in lock_stat_findnew()
372 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq()
Dbuiltin-help.c191 *p = zalloc(sizeof(**p) + len + 1); in add_man_viewer()
206 struct man_viewer_info_list *new = zalloc(sizeof(*new) + len + 1); in do_add_man_viewer_info()
/Linux-v4.19/tools/perf/arch/x86/util/
Devent.c21 union perf_event *event = zalloc(sizeof(event->mmap) + in perf_event__synthesize_extra_kmaps()
/Linux-v4.19/tools/perf/arch/s390/util/
Dauxtrace.c106 aux = zalloc(sizeof(*aux)); in auxtrace_record__init()
/Linux-v4.19/tools/perf/arch/arm/util/
Dauxtrace.c23 arm_spe_pmus = zalloc(sizeof(struct perf_pmu *) * nr_cpus); in find_all_arm_spe_pmus()

1234