Home
last modified time | relevance | path

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

1234567

/openbmc/linux/tools/perf/util/
H A 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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch51 -void* realloc(void* ptr, size_t size) noexcept
52 +void* realloc(void* ptr, size_t size) NOEXECPT
54 if (!hooks::realloc) {
56 @@ -219,7 +225,7 @@ void* realloc(void* ptr, size_t size) noexcept
/openbmc/u-boot/cmd/
H A Dnvedit_efi.c110 p = realloc(var_name16, buf_size); in efi_dump_vars()
158 p = realloc(var_name16, buf_size); in efi_dump_var_all()
314 new_buf = realloc(*bufp, *sizep + len); in append_value()
/openbmc/linux/tools/lib/api/
H A Dio.h162 temp = realloc(line, line_len + sizeof(buf)); in io__getline()
172 temp = realloc(line, line_len + buf_pos + 1); in io__getline()
/openbmc/u-boot/include/
H A Dmalloc.h867 #pragma weak realloc = __libc_realloc macro
877 #define realloc realloc_simple macro
901 # define rEALLOc realloc
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.c52 tmp = realloc(set, new_len); in parse_num_list()
92 tmp = realloc(set->tests, sizeof(*test) * (set->cnt + 1)); in do_insert_test()
116 ctmp = realloc(test->subtests, in do_insert_test()
/openbmc/linux/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()
/openbmc/linux/rust/alloc/
H A Dalloc.rs137 pub unsafe fn realloc(ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc() function
215 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in grow_impl()
306 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in shrink()
/openbmc/linux/tools/lib/thermal/
H A 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()
/openbmc/linux/tools/include/tools/
H A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/openbmc/linux/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()
271 thermometer->tz = realloc(thermometer->tz, in thermometer_add_tz()
/openbmc/libmctp/utils/
H A Dmctp-demux-daemon.c106 ctx->clients = realloc(ctx->clients, in client_remove_inactive()
337 realloc(ctx->clients, ctx->n_clients * sizeof(struct client)); in socket_process()
384 tmp = realloc(ctx->buf, len); in client_process_recv()
494 ctx->pollfds = realloc(ctx->pollfds, in run_daemon()
/openbmc/linux/tools/lib/perf/
H A Dcpumap.c155 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
166 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
256 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__new()
/openbmc/linux/tools/lib/subcmd/
H A Dsubcmd-util.h51 void *ret = realloc(ptr, size); in xrealloc()
/openbmc/u-boot/tools/
H A Dgetline.c56 *lineptr = realloc(*lineptr, *n); in getstr()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/procmail/procmail/
H A DCVE-2017-16844.patch18 buf=realloc(buf,buflen+=Bsize);
/openbmc/linux/arch/s390/tools/
H A Dgen_facilities.c133 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()
256 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
/openbmc/linux/rust/kernel/
H A Dallocator.rs55 unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) -> *mut u8 { in realloc() method
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dtftp-0.49-cmd_arg.patch36 + * Simple error-checking version of realloc()
44 + void *p = realloc(ptr, size);
/openbmc/linux/tools/perf/tests/
H A Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
/openbmc/u-boot/post/drivers/
H A Dflash.c40 p = ptr = realloc(ptr, new_len); in seed_src_data()
/openbmc/linux/tools/thermal/lib/
H A Dmainloop.c65 mds = realloc(mds, sizeof(*mds) * (fd + 1)); in mainloop_add()
/openbmc/openbmc/meta-arm/meta-arm/recipes-core/musl/files/
H A D0001-Revert-ldso-fix-non-functional-fix-to-early-dynamic-.patch39 #define realloc __libc_realloc
/openbmc/linux/tools/perf/arch/x86/util/
H A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()

1234567