Home
last modified time | relevance | path

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

1234

/tools/include/tools/
A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/tools/perf/util/
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()
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()
A Dstrbuf.c64 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf)); in strbuf_grow()
/tools/lib/api/
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()
/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()
/tools/lib/subcmd/
A Dsubcmd-util.h51 void *ret = realloc(ptr, size); in xrealloc()
/tools/lib/thermal/
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()
/tools/testing/selftests/bpf/
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()
/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()
272 tz = realloc(thermometer->tz, sizeof(*thermometer->tz) * (thermometer->nr_tz + 1)); in thermometer_add_tz()
/tools/perf/tests/
A Dtests-scripts.c213 result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp)); in append_script()
283 result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp)); in create_script_test_suites()
A Dperf-record.c20 realloc: in sched__get_first_possible_cpu()
26 goto realloc; in sched__get_first_possible_cpu()
/tools/perf/arch/x86/util/
A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/tools/lib/perf/
A Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/tools/virtio/linux/
A Dkernel.h94 return realloc(p, s); in krealloc()
/tools/testing/selftests/mm/
A Dtranshuge-stress.c110 map = realloc(map, idx + 1); in main()
/tools/testing/vsock/
A Dcontrol.c189 new_buf = realloc(buf, buflen + 80); in control_readln()
/tools/perf/bench/
A Dpmu-scan.c49 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result()
/tools/power/cpupower/bench/
A Dparse.c79 filename_tmp = realloc(filename, sizeof(*filename) * len); in prepare_output()
/tools/tracing/rtla/src/
A Dactions.c54 self->list = realloc(self->list, self->size * sizeof(struct action)); in actions_new()
/tools/usb/usbip/libsrc/
A Dusbip_host_common.c94 edev = realloc(edev, size); in usbip_exported_device_new()
/tools/bpf/bpftool/
A Dpids.c47 tmp = realloc(refs->refs, (refs->ref_cnt + 1) * sizeof(*ref)); in add_ref()
A Dnet.c375 tmp = realloc(netinfo->devices, in dump_link_nlmsg()
411 tmp = realloc(tcinfo->handle_array, in dump_class_qdisc_nlmsg()
873 expand = realloc(nf_link_info, nf_link_len * sizeof(info)); in show_link_netfilter()
/tools/testing/selftests/arm64/fp/
A Dza-ptrace.c70 p = realloc(*buf, sz); in get_za()

Completed in 63 milliseconds

1234