Searched refs:realloc (Results 1 - 25 of 95) sorted by relevance

1234

/linux-master/tools/include/tools/
H A Dlibc_compat.h17 return realloc(ptr, bytes);
/linux-master/tools/perf/util/
H A Dvalues.c68 void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)),
69 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)),
70 *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value));
121 u64 *counterrawid = realloc(values->counterrawid, counters_max * sizeof(*values->counterrawid));
128 countername = realloc(values->countername, counters_max * sizeof(*values->countername));
135 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value));
H A Dstrbuf.c62 * a static variable. Thus we have to avoid passing it to realloc.
64 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf));
H A Dmem2node.c98 tmp_entries = realloc(entries, sizeof(*entries) * j);
H A Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names));
/linux-master/tools/lib/subcmd/
H A Dsubcmd-util.h51 void *ret = realloc(ptr, size);
53 die("Out of memory, realloc failed");
/linux-master/arch/s390/tools/
H A Dgen_facilities.c134 array = realloc(array, (dword + 1) * 8);
H A Dgen_opcode_table.c168 desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn));
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group));
/linux-master/tools/lib/api/fd/
H A Darray.c27 struct pollfd *entries = realloc(fda->entries, size);
32 priv = realloc(fda->priv, psize);
/linux-master/tools/lib/api/
H A Dio.h162 temp = realloc(line, line_len + sizeof(buf));
172 temp = realloc(line, line_len + buf_pos + 1);
/linux-master/tools/lib/thermal/
H A Dcommands.c51 __tz = realloc(__tz, sizeof(*__tz) * (size + 2));
85 __cdev = realloc(__cdev, sizeof(*__cdev) * (size + 2));
125 __tt = realloc(__tt, sizeof(*__tt) * (size + 2));
/linux-master/tools/testing/selftests/bpf/
H A Dtesting_helpers.c52 tmp = realloc(set, new_len);
92 tmp = realloc(set->tests, sizeof(*test) * (set->cnt + 1));
116 ctmp = realloc(test->subtests,
/linux-master/tools/perf/arch/x86/util/
H A Dmachine.c34 buf = realloc(mi->maps, sz);
/linux-master/tools/lib/perf/
H A Dthreadmap.c23 map = realloc(map, size);
25 * We only realloc to add more items, let's reset new items.
H A Dcpumap.c180 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu));
191 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu));
265 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu));
411 * with no reference count change (similar to "realloc")
/linux-master/scripts/dtc/
H A Dutil.h55 void *new = realloc(p, len);
58 die("realloc() failed (len=%zd)\n", len);
/linux-master/arch/powerpc/boot/
H A Dsimple_alloc.c3 * Implement primitive realloc(3) functionality.
148 platform_ops.realloc = simple_realloc;
H A Dlibfdt-wrapper.c51 buf = platform_ops.realloc(buf, size);
/linux-master/scripts/kconfig/
H A Dutil.c126 p = realloc(p, size);
/linux-master/tools/perf/tests/
H A Dperf-record.c20 realloc:
26 goto realloc;
H A Dtests-scripts.c177 /* Realloc is good enough, though we could realloc by chunks, not that
179 result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp));
246 result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp));
/linux-master/tools/thermal/thermometer/
H A Dthermometer.c86 config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) *
159 config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) *
271 thermometer->tz = realloc(thermometer->tz,
/linux-master/tools/power/cpupower/bench/
H A Dparse.c78 filename_tmp = realloc(filename, sizeof(*filename) * len);
82 perror("realloc");
/linux-master/tools/testing/vsock/
H A Dcontrol.c192 new_buf = realloc(buf, buflen + 80);
194 perror("realloc");
/linux-master/tools/virtio/linux/
H A Dkernel.h94 return realloc(p, s);

Completed in 154 milliseconds

1234