realloc
void *mem = realloc(r->offset, newsize * sizeof(r->offset[0]));
buf = platform_ops.realloc(buf, size);
void * (*realloc)(void *ptr, unsigned long size);
platform_ops.realloc = simple_realloc;
array = realloc(array, (dword + 1) * 8);
desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn));
desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group));
void *mem = realloc(r->offset, newsize * sizeof(r->offset[0]));
bool realloc = false;
realloc = true;
return realloc;
void *mem = realloc(r->offset, newsize * sizeof(r->offset[0]));
unsigned int height, bool realloc)
if (dev->dma_ops->alloc && realloc) {
bool realloc;
realloc = area != (f->fmt.pix.width * f->fmt.pix.height);
realloc);
versions = realloc(versions, newlen + oldlen + 2);
int node, void *arg, bool realloc,
bool realloc, const struct irq_affinity_desc *affinity)
if (realloc && irq_base >= 0) {
bool realloc, const struct irq_affinity_desc *affinity)
realloc, affinity);
bool realloc, const struct irq_affinity_desc *affinity)
bool realloc, const struct irq_affinity_desc *affinity);
realloc:
goto realloc;
tmp = realloc(stmnt, bufsize);
value = realloc(value, value_size);
void *new = realloc(p, len);
p = realloc(p, size);
*resultp = result = realloc(result,
tmp = realloc(sym_match_arr, size * sizeof(struct sym_match));
p = realloc(file_append, aoffset);
fi = realloc(function_list, fsize * sizeof(struct func_info));
array = realloc(array, sizeof(char *) * size);
func->leafs = realloc(func->leafs, (s + 1) * sizeof(*leaf));
tmp = realloc(arr->elems, sizeof(*arr->elems) * new_cap);
tmp = realloc(*fds, (nb_fds + 1) * sizeof(int));
tmp = realloc(*fds, (nb_fds + 1) * sizeof(int));
tmp = realloc(netinfo->devices,
tmp = realloc(tcinfo->handle_array,
expand = realloc(nf_link_info, nf_link_len * sizeof(info));
tmp = realloc(refs->refs, (refs->ref_cnt + 1) * sizeof(*ref));
tmp = realloc(*data_ptr, buf_size);
ptr = realloc(*info_data, needed);
arr = realloc(arr, sizeof(u32) * cap);
arr = realloc(arr, sizeof(struct kfunc) * cap);
record = realloc(record, alloc_unit * num_blocks);
record = realloc(record, sizeof(struct kvp_record) *
return realloc(ptr, bytes);
struct pollfd *entries = realloc(fda->entries, size);
priv = realloc(fda->priv, psize);
temp = realloc(line, line_len + sizeof(buf));
temp = realloc(line, line_len + buf_pos + 1);
tmp = realloc(buf, buf_sz);
temp_ptr = realloc(ptr, last_size);
insn_start = realloc(gen->insn_start, off + size);
data_start = realloc(gen->data_start, off + size);
tmp = realloc(*mask, end + 1);
new_prog_info = realloc(*prog_info, new_sz);
tmp = realloc(log_buf, log_buf_size);
return realloc(ptr, total);
tmp = realloc(dst->raw_data, dst_final_sz);
nbuf = realloc(iov->iov_base, len);
tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu));
dst = realloc(map->event_copy, size);
map = realloc(map, size);
group = realloc(ordered, len);
void *ret = realloc(ptr, size);
__tt = realloc(__tt, sizeof(*__tt) * (size + 2));
__tt = realloc(__tt, sizeof(*__tt) * (size + 2));
__tz = realloc(__tz, sizeof(*__tz) * (size + 2));
__cdev = realloc(__cdev, sizeof(*__cdev) * (size + 2));
rsec->data->d_buf = realloc(rsec->data->d_buf,
tmp_buf = realloc(list->rps,
buf = realloc(mi->maps, sz);
r = realloc(results, (nr_pmus + 1) * sizeof(*r));
func = realloc(alloc_func_list,
new = realloc(new_flags, len + strlen(cpt) + 2);
new = realloc(gfps, (nr_gfps + 1) * sizeof(*gfps));
event->vcpu = realloc(event->vcpu,
addrs = realloc(filters.addrs,
tmp = realloc(filters.types, (filters.nr_types + 1) * sizeof(*filters.types));
tmp = realloc(filters.addrs, (filters.nr_addrs + 1) * sizeof(*filters.addrs));
tmp = realloc(filters.syms, (filters.nr_syms + 1) * sizeof(*filters.syms));
tmp = realloc(filters.slabs, (filters.nr_slabs + 1) * sizeof(*filters.slabs));
tmp = realloc(filters.cgrps, (filters.nr_cgrps + 1) * sizeof(*filters.cgrps));
tmp = realloc(delays, (nr_delays + 1) * sizeof(*delays));
thread_masks = realloc(rec->thread_masks, (t + 1) * sizeof(struct thread_mask));
tmp_spec = realloc(maps_spec, (nr_spec + 1) * sizeof(char *));
tmp_spec = realloc(affinity_spec, (nr_spec + 1) * sizeof(char *));
p = realloc(r->last_time, n * sizeof(u64));
p = realloc(idle_threads, j * sizeof(struct thread *));
task->atoms = realloc(task->atoms, size);
BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) *
sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *));
a = realloc(dlargv, sizeof(dlargv[0]) * (dlargc + 1));
struct file *nfiles = realloc(ttrace->files.table, (fd + 1) * sizeof(struct file));
entries = realloc(trace->ev_qualifier_ids.entries,
u32 *new_errnos = realloc(stats->errnos, err * sizeof(u32));
char *f = realloc(ttrace->filename.name, filename_len + 1);
realloc:
goto realloc;
addr = realloc(switch_tracking->tids, nr * sizeof(pid_t));
result_tmp = realloc(*result, (*result_sz + 1) * sizeof(*result_tmp));
result_tmp = realloc(result, (result_sz + 1) * sizeof(*result_tmp));
heap_array = realloc(heap->heap_array,
tmp = realloc(ids, alloced * sizeof(*ids));
addrs = realloc(con->filters->addrs,
realloc(c,
file = realloc(files, (nr + 1) * sizeof(*files));
new_instructions = realloc((void *)arch->instructions,
temp = realloc(dsos->dsos, sizeof(struct dso *) * to_allocate);
tmp = realloc(data->scopes, (data->nr + 1) * sizeof(*tmp));
tmp = realloc(be->data, be_sz);
addr = realloc(ff->buf, new_size);
temp_domains = realloc(cd_map[cpu]->domains, dcount * sizeof(domain_info));
tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names));
n = realloc(buf, bs);
n = realloc(jd->buf, bs);
maps_by_address = realloc(maps_by_address, nr_allocate * sizeof(new));
maps_by_name = realloc(maps_by_name, nr_allocate * sizeof(new));
maps_by_address = realloc(maps_by_address, nr_allocate * sizeof(new1));
maps_by_name = realloc(maps_by_name, nr_allocate * sizeof(new1));
tmp_entries = realloc(entries, sizeof(*entries) * j);
pending = realloc(pending,
root_metric->metric_refs = realloc(root_metric->metric_refs,
void *new = realloc(buf, size);
return realloc(seq.buffer, seq.len + 1);
buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf));
tmp = realloc(buf, buf_size);
char *tmp = realloc(demangled, buf_len);
new_stack = realloc(ts->stack, sz);
struct evsel **new_counters = realloc(values->counters,
u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value));
void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)),
*ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)),
*nvalue = realloc(values->value, nthreads_max * sizeof(*values->value));
filename_tmp = realloc(filename, sizeof(*filename) * len);
samples = realloc(samples, (rate * channels *
p = realloc(*buf, sz);
p = realloc(*buf, sz);
p = realloc(*buf, sz);
fhp2 = realloc(fhp, fhsize);
tmp_strs_idx = realloc(strs_idx,
tmp = realloc(msgs->patterns,
realloc(state->subtest_states,
ctmp = realloc(test->subtests,
tmp = realloc(set, new_len);
tmp = realloc(set->tests, sizeof(*test) * (set->cnt + 1));
tmp_addrs = realloc(addrs, max_cnt * sizeof(long));
tmp = realloc(lines, lines_cap * sizeof(*tmp));
tmp = realloc(env.prog_stats, (env.prog_stat_cnt + 1) * sizeof(*env.prog_stats));
tmp = realloc(*presets, (*cnt + 1) * sizeof(**presets));
tmp = realloc(*statsp, (*stat_cntp + 1) * sizeof(**statsp));
tmp = realloc(env.join_stats, (env.join_stat_cnt + 1) * sizeof(*env.join_stats));
tmp = realloc(*filters, (*cnt + 1) * sizeof(**filters));
tmp = realloc(env.filenames, (env.filename_cnt + 1) * sizeof(*env.filenames));
tmp = realloc(map, map_len + 1);
tmp = realloc(que, que_len + 1);
nbuf = realloc(iov->iov_base, len);
content = realloc(content, size);
content = realloc(content, new_size);
pkey_malloc_records = realloc(pkey_malloc_records, new_size);
map = realloc(map, idx + 1);
next_buffer = realloc(buffer, buffer_len);
data = realloc(data, size + v_regset_hdr->vlenb * 32);
data = realloc(data, size);
info = realloc(info, info->argsz);
new_buf = realloc(buf, buflen + 80);
config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) *
tz = realloc(thermometer->tz, sizeof(*thermometer->tz) * (thermometer->nr_tz + 1));
config->tz_regex = realloc(config->tz_regex, sizeof(*config->tz_regex) *
self->list = realloc(self->list, self->size * sizeof(struct action));
edev = realloc(edev, size);
return realloc(p, s);