/linux-master/tools/include/tools/ |
H A D | libc_compat.h | 17 return realloc(ptr, bytes);
|
/linux-master/tools/perf/util/ |
H A D | values.c | 68 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 D | strbuf.c | 62 * 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 D | mem2node.c | 98 tmp_entries = realloc(entries, sizeof(*entries) * j);
|
H A D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names));
|
/linux-master/tools/lib/subcmd/ |
H A D | subcmd-util.h | 51 void *ret = realloc(ptr, size); 53 die("Out of memory, realloc failed");
|
/linux-master/arch/s390/tools/ |
H A D | gen_facilities.c | 134 array = realloc(array, (dword + 1) * 8);
|
H A D | gen_opcode_table.c | 168 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 D | array.c | 27 struct pollfd *entries = realloc(fda->entries, size); 32 priv = realloc(fda->priv, psize);
|
/linux-master/tools/lib/api/ |
H A D | io.h | 162 temp = realloc(line, line_len + sizeof(buf)); 172 temp = realloc(line, line_len + buf_pos + 1);
|
/linux-master/tools/lib/thermal/ |
H A D | commands.c | 51 __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 D | testing_helpers.c | 52 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 D | machine.c | 34 buf = realloc(mi->maps, sz);
|
/linux-master/tools/lib/perf/ |
H A D | threadmap.c | 23 map = realloc(map, size); 25 * We only realloc to add more items, let's reset new items.
|
H A D | cpumap.c | 180 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 D | util.h | 55 void *new = realloc(p, len); 58 die("realloc() failed (len=%zd)\n", len);
|
/linux-master/arch/powerpc/boot/ |
H A D | simple_alloc.c | 3 * Implement primitive realloc(3) functionality. 148 platform_ops.realloc = simple_realloc;
|
H A D | libfdt-wrapper.c | 51 buf = platform_ops.realloc(buf, size);
|
/linux-master/scripts/kconfig/ |
H A D | util.c | 126 p = realloc(p, size);
|
/linux-master/tools/perf/tests/ |
H A D | perf-record.c | 20 realloc: 26 goto realloc;
|
H A D | tests-scripts.c | 177 /* 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 D | thermometer.c | 86 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 D | parse.c | 78 filename_tmp = realloc(filename, sizeof(*filename) * len); 82 perror("realloc");
|
/linux-master/tools/testing/vsock/ |
H A D | control.c | 192 new_buf = realloc(buf, buflen + 80); 194 perror("realloc");
|
/linux-master/tools/virtio/linux/ |
H A D | kernel.h | 94 return realloc(p, s);
|