Home
last modified time | relevance | path

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

12345

/linux-6.12.1/tools/perf/util/
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()
Dsymbol-minimal.c152 tmp = realloc(buf, buf_size); in filename__read_build_id()
204 tmp = realloc(buf, buf_size); in filename__read_build_id()
Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
/linux-6.12.1/tools/lib/api/
Dio.h169 temp = realloc(line, line_len + sizeof(buf)); in io__getdelim()
179 temp = realloc(line, line_len + buf_pos + 1); in io__getdelim()
/linux-6.12.1/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-6.12.1/tools/include/tools/
Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/linux-6.12.1/tools/lib/thermal/
Dcommands.c51 __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.12.1/fs/bcachefs/
Dbuckets_waiting_for_journal.c110 realloc: in bch2_set_bucket_needs_journal_commit()
122 goto realloc; in bch2_set_bucket_needs_journal_commit()
/linux-6.12.1/scripts/include/
Dxalloc.h29 p = realloc(p, size); in xrealloc()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtesting_helpers.c53 tmp = realloc(set, new_len); in parse_num_list()
93 tmp = realloc(set->tests, sizeof(*test) * (set->cnt + 1)); in do_insert_test()
117 ctmp = realloc(test->subtests, in do_insert_test()
/linux-6.12.1/tools/thermal/thermometer/
Dthermometer.c86 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.12.1/tools/perf/tests/
Dtests-scripts.c208 result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp)); in append_script()
277 result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp)); in create_script_test_suites()
Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
/linux-6.12.1/tools/lib/subcmd/
Dsubcmd-util.h51 void *ret = realloc(ptr, size); in xrealloc()
/linux-6.12.1/rust/kernel/alloc/
Dallocator.rs47 unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc() method
/linux-6.12.1/arch/s390/tools/
Dgen_facilities.c134 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-6.12.1/tools/lib/perf/
Dcpumap.c184 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
195 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
269 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__new()
Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/linux-6.12.1/tools/perf/arch/x86/util/
Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/linux-6.12.1/arch/powerpc/boot/
Dsimple_alloc.c148 platform_ops.realloc = simple_realloc; in simple_alloc_init()
/linux-6.12.1/scripts/dtc/
Dutil.h57 void *new = realloc(p, len); in xrealloc()
/linux-6.12.1/tools/testing/selftests/mm/
Dtranshuge-stress.c110 map = realloc(map, idx + 1); in main()
/linux-6.12.1/tools/virtio/linux/
Dkernel.h94 return realloc(p, s); in krealloc()
/linux-6.12.1/tools/perf/bench/
Dpmu-scan.c49 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result()

12345