/tools/include/tools/ |
A D | libc_compat.h | 17 return realloc(ptr, bytes); in reallocarray()
|
/tools/perf/util/ |
A D | values.c | 62 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 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()
|
A D | strbuf.c | 64 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf)); in strbuf_grow()
|
/tools/lib/api/ |
A D | io.h | 169 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 D | array.c | 27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow() 32 priv = realloc(fda->priv, psize); in fdarray__grow()
|
/tools/lib/subcmd/ |
A D | subcmd-util.h | 51 void *ret = realloc(ptr, size); in xrealloc()
|
/tools/lib/thermal/ |
A D | commands.c | 57 __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 D | testing_helpers.c | 53 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 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() 272 tz = realloc(thermometer->tz, sizeof(*thermometer->tz) * (thermometer->nr_tz + 1)); in thermometer_add_tz()
|
/tools/perf/tests/ |
A D | tests-scripts.c | 213 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 D | perf-record.c | 20 realloc: in sched__get_first_possible_cpu() 26 goto realloc; in sched__get_first_possible_cpu()
|
/tools/perf/arch/x86/util/ |
A D | machine.c | 34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
|
/tools/lib/perf/ |
A D | threadmap.c | 23 map = realloc(map, size); in perf_thread_map__realloc()
|
/tools/virtio/linux/ |
A D | kernel.h | 94 return realloc(p, s); in krealloc()
|
/tools/testing/selftests/mm/ |
A D | transhuge-stress.c | 110 map = realloc(map, idx + 1); in main()
|
/tools/testing/vsock/ |
A D | control.c | 189 new_buf = realloc(buf, buflen + 80); in control_readln()
|
/tools/perf/bench/ |
A D | pmu-scan.c | 49 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result()
|
/tools/power/cpupower/bench/ |
A D | parse.c | 79 filename_tmp = realloc(filename, sizeof(*filename) * len); in prepare_output()
|
/tools/tracing/rtla/src/ |
A D | actions.c | 54 self->list = realloc(self->list, self->size * sizeof(struct action)); in actions_new()
|
/tools/usb/usbip/libsrc/ |
A D | usbip_host_common.c | 94 edev = realloc(edev, size); in usbip_exported_device_new()
|
/tools/bpf/bpftool/ |
A D | pids.c | 47 tmp = realloc(refs->refs, (refs->ref_cnt + 1) * sizeof(*ref)); in add_ref()
|
A D | net.c | 375 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 D | za-ptrace.c | 70 p = realloc(*buf, sz); in get_za()
|