/linux-6.1.9/tools/perf/util/ |
D | values.c | 68 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()
|
D | symbol-minimal.c | 152 tmp = realloc(buf, buf_size); in filename__read_build_id() 203 tmp = realloc(buf, buf_size); in filename__read_build_id()
|
D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | testing_helpers.c | 50 tmp = realloc(set, new_len); in parse_num_list() 90 tmp = realloc(tests, sizeof(*tests) * (cnt + 1)); in parse_test_list() 111 tmp_subtests = realloc(tests[cnt].subtests, in parse_test_list() 137 tmp = realloc(set->tests, sizeof(*tests) * (cnt + set->cnt)); in parse_test_list()
|
/linux-6.1.9/tools/include/tools/ |
D | libc_compat.h | 17 return realloc(ptr, bytes); in reallocarray()
|
/linux-6.1.9/tools/lib/api/fd/ |
D | array.c | 27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow() 32 priv = realloc(fda->priv, psize); in fdarray__grow()
|
/linux-6.1.9/tools/lib/perf/ |
D | cpumap.c | 134 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read() 145 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read() 235 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__new()
|
D | threadmap.c | 23 map = realloc(map, size); in perf_thread_map__realloc()
|
/linux-6.1.9/tools/lib/thermal/ |
D | commands.c | 51 __tz = realloc(__tz, sizeof(*__tz) * (size + 2)); in parse_tz_get() 85 __cdev = realloc(__cdev, sizeof(*__cdev) * (size + 2)); in parse_cdev_get() 125 __tt = realloc(__tt, sizeof(*__tt) * (size + 2)); in parse_tz_get_trip()
|
/linux-6.1.9/rust/alloc/ |
D | alloc.rs | 127 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc() function 205 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in grow_impl() 296 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in shrink()
|
/linux-6.1.9/tools/thermal/thermometer/ |
D | thermometer.c | 86 config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) * in configuration_default_init() 159 config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) * in configuration_init() 271 thermometer->tz = realloc(thermometer->tz, in thermometer_add_tz()
|
/linux-6.1.9/tools/testing/memblock/ |
D | TODO | 9 test cases. Use realloc to adjust the size accordingly.
|
/linux-6.1.9/tools/lib/traceevent/plugins/ |
D | plugin_function.c | 65 ptr = realloc(stack->stack, sizeof(char *) * in add_child() 92 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
|
/linux-6.1.9/tools/lib/subcmd/ |
D | subcmd-util.h | 52 void *ret = realloc(ptr, size); in xrealloc()
|
/linux-6.1.9/arch/s390/tools/ |
D | gen_facilities.c | 133 array = realloc(array, (dword + 1) * 8); in print_facility_list()
|
D | gen_opcode_table.c | 168 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-6.1.9/tools/perf/tests/ |
D | perf-record.c | 18 realloc: in sched__get_first_possible_cpu() 24 goto realloc; in sched__get_first_possible_cpu()
|
/linux-6.1.9/tools/thermal/lib/ |
D | mainloop.c | 65 mds = realloc(mds, sizeof(*mds) * (fd + 1)); in mainloop_add()
|
/linux-6.1.9/tools/perf/arch/x86/util/ |
D | machine.c | 34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
|
/linux-6.1.9/scripts/kconfig/ |
D | util.c | 102 p = realloc(p, size); in xrealloc()
|
/linux-6.1.9/arch/powerpc/boot/ |
D | simple_alloc.c | 145 platform_ops.realloc = simple_realloc; in simple_alloc_init()
|
/linux-6.1.9/scripts/dtc/ |
D | util.h | 55 void *new = realloc(p, len); in xrealloc()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 99 map = realloc(map, idx + 1); in main()
|
/linux-6.1.9/tools/virtio/linux/ |
D | kernel.h | 92 return realloc(p, s); in krealloc()
|
/linux-6.1.9/tools/testing/vsock/ |
D | control.c | 164 new_buf = realloc(buf, buflen + 80); in control_readln()
|