Home
last modified time | relevance | path

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

123

/Linux-v4.19/tools/lib/subcmd/
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-v4.19/tools/perf/util/
Dvalues.c67 void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)), in perf_read_values__enlarge_threads()
68 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
69 *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value)); in perf_read_values__enlarge_threads()
120 u64 *counterrawid = realloc(values->counterrawid, counters_max * sizeof(*values->counterrawid)); in perf_read_values__enlarge_counters()
127 countername = realloc(values->countername, counters_max * sizeof(*values->countername)); in perf_read_values__enlarge_counters()
134 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters()
Dsymbol-minimal.c147 tmp = realloc(buf, buf_size); in filename__read_build_id()
198 tmp = realloc(buf, buf_size); in filename__read_build_id()
Dcpumap.c76 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
87 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
169 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__new()
Dhelp-unknown-cmd.c41 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
Dmem2node.c94 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
Dstrbuf.c58 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf)); in strbuf_grow()
/Linux-v4.19/tools/lib/api/fd/
Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/Linux-v4.19/tools/lib/traceevent/
Dplugin_function.c71 ptr = realloc(stack->stack, sizeof(char *) * in add_child()
98 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
Dtrace-seq.c85 buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); in expand_buffer()
/Linux-v4.19/tools/include/tools/
Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/Linux-v4.19/arch/s390/tools/
Dgen_facilities.c128 array = realloc(array, (dword + 1) * 8); in print_facility_list()
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()
/Linux-v4.19/tools/perf/tests/
Dperf-record.c17 realloc: in sched__get_first_possible_cpu()
23 goto realloc; in sched__get_first_possible_cpu()
/Linux-v4.19/scripts/dtc/
Dutil.h64 void *new = realloc(p, len); in xrealloc()
/Linux-v4.19/tools/perf/arch/x86/util/
Dmachine.c32 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/Linux-v4.19/scripts/kconfig/
Dutil.c103 p = realloc(p, size); in xrealloc()
/Linux-v4.19/arch/powerpc/boot/
Dsimple_alloc.c147 platform_ops.realloc = simple_realloc; in simple_alloc_init()
Dlibfdt-wrapper.c65 buf = platform_ops.realloc(buf, size); in expand_buf()
/Linux-v4.19/drivers/pci/
DKconfig54 re-allocation needs to be enabled. You can always use pci=realloc=on
55 or pci=realloc=off to override it. It will automatically
/Linux-v4.19/tools/testing/vsock/
Dcontrol.c168 new_buf = realloc(buf, buflen + 80); in control_readln()
/Linux-v4.19/tools/testing/selftests/bpf/
Dcgroup_helpers.c217 fhp2 = realloc(fhp, fhsize); in get_cgroup_id()
/Linux-v4.19/tools/testing/selftests/vm/
Dtranshuge-stress.c121 map = realloc(map, idx + 1); in main()
/Linux-v4.19/tools/virtio/linux/
Dkernel.h87 return realloc(p, s); in krealloc()
/Linux-v4.19/tools/power/cpupower/bench/
Dparse.c91 filename_tmp = realloc(filename, sizeof(*filename) * len); in prepare_output()

123