Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/tools/lib/perf/
DBuild7 libperf-y += zalloc.o
11 $(OUTPUT)zalloc.o: ../../lib/zalloc.c FORCE
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
DBuild10 gtk-y += zalloc.o
12 $(OUTPUT)ui/gtk/zalloc.o: ../lib/zalloc.c FORCE
/kernel/liteos_a/fs/vfs/
Dmount.c49 struct Mount *mnt = (struct Mount *)zalloc(sizeof(struct Mount)); in MountAlloc()
79 g_mountCache = zalloc(sizeof(LIST_HEAD)); in GetMountCache()
92 g_mountList = zalloc(sizeof(LIST_HEAD)); in GetMountList()
/kernel/linux/linux-5.10/arch/xtensa/boot/lib/
Dzmem.c13 void *zalloc(unsigned size) in zalloc() function
62 s.workspace = zalloc(zlib_inflate_workspacesize()); in gunzip()
/kernel/liteos_a/drivers/mtd/multi_partition/src/
Dmtd_partition.c106 nandParam = (partition_param *)zalloc(sizeof(partition_param)); in MtdInitNandParam()
111 g_nandPartitionHead = (mtd_partition *)zalloc(sizeof(mtd_partition)); in MtdInitNandParam()
159 spinorParam = (partition_param *)zalloc(sizeof(partition_param)); in MtdInitSpinorParam()
165 g_spinorPartitionHead = (mtd_partition *)zalloc(sizeof(mtd_partition)); in MtdInitSpinorParam()
383 newNode = (mtd_partition *)zalloc(sizeof(mtd_partition)); in add_mtd_partition()
/kernel/linux/linux-5.10/tools/perf/util/
Dcomm.c45 cs = zalloc(sizeof(*cs)); in comm_str__alloc()
110 struct comm *comm = zalloc(sizeof(*comm)); in comm__new()
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()
Dsrcline.c44 ilist = zalloc(sizeof(*ilist)); in inline_list__append()
244 a2l = zalloc(sizeof(*a2l)); in addr2line_init()
369 node = zalloc(sizeof(*node)); in addr2inlines()
470 node = zalloc(sizeof(*node)); in addr2inlines()
621 node = zalloc(sizeof(struct srcline_node)); in srcline__tree_insert()
Dxyarray.c10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Dcs-etm.c248 tidq->packet = zalloc(sizeof(struct cs_etm_packet)); in cs_etm__init_traceid_queue()
252 tidq->prev_packet = zalloc(sizeof(struct cs_etm_packet)); in cs_etm__init_traceid_queue()
261 tidq->last_branch = zalloc(sz); in cs_etm__init_traceid_queue()
264 tidq->last_branch_rb = zalloc(sz); in cs_etm__init_traceid_queue()
488 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__dump_event()
720 etmq = zalloc(sizeof(*etmq)); in cs_etm__alloc_queue()
729 t_params = zalloc(sizeof(*t_params) * etm->num_cpu); in cs_etm__alloc_queue()
2519 hdr = zalloc(sizeof(*hdr) * CS_HEADER_VERSION_0_MAX); in cs_etm__process_auxtrace_info()
2541 metadata = zalloc(sizeof(*metadata) * num_cpu); in cs_etm__process_auxtrace_info()
2555 metadata[j] = zalloc(sizeof(*metadata[j]) * in cs_etm__process_auxtrace_info()
[all …]
Dcounts.c11 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
/kernel/linux/linux-5.10/tools/include/linux/
Dzalloc.h7 void *zalloc(size_t size);
/kernel/linux/linux-5.10/tools/lib/
Dzalloc.c6 void *zalloc(size_t size) in zalloc() function
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/
Darm-spe.c177 sper = zalloc(sizeof(struct arm_spe_recording)); in arm_spe_recording_init()
202 attr = zalloc(sizeof(struct perf_event_attr)); in arm_spe_pmu_default_config()
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
DBuild3 resolve_btfids-y += zalloc.o
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
Dtrace-agent.c52 s = zalloc(sizeof(struct agent_info)); in agent_info_new()
114 buf = zalloc(PATH_MAX); in make_path()
Dtrace-agent.h63 static inline void *zalloc(size_t size) in zalloc() function
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/util/
Dperf_regs.c148 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
165 *new_op = zalloc(new_len); in arch_sdt_arg_parse_op()
/kernel/liteos_a/fs/vfs/operation/
Dvfs_check.c64 dir = (struct fs_dirent_s *)zalloc(sizeof(struct fs_dirent_s)); in fscheck()
/kernel/linux/linux-5.10/tools/perf/
DMANIFEST22 tools/lib/zalloc.c
Dbuiltin-timechart.c208 cursor = zalloc(sizeof(*cursor)); in find_create_pid()
234 c = zalloc(sizeof(*c)); in pid_set_comm()
278 c = zalloc(sizeof(*c)); in pid_put_sample()
285 sample = zalloc(sizeof(*sample)); in pid_put_sample()
355 struct power_event *pwr = zalloc(sizeof(*pwr)); in c_state_end()
377 pwr = zalloc(sizeof(*pwr)); in p_state_change()
410 struct wake_event *we = zalloc(sizeof(*we)); in sched_wakeup()
684 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
699 pwr = zalloc(sizeof(*pwr)); in end_sample_processing()
727 c = zalloc(sizeof(*c)); in pid_begin_io_sample()
[all …]
Dbuiltin-lock.c172 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_after_first()
194 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_first()
328 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
333 new->name = zalloc(sizeof(char) * strlen(name) + 1); in lock_stat_findnew()
373 seq = zalloc(sizeof(struct lock_seq_stat)); in get_seq()
/kernel/linux/linux-5.10/tools/perf/arch/arm/annotate/
Dinstructions.c38 arm = zalloc(sizeof(*arm)); in arm__annotate_init()
/kernel/liteos_a/compat/posix/src/
Dmalloc.c89 void *zalloc(size_t size) in zalloc() function

12345