/linux-6.3-rc2/tools/perf/util/ |
A 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()
|
A 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()
|
A D | help-unknown-cmd.c | 43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
|
A D | mem2node.c | 98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A 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.3-rc2/tools/lib/api/fd/ |
A 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.3-rc2/tools/include/tools/ |
A D | libc_compat.h | 17 return realloc(ptr, bytes); in reallocarray()
|
/linux-6.3-rc2/tools/lib/perf/ |
A 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()
|
A D | threadmap.c | 23 map = realloc(map, size); in perf_thread_map__realloc()
|
/linux-6.3-rc2/tools/lib/thermal/ |
A 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.3-rc2/rust/alloc/ |
A 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.3-rc2/tools/thermal/thermometer/ |
A 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.3-rc2/arch/s390/tools/ |
A D | gen_facilities.c | 133 array = realloc(array, (dword + 1) * 8); in print_facility_list()
|
A 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.3-rc2/tools/lib/subcmd/ |
A D | subcmd-util.h | 52 void *ret = realloc(ptr, size); in xrealloc()
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | perf-record.c | 20 realloc: in sched__get_first_possible_cpu() 26 goto realloc; in sched__get_first_possible_cpu()
|
A D | builtin-test-list.c | 136 files_tmp = realloc(files, in append_script()
|
/linux-6.3-rc2/tools/thermal/lib/ |
A D | mainloop.c | 65 mds = realloc(mds, sizeof(*mds) * (fd + 1)); in mainloop_add()
|
/linux-6.3-rc2/tools/perf/arch/x86/util/ |
A D | machine.c | 34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
|
/linux-6.3-rc2/arch/powerpc/boot/ |
A D | simple_alloc.c | 145 platform_ops.realloc = simple_realloc; in simple_alloc_init()
|
/linux-6.3-rc2/scripts/dtc/ |
A D | util.h | 55 void *new = realloc(p, len); in xrealloc()
|
/linux-6.3-rc2/scripts/kconfig/ |
A D | util.c | 102 p = realloc(p, size); in xrealloc()
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | transhuge-stress.c | 99 map = realloc(map, idx + 1); in main()
|
/linux-6.3-rc2/kernel/irq/ |
A D | irqdomain.c | 30 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 D | kernel.h | 93 return realloc(p, s); in krealloc()
|