Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/tools/perf/util/
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()
A Dsymbol-minimal.c152 tmp = realloc(buf, buf_size); in filename__read_build_id()
203 tmp = realloc(buf, buf_size); in filename__read_build_id()
A Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
A Dmem2node.c98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtesting_helpers.c50 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.3-rc2/tools/lib/api/fd/
A Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/linux-6.3-rc2/tools/include/tools/
A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/linux-6.3-rc2/tools/lib/perf/
A Dcpumap.c134 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()
A Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/linux-6.3-rc2/tools/lib/thermal/
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()
/linux-6.3-rc2/rust/alloc/
A Dalloc.rs127 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.3-rc2/tools/thermal/thermometer/
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()
/linux-6.3-rc2/arch/s390/tools/
A Dgen_facilities.c133 array = realloc(array, (dword + 1) * 8); in print_facility_list()
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()
/linux-6.3-rc2/tools/lib/subcmd/
A Dsubcmd-util.h52 void *ret = realloc(ptr, size); in xrealloc()
/linux-6.3-rc2/tools/perf/tests/
A Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
A Dbuiltin-test-list.c136 files_tmp = realloc(files, in append_script()
/linux-6.3-rc2/tools/thermal/lib/
A Dmainloop.c65 mds = realloc(mds, sizeof(*mds) * (fd + 1)); in mainloop_add()
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/linux-6.3-rc2/arch/powerpc/boot/
A Dsimple_alloc.c145 platform_ops.realloc = simple_realloc; in simple_alloc_init()
/linux-6.3-rc2/scripts/dtc/
A Dutil.h55 void *new = realloc(p, len); in xrealloc()
/linux-6.3-rc2/scripts/kconfig/
A Dutil.c102 p = realloc(p, size); in xrealloc()
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dtranshuge-stress.c99 map = realloc(map, idx + 1); in main()
/linux-6.3-rc2/kernel/irq/
A Dirqdomain.c30 bool realloc, const struct irq_affinity_desc *affinity);
1472 bool realloc, const struct irq_affinity_desc *affinity) in irq_domain_alloc_irqs_locked() argument
1476 if (realloc && irq_base >= 0) { in irq_domain_alloc_irqs_locked()
1540 bool realloc, const struct irq_affinity_desc *affinity) in __irq_domain_alloc_irqs() argument
1552 realloc, affinity); in __irq_domain_alloc_irqs()
1907 bool realloc, const struct irq_affinity_desc *affinity) in irq_domain_alloc_irqs_locked() argument
/linux-6.3-rc2/tools/virtio/linux/
A Dkernel.h93 return realloc(p, s); in krealloc()

Completed in 35 milliseconds

1234