Home
last modified time | relevance | path

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

12345

/linux-6.15/rust/kernel/
H A Dalloc.rs159 unsafe { Self::realloc(None, layout, Layout::new::<()>(), flags) } in alloc()
194 unsafe fn realloc( in realloc() method
214 let _ = unsafe { Self::realloc(Some(ptr), Layout::new::<()>(), layout, Flags(0)) }; in free()
/linux-6.15/rust/kernel/alloc/
H A Dallocator.rs132 unsafe fn realloc( in realloc() method
149 unsafe fn realloc( in realloc() method
173 unsafe fn realloc( in realloc() method
H A Dallocator_test.rs38 unsafe fn realloc( in realloc() method
/linux-6.15/tools/perf/util/
H A Dvalues.c62 void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)), in perf_read_values__enlarge_threads()
63 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
64 *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value)); in perf_read_values__enlarge_threads()
114 struct evsel **new_counters = realloc(values->counters, in perf_read_values__enlarge_counters()
123 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters()
H A Dsymbol-minimal.c152 tmp = realloc(buf, buf_size); in filename__read_build_id()
204 tmp = realloc(buf, buf_size); in filename__read_build_id()
H A Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
/linux-6.15/tools/lib/api/
H A 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.15/tools/lib/thermal/
H A Dcommands.c57 __tz = realloc(__tz, sizeof(*__tz) * (size + 2)); in parse_tz_get()
91 __cdev = realloc(__cdev, sizeof(*__cdev) * (size + 2)); in parse_cdev_get()
131 __tt = realloc(__tt, sizeof(*__tt) * (size + 2)); in parse_tz_get_trip()
214 __tt = realloc(__tt, sizeof(*__tt) * (size + 2)); in parse_threshold_get()
/linux-6.15/tools/lib/api/fd/
H A Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/linux-6.15/tools/include/tools/
H A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/linux-6.15/fs/bcachefs/
H A Dbuckets_waiting_for_journal.c108 realloc: in bch2_set_bucket_needs_journal_commit()
120 goto realloc; in bch2_set_bucket_needs_journal_commit()
/linux-6.15/scripts/include/
H A Dxalloc.h29 p = realloc(p, size); in xrealloc()
/linux-6.15/tools/testing/selftests/bpf/
H A 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.15/tools/thermal/thermometer/
H A 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()
272 tz = realloc(thermometer->tz, sizeof(*thermometer->tz) * (thermometer->nr_tz + 1)); in thermometer_add_tz()
/linux-6.15/tools/lib/subcmd/
H A Dsubcmd-util.h51 void *ret = realloc(ptr, size); in xrealloc()
/linux-6.15/tools/perf/tests/
H A Dtests-scripts.c213 result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp)); in append_script()
282 result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp)); in create_script_test_suites()
H A Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
/linux-6.15/arch/s390/tools/
H A Dgen_facilities.c139 array = realloc(array, (dword + 1) * 8); in print_facility_list()
H A Dgen_opcode_table.c168 desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn)); in read_instructions()
271 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
/linux-6.15/tools/lib/perf/
H A Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/linux-6.15/tools/perf/arch/x86/util/
H A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/linux-6.15/arch/powerpc/boot/
H A Dsimple_alloc.c148 platform_ops.realloc = simple_realloc; in simple_alloc_init()
/linux-6.15/scripts/dtc/
H A Dutil.h57 void *new = realloc(p, len); in xrealloc()
/linux-6.15/tools/testing/selftests/mm/
H A Dtranshuge-stress.c110 map = realloc(map, idx + 1); in main()
/linux-6.15/tools/virtio/linux/
H A Dkernel.h94 return realloc(p, s); in krealloc()

12345