/linux-4.1.27/arch/xtensa/boot/lib/ |
D | zmem.c | 12 void *zalloc(unsigned size) in zalloc() function 61 s.workspace = zalloc(zlib_inflate_workspacesize()); in gunzip()
|
/linux-4.1.27/tools/perf/util/ |
D | comm.c | 33 cs = zalloc(sizeof(*cs)); in comm_str__alloc() 79 struct comm *comm = zalloc(sizeof(*comm)); in comm__new()
|
D | xyarray.c | 7 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
|
D | strfilter.c | 65 struct strfilter_node *node = zalloc(sizeof(*node)); in strfilter_node__alloc() 157 struct strfilter *filter = zalloc(sizeof(*filter)); in strfilter__new()
|
D | probe-finder.c | 94 struct debuginfo *dbg = zalloc(sizeof(*dbg)); in __debuginfo__new() 156 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref() 216 tvar->value = zalloc(ret + 2); in convert_variable_location() 334 *ref_ptr = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_type() 411 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields() 444 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in convert_variable_fields() 1183 args = zalloc(sizeof(struct perf_probe_arg) * MAX_PROBE_ARGS); in add_probe_trace_event() 1192 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in add_probe_trace_event() 1224 *tevs = zalloc(sizeof(struct probe_trace_event) * max_tevs); in debuginfo__find_trace_events() 1337 *vls = zalloc(sizeof(struct variable_list) * max_vls); in debuginfo__find_available_vars_at()
|
D | pstack.c | 21 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new()
|
D | zlib.c | 22 .zalloc = Z_NULL, in gzip_decompress_to_file()
|
D | thread-stack.c | 131 ts = zalloc(sizeof(struct thread_stack)); in thread_stack__new() 346 cpr = zalloc(sizeof(struct call_path_root)); in call_path_root__new() 378 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new() 438 crp = zalloc(sizeof(struct call_return_processor)); in call_return_processor__new()
|
D | build-id.c | 348 *linkname = zalloc(size), *targetname, *tmp; in build_id_cache__add_s() 427 char *filename = zalloc(size), in build_id_cache__remove_s() 428 *linkname = zalloc(size), *tmp; in build_id_cache__remove_s()
|
D | parse-events.c | 201 path = zalloc(sizeof(*path)); in tracepoint_id_to_path() 229 struct tracepoint_path *path = zalloc(sizeof(*path)); in tracepoint_name_to_path() 1122 evt_list = zalloc(sizeof(char *) * evt_num); in print_tracepoint_events() 1282 evt_list = zalloc(sizeof(char *) * evt_num); in print_hwcache_events() 1358 evt_list = zalloc(sizeof(char *) * evt_num); in print_symbol_events() 1467 term = zalloc(sizeof(*term)); in new_term()
|
D | cgroup.c | 95 cgrp = zalloc(sizeof(*cgrp)); in add_cgroup()
|
D | probe-event.c | 1273 *fieldp = zalloc(sizeof(struct perf_probe_arg_field)); in parse_perf_probe_arg() 1351 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1460 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1536 buf = zalloc(MAX_CMDLEN); in synthesize_perf_probe_point() 1693 buf = zalloc(MAX_CMDLEN); in synthesize_probe_trace_command() 1825 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in convert_to_perf_probe_event() 2050 node = zalloc(sizeof(*node)); in kprobe_blacklist__load() 2502 *tevs = zalloc(sizeof(*tev) * num_matched_functions); in find_probe_trace_events_from_map() 2540 tev->args = zalloc(sizeof(struct probe_trace_arg) * in find_probe_trace_events_from_map() 2608 pkgs = zalloc(sizeof(struct __event_package) * npevs); in add_perf_probe_events()
|
D | string.c | 121 char **argv = zalloc(sizeof(*argv) * (argc+1)); in argv_split()
|
D | pmu.c | 460 pmu = zalloc(sizeof(*pmu)); in pmu_lookup() 799 format = zalloc(sizeof(*format)); in perf_pmu__new_format() 887 aliases = zalloc(sizeof(char *) * len); in print_pmu_events()
|
D | thread.c | 33 struct thread *thread = zalloc(sizeof(*thread)); in thread__new()
|
D | srcline.c | 118 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
|
D | util.h | 188 static inline void *zalloc(size_t size) in zalloc() function
|
D | callchain.c | 410 new = zalloc(sizeof(*new)); in create_child() 458 call = zalloc(sizeof(*call)); in fill_node()
|
D | db-export.c | 67 de = zalloc(sizeof(struct deferred_export)); in db_export__defer_comm()
|
D | evsel.c | 216 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__new_idx() 226 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__newtp_idx() 844 evsel->id = zalloc(ncpus * nthreads * sizeof(u64)); in perf_evsel__alloc_id() 862 evsel->counts = zalloc((sizeof(*evsel->counts) + in perf_evsel__alloc_counts()
|
D | annotate.c | 174 ops->locked.ops = zalloc(sizeof(*ops->locked.ops)); in lock__parse() 467 notes->src = zalloc(sizeof(*notes->src) + symbol_conf.nr_events * sizeof_sym_hist); in symbol__alloc_hist() 590 struct disasm_line *dl = zalloc(sizeof(*dl) + privsize); in disasm_line__new()
|
D | event.c | 329 union perf_event *event = zalloc((sizeof(event->mmap) + in perf_event__synthesize_modules() 630 event = zalloc((sizeof(event->mmap) + machine->id_hdr_size)); in perf_event__synthesize_kernel_mmap()
|
D | session.c | 115 struct perf_session *session = zalloc(sizeof(*session)); in perf_session__new() 1451 ref = zalloc(sizeof(struct ref_reloc_sym)); in maps__set_kallsyms_ref_reloc_sym() 1770 ev = zalloc(sz); in perf_event__synthesize_id_index()
|
D | evlist.c | 50 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() 755 evlist->mmap = zalloc(evlist->nr_mmaps * sizeof(struct perf_mmap)); in perf_evlist__alloc_mmap()
|
D | dso.c | 581 cache = zalloc(sizeof(*cache) + DSO__DATA_CACHE_SIZE); in dso_cache__read()
|
D | hist.c | 303 he = zalloc(sizeof(*he) + callchain_size); in hist_entry__new()
|
D | symbol.c | 901 mi = zalloc(sizeof(struct module_info)); in __read_proc_modules()
|
D | machine.c | 1397 struct mem_info *mi = zalloc(sizeof(*mi)); in sample__resolve_mem()
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
D | trace-agent.c | 54 s = zalloc(sizeof(struct agent_info)); in agent_info_new() 116 buf = zalloc(PATH_MAX); in make_path()
|
D | trace-agent.h | 62 static inline void *zalloc(size_t size) in zalloc() function
|
D | trace-agent-rw.c | 26 rw_ti = zalloc(sizeof(struct rw_thread_info)); in rw_thread_info_new()
|
/linux-4.1.27/tools/perf/bench/ |
D | mem-memcpy.c | 278 *dst = zalloc(length); in memcpy_alloc_mem() 282 *src = zalloc(length); in memcpy_alloc_mem() 351 *dst = zalloc(length); in memset_alloc_mem()
|
D | numa.c | 1233 pthreads = zalloc(g->p.nr_threads * sizeof(pthread_t)); in worker_process() 1428 pids = zalloc(g->p.nr_proc * sizeof(*pids)); in __bench_numa()
|
/linux-4.1.27/tools/perf/ |
D | builtin-timechart.c | 206 cursor = zalloc(sizeof(*cursor)); in find_create_pid() 232 c = zalloc(sizeof(*c)); in pid_set_comm() 276 c = zalloc(sizeof(*c)); in pid_put_sample() 283 sample = zalloc(sizeof(*sample)); in pid_put_sample() 353 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end() 375 pwr = zalloc(sizeof(*pwr)); in p_state_change() 408 struct wake_event *we = zalloc(sizeof(*we)); in sched_wakeup() 685 pwr = zalloc(sizeof(*pwr)); in end_sample_processing() 700 pwr = zalloc(sizeof(*pwr)); in end_sample_processing() 728 c = zalloc(sizeof(*c)); in pid_begin_io_sample() [all …]
|
D | builtin-lock.c | 167 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_after_first() 189 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_first() 323 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew() 328 new->name = zalloc(sizeof(char) * strlen(name) + 1); in lock_stat_findnew() 368 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq()
|
D | builtin-help.c | 181 *p = zalloc(sizeof(**p) + len + 1); in add_man_viewer() 196 struct man_viewer_info_list *new = zalloc(sizeof(*new) + len + 1); in do_add_man_viewer_info()
|
D | builtin-bench.c | 163 name = zalloc(size); in run_bench()
|
D | builtin-sched.c | 242 struct sched_atom *event = zalloc(sizeof(*event)); in get_new_event() 309 wakee_event->wait_sem = zalloc(sizeof(*wakee_event->wait_sem)); in add_sched_event_wakeup() 350 task = zalloc(sizeof(*task)); in register_pid() 863 struct work_atoms *atoms = zalloc(sizeof(*atoms)); in thread_atoms_insert() 887 struct work_atom *atom = zalloc(sizeof(*atom)); in add_sched_out_event()
|
D | builtin-probe.c | 145 buf = zalloc(len + 1); in parse_probe_event_argv()
|
D | builtin-stat.c | 187 evsel->priv = zalloc(sizeof(struct perf_stat)); in perf_evsel__alloc_stat_priv() 207 addr = zalloc(sz); in perf_evsel__alloc_prev_raw_counts() 413 mask = zalloc(MAX_NR_CPUS); in check_per_pkg()
|
D | builtin-kmem.c | 290 data = zalloc(sizeof(*data)); in search_page() 346 data = zalloc(sizeof(*data)); in search_page_alloc_stat()
|
D | builtin-diff.c | 1182 fmt = zalloc(sizeof(*fmt)); in ui_init() 1238 data__files = zalloc(sizeof(*data__files) * data__files_cnt); in data_init()
|
D | builtin-kvm.c | 185 event = zalloc(sizeof(*event)); in kvm_alloc_init_event() 383 vcpu_record = zalloc(sizeof(*vcpu_record)); in per_vcpu_record()
|
D | builtin-script.c | 1095 struct script_desc *s = zalloc(sizeof(*s)); in script_desc__new()
|
D | builtin-trace.c | 1180 struct thread_trace *ttrace = zalloc(sizeof(struct thread_trace)); in thread_trace__new()
|
/linux-4.1.27/tools/perf/ui/browsers/ |
D | scripts.c | 130 buf = zalloc((sizeof(*sline)) * MAX_LINES); in script_browse()
|
D | annotate.c | 920 browser.offsets = zalloc(size * sizeof(struct disasm_line *)); in symbol__tui_annotate()
|
D | hists.c | 1200 struct hist_browser *browser = zalloc(sizeof(*browser)); in hist_browser__new()
|