Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 90) sorted by relevance

1234

/linux/tools/lib/subcmd/
A Dsubcmd-util.h52 void *ret = realloc(ptr, size); in xrealloc()
54 ret = realloc(ptr, 1); in xrealloc()
56 ret = realloc(ptr, size); in xrealloc()
58 ret = realloc(ptr, 1); in xrealloc()
/linux/tools/perf/util/
A Dvalues.c68 void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)), in perf_read_values__enlarge_threads()
69 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
70 *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value)); in perf_read_values__enlarge_threads()
121 u64 *counterrawid = realloc(values->counterrawid, counters_max * sizeof(*values->counterrawid)); in perf_read_values__enlarge_counters()
128 countername = realloc(values->countername, counters_max * sizeof(*values->countername)); in perf_read_values__enlarge_counters()
135 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters()
A Dsymbol-minimal.c152 tmp = realloc(buf, buf_size); in filename__read_build_id()
203 tmp = realloc(buf, buf_size); in filename__read_build_id()
A Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
A Dmem2node.c98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
/linux/tools/lib/api/fd/
A Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/linux/tools/lib/perf/
A Dcpumap.c127 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in perf_cpu_map__read()
138 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in perf_cpu_map__read()
228 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in perf_cpu_map__new()
A Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/linux/tools/include/tools/
A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/linux/tools/perf/tests/
A Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
/linux/tools/lib/traceevent/plugins/
A Dplugin_function.c65 ptr = realloc(stack->stack, sizeof(char *) * in add_child()
92 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
/linux/arch/s390/tools/
A Dgen_opcode_table.c168 desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn)); in read_instructions()
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
A Dgen_facilities.c140 array = realloc(array, (dword + 1) * 8); in print_facility_list()
/linux/tools/testing/selftests/bpf/
A Dtesting_helpers.c45 tmp = realloc(set, new_len); in parse_num_list()
/linux/tools/perf/arch/x86/util/
A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/linux/scripts/dtc/
A Dutil.h55 void *new = realloc(p, len); in xrealloc()
/linux/scripts/kconfig/
A Dutil.c102 p = realloc(p, size); in xrealloc()
/linux/arch/powerpc/boot/
A Dsimple_alloc.c147 platform_ops.realloc = simple_realloc; in simple_alloc_init()
A Dlibfdt-wrapper.c51 buf = platform_ops.realloc(buf, size); in expand_buf()
/linux/tools/testing/vsock/
A Dcontrol.c164 new_buf = realloc(buf, buflen + 80); in control_readln()
/linux/tools/virtio/linux/
A Dkernel.h93 return realloc(p, s); in krealloc()
/linux/tools/testing/selftests/vm/
A Dtranshuge-stress.c121 map = realloc(map, idx + 1); in main()
/linux/drivers/media/pci/tw686x/
A Dtw686x-video.c672 unsigned int height, bool realloc) in tw686x_set_format() argument
683 if (dev->dma_ops->alloc && realloc) { in tw686x_set_format()
740 bool realloc; in tw686x_s_fmt_vid_cap() local
751 realloc = area != (f->fmt.pix.width * f->fmt.pix.height); in tw686x_s_fmt_vid_cap()
754 realloc); in tw686x_s_fmt_vid_cap()
/linux/tools/lib/traceevent/
A Dtrace-seq.c87 buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); in expand_buffer()
/linux/tools/power/cpupower/bench/
A Dparse.c78 filename_tmp = realloc(filename, sizeof(*filename) * len); in prepare_output()

Completed in 56 milliseconds

1234