realloc 456 arch/mips/boot/tools/relocs.c void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); realloc 51 arch/powerpc/boot/libfdt-wrapper.c buf = platform_ops.realloc(buf, size); realloc 30 arch/powerpc/boot/ops.h void * (*realloc)(void *ptr, unsigned long size); realloc 147 arch/powerpc/boot/simple_alloc.c platform_ops.realloc = simple_realloc; realloc 136 arch/s390/tools/gen_facilities.c array = realloc(array, (dword + 1) * 8); realloc 168 arch/s390/tools/gen_opcode_table.c desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn)); realloc 256 arch/s390/tools/gen_opcode_table.c desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); realloc 504 arch/x86/kernel/apic/vector.c bool realloc = false; realloc 522 arch/x86/kernel/apic/vector.c realloc = true; realloc 525 arch/x86/kernel/apic/vector.c return realloc; realloc 653 arch/x86/tools/relocs.c void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); realloc 673 drivers/media/pci/tw686x/tw686x-video.c unsigned int height, bool realloc) realloc 684 drivers/media/pci/tw686x/tw686x-video.c if (dev->dma_ops->alloc && realloc) { realloc 741 drivers/media/pci/tw686x/tw686x-video.c bool realloc; realloc 752 drivers/media/pci/tw686x/tw686x-video.c realloc = area != (f->fmt.pix.width * f->fmt.pix.height); realloc 755 drivers/media/pci/tw686x/tw686x-video.c realloc); realloc 1912 drivers/net/ethernet/neterion/vxge/vxge-config.h realloc: realloc 1928 drivers/net/ethernet/neterion/vxge/vxge-config.h goto realloc; realloc 1967 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y versions = realloc(versions, newlen + oldlen + 2); realloc 467 include/linux/irqdomain.h bool realloc, realloc 1328 kernel/irq/irqdomain.c bool realloc, const struct irq_affinity_desc *affinity) realloc 1338 kernel/irq/irqdomain.c if (realloc && irq_base >= 0) { realloc 1431 net/sunrpc/auth_gss/auth_gss.c realloc: realloc 1456 net/sunrpc/auth_gss/auth_gss.c goto realloc; realloc 85 scripts/dtc/fdtput.c value = realloc(value, value_size); realloc 50 scripts/dtc/util.h void *new = realloc(p, len); realloc 278 scripts/kallsyms.c table = realloc(table, sizeof(*table) * table_size); realloc 489 scripts/kconfig/nconf.gui.c *resultp = result = realloc(result, realloc 971 scripts/kconfig/symbol.c tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); realloc 102 scripts/kconfig/util.c p = realloc(p, size); realloc 2146 scripts/mod/modpost.c buf->p = NOFAIL(realloc(buf->p, buf->size)); realloc 110 scripts/recordmcount.c file_append = realloc(file_append, aoffset); realloc 96 tools/bpf/bpftool/net.c netinfo->devices = realloc(netinfo->devices, realloc 131 tools/bpf/bpftool/net.c tcinfo->handle_array = realloc(tcinfo->handle_array, realloc 811 tools/bpf/bpftool/prog.c tmp = realloc(*data_ptr, buf_size); realloc 212 tools/hv/hv_kvp_daemon.c record = realloc(record, alloc_unit * num_blocks); realloc 348 tools/hv/hv_kvp_daemon.c record = realloc(record, sizeof(struct kvp_record) * realloc 17 tools/include/tools/libc_compat.h return realloc(ptr, bytes); realloc 26 tools/lib/api/fd/array.c struct pollfd *entries = realloc(fda->entries, size); realloc 31 tools/lib/api/fd/array.c priv = realloc(fda->priv, psize); realloc 374 tools/lib/api/fs/fs.c nbf = realloc(bf, alloc_size); realloc 56 tools/lib/bpf/btf.c new_types = realloc(btf->types, sizeof(*new_types) * new_size); realloc 667 tools/lib/bpf/btf.c temp_ptr = realloc(ptr, last_size); realloc 1023 tools/lib/bpf/btf.c data = realloc(*info, existing_len + records_len); realloc 1334 tools/lib/bpf/btf.c new_list = realloc(d->hypot_list, sizeof(__u32) * d->hypot_cap); realloc 1630 tools/lib/bpf/btf.c new_ptrs = realloc(strs.ptrs, realloc 2716 tools/lib/bpf/btf.c new_types = realloc(d->btf->types, realloc 317 tools/lib/bpf/btf_dump.c new_queue = realloc(d->emit_queue, realloc 989 tools/lib/bpf/btf_dump.c new_stack = realloc(d->decl_stack, realloc 788 tools/lib/bpf/libbpf.c new_maps = realloc(obj->maps, new_cap * sizeof(*obj->maps)); realloc 5936 tools/lib/bpf/libbpf.c tmp = realloc(*mask, end + 1); realloc 52 tools/lib/subcmd/subcmd-util.h void *ret = realloc(ptr, size); realloc 54 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, 1); realloc 56 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, size); realloc 58 tools/lib/subcmd/subcmd-util.h ret = realloc(ptr, 1); realloc 287 tools/lib/traceevent/event-parse.c cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (tep->cmdline_count + 1)); realloc 820 tools/lib/traceevent/event-parse.c struct tep_event **events = realloc(tep->events, sizeof(event) * realloc 985 tools/lib/traceevent/event-parse.c char *newtok = realloc(*tok, size); realloc 1494 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, realloc 1546 tools/lib/traceevent/event-parse.c new_brackets = realloc(brackets, realloc 1569 tools/lib/traceevent/event-parse.c new_brackets = realloc(brackets, strlen(brackets) + 2); realloc 1586 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, realloc 1604 tools/lib/traceevent/event-parse.c new_type = realloc(field->type, realloc 2055 tools/lib/traceevent/event-parse.c new_atom = realloc(left->atom.atom, realloc 3155 tools/lib/traceevent/event-parse.c new_atom = realloc(atom, realloc 117 tools/lib/traceevent/event-plugin.c list = realloc(list, count + 2); realloc 136 tools/lib/traceevent/parse-filter.c filter_type = realloc(filter->event_filters, realloc 72 tools/lib/traceevent/plugins/plugin_function.c ptr = realloc(stack->stack, sizeof(char *) * realloc 99 tools/lib/traceevent/plugins/plugin_function.c ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); realloc 87 tools/lib/traceevent/trace-seq.c buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); realloc 705 tools/perf/arch/arm/util/cs-etm.c wrapped = realloc(ptr->wrapped, cnt * sizeof(bool)); realloc 34 tools/perf/arch/x86/util/machine.c buf = realloc(mi->maps, sz); realloc 363 tools/perf/builtin-kmem.c func = realloc(alloc_func_list, realloc 691 tools/perf/builtin-kmem.c new = realloc(new_flags, len + strlen(cpt) + 2); realloc 764 tools/perf/builtin-kmem.c new = realloc(gfps, (nr_gfps + 1) * sizeof(*gfps)); realloc 197 tools/perf/builtin-kvm.c event->vcpu = realloc(event->vcpu, realloc 366 tools/perf/builtin-sched.c task->atoms = realloc(task->atoms, size); realloc 454 tools/perf/builtin-sched.c BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * realloc 477 tools/perf/builtin-sched.c sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); realloc 1875 tools/perf/builtin-sched.c p = realloc(r->last_time, n * sizeof(u64)); realloc 2258 tools/perf/builtin-sched.c p = realloc(idle_threads, j * sizeof(struct thread *)); realloc 1126 tools/perf/builtin-trace.c struct file *nfiles = realloc(ttrace->files.table, (fd + 1) * sizeof(struct file)); realloc 1611 tools/perf/builtin-trace.c entries = realloc(trace->ev_qualifier_ids.entries, realloc 2249 tools/perf/builtin-trace.c char *f = realloc(ttrace->filename.name, filename_len + 1); realloc 108 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); realloc 119 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); realloc 209 tools/perf/lib/cpumap.c tmp = realloc(tmp_cpus, max_entries * sizeof(int)); realloc 23 tools/perf/lib/threadmap.c map = realloc(map, size); realloc 87 tools/perf/pmu-events/jevents.c out = realloc(*dst, len + olen + blen); realloc 19 tools/perf/tests/perf-record.c realloc: realloc 25 tools/perf/tests/perf-record.c goto realloc; realloc 108 tools/perf/tests/switch-tracking.c addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); realloc 112 tools/perf/util/annotate.c new_instructions = realloc(arch->instructions, new_nr_allocated * sizeof(struct ins)); realloc 450 tools/perf/util/auxtrace.c heap_array = realloc(heap->heap_array, realloc 104 tools/perf/util/data.c file = realloc(files, (nr + 1) * sizeof(*files)); realloc 72 tools/perf/util/genelf_debug.c tmp = realloc(be->data, be_sz); realloc 114 tools/perf/util/header.c addr = realloc(ff->buf, new_size); realloc 43 tools/perf/util/help-unknown-cmd.c tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); realloc 216 tools/perf/util/jitdump.c n = realloc(buf, bs); realloc 289 tools/perf/util/jitdump.c n = realloc(jd->buf, bs); realloc 137 tools/perf/util/llvm-utils.c new_buf = realloc(buf, buf_sz); realloc 97 tools/perf/util/mem2node.c tmp_entries = realloc(entries, sizeof(*entries) * j); realloc 1895 tools/perf/util/session.c void *new = realloc(buf, size); realloc 723 tools/perf/util/sort.c return realloc(seq.buffer, seq.len + 1); realloc 64 tools/perf/util/strbuf.c buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf)); realloc 150 tools/perf/util/symbol-minimal.c tmp = realloc(buf, buf_size); realloc 201 tools/perf/util/symbol-minimal.c tmp = realloc(buf, buf_size); realloc 118 tools/perf/util/thread-stack.c new_stack = realloc(ts->stack, sz); realloc 68 tools/perf/util/values.c void *npid = realloc(values->pid, nthreads_max * sizeof(*values->pid)), realloc 69 tools/perf/util/values.c *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), realloc 70 tools/perf/util/values.c *nvalue = realloc(values->value, nthreads_max * sizeof(*values->value)); realloc 121 tools/perf/util/values.c u64 *counterrawid = realloc(values->counterrawid, counters_max * sizeof(*values->counterrawid)); realloc 128 tools/perf/util/values.c countername = realloc(values->countername, counters_max * sizeof(*values->countername)); realloc 135 tools/perf/util/values.c u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); realloc 78 tools/power/cpupower/bench/parse.c filename_tmp = realloc(filename, sizeof(*filename) * len); realloc 274 tools/testing/selftests/bpf/cgroup_helpers.c fhp2 = realloc(fhp, fhsize); realloc 3561 tools/testing/selftests/bpf/test_btf.c tmp_strs_idx = realloc(strs_idx, realloc 400 tools/testing/selftests/bpf/test_progs.c tmp = realloc(set, set_len); realloc 183 tools/testing/selftests/gpio/gpio-mockup-chardev.c cinfo = realloc(cinfo, sizeof(struct gpiochip_info) * 4 * i); realloc 121 tools/testing/selftests/vm/transhuge-stress.c map = realloc(map, idx + 1); realloc 703 tools/testing/selftests/x86/protection_keys.c pkey_malloc_records = realloc(pkey_malloc_records, new_size); realloc 164 tools/testing/vsock/control.c new_buf = realloc(buf, buflen + 80); realloc 94 tools/usb/usbip/libsrc/usbip_host_common.c edev = realloc(edev, size); realloc 91 tools/virtio/linux/kernel.h return realloc(p, s);