Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/util/
Dwrapper.c29 void *ret = realloc(ptr, size); in xrealloc()
31 ret = realloc(ptr, 1); in xrealloc()
34 ret = realloc(ptr, size); in xrealloc()
36 ret = realloc(ptr, 1); in xrealloc()
Dvalues.c47 values->pid = realloc(values->pid, in perf_read_values__enlarge_threads()
49 values->tid = realloc(values->tid, in perf_read_values__enlarge_threads()
51 values->value = realloc(values->value, in perf_read_values__enlarge_threads()
84 values->counterrawid = realloc(values->counterrawid, in perf_read_values__enlarge_counters()
86 values->countername = realloc(values->countername, in perf_read_values__enlarge_counters()
92 values->value[i] = realloc(values->value[i], in perf_read_values__enlarge_counters()
Dthread_map.c109 tmp = realloc(threads, (sizeof(*threads) + in thread_map__new_by_uid()
188 nt = realloc(threads, (sizeof(*threads) + in thread_map__new_by_pid_str()
256 nt = realloc(threads, sizeof(*threads) + sizeof(pid_t) * ntasks); in thread_map__new_by_tid_str()
Dcpumap.c63 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
74 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
156 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__new()
Dalias.c44 *argv = realloc(*argv, sizeof(char*) * size); in split_cmdline()
Dsymbol-minimal.c145 tmp = realloc(buf, buf_size); in filename__read_build_id()
196 tmp = realloc(buf, buf_size); in filename__read_build_id()
Dutil.c504 nbf = realloc(bf, alloc_size); in filename__read_str()
Dthread-stack.c116 new_stack = realloc(ts->stack, sz); in thread_stack__grow()
Dsession.c1217 void *new = realloc(buf, size); in __perf_session__process_pipe_events()
/linux-4.1.27/tools/lib/api/fd/
Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/linux-4.1.27/tools/lib/traceevent/
Dplugin_function.c71 ptr = realloc(stack->stack, sizeof(char *) * in add_child()
98 ptr = realloc(fstack, sizeof(*fstack) * (cpu + 1)); in add_and_get_index()
Dtrace-seq.c99 buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); in expand_buffer()
Devent-plugin.c129 list = realloc(list, count + 2); in traceevent_plugin_list_options()
Devent-parse.c263 cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (pevent->cmdline_count + 1)); in add_new_comm()
694 struct event_format **events = realloc(pevent->events, sizeof(event) * in add_event()
857 char *newtok = realloc(*tok, size); in extend_token()
1366 new_type = realloc(field->type, in event_read_fields()
1418 new_brackets = realloc(brackets, in event_read_fields()
1441 new_brackets = realloc(brackets, strlen(brackets) + 2); in event_read_fields()
1458 new_type = realloc(field->type, in event_read_fields()
1476 new_type = realloc(field->type, in event_read_fields()
1923 new_atom = realloc(left->atom.atom, in process_op()
2950 new_atom = realloc(atom, in process_arg_token()
Dparse-filter.c144 filter_type = realloc(filter->event_filters, in add_filter_type()
1636 new_ids = realloc(ids, sizeof(*ids) * (count + 1)); in pevent_filter_clear_trivial()
/linux-4.1.27/tools/perf/tests/
Dperf-record.c11 realloc: in sched__get_first_possible_cpu()
17 goto realloc; in sched__get_first_possible_cpu()
Dswitch-tracking.c100 addr = realloc(switch_tracking->tids, nr * sizeof(pid_t)); in check_cpu()
/linux-4.1.27/scripts/
Ddocproc.c157 realloc(sym->symbollist, (sym->symbolcnt + 1) * sizeof(char *)); in add_new_symbol()
398 data = realloc(data, data_len + 4096); in find_all_symbols()
422 all_list = realloc(all_list, sizeof(char *) * all_list_len); in find_all_symbols()
Dkallsyms.c273 table = realloc(table, sizeof(*table) * table_size); in read_map()
/linux-4.1.27/scripts/dtc/
Dutil.h51 void *new = realloc(p, len); in xrealloc()
Dfdtput.c99 value = realloc(value, value_size); in encode_value()
Ddtc-lexer.lex.c_shipped216 * and can realloc() it to grow it, and should free() it to
1843 * immediate realloc on the next call.
2159 return (void *) realloc( (char *) ptr, size );
/linux-4.1.27/tools/virtio/linux/
Dkernel.h60 return realloc(p, s); in krealloc()
/linux-4.1.27/drivers/pci/
DKconfig44 re-allocation needs to be enabled. You can always use pci=realloc=on
45 or pci=realloc=off to override it. Note this feature is a no-op
/linux-4.1.27/arch/powerpc/boot/
Dsimple_alloc.c147 platform_ops.realloc = simple_realloc; in simple_alloc_init()
Dlibfdt-wrapper.c65 buf = platform_ops.realloc(buf, size); in expand_buf()
Dops.h30 void * (*realloc)(void *ptr, unsigned long size); member
/linux-4.1.27/tools/testing/selftests/vm/
Dtranshuge-stress.c121 map = realloc(map, idx + 1); in main()
/linux-4.1.27/scripts/kconfig/
Dutil.c107 gs->s = realloc(gs->s, l); in str_append()
Dzconf.l55 text = realloc(text, new_size); in append_string()
Dnconf.gui.c375 *resultp = result = realloc(result, *result_len); in dialog_inputbox()
481 *resultp = result = realloc(result, in dialog_inputbox()
Dzconf.lex.c817 text = realloc(text, new_size); in append_string()
2291 return (void *) realloc( (char *) ptr, size ); in zconfrealloc()
Dsymbol.c904 res = realloc(res, reslen); in sym_expand_string_value()
1016 tmp = realloc(sym_match_arr, size * sizeof(struct sym_match)); in sym_re_search()
Dzconf.lex.c_shipped225 * and can realloc() it to grow it, and should free() it to
817 text = realloc(text, new_size);
1975 * immediate realloc on the next call.
2291 return (void *) realloc( (char *) ptr, size );
Dconfdata.c204 nline = realloc(*lineptr, new_size); in add_byte()
/linux-4.1.27/tools/power/cpupower/bench/
Dparse.c87 filename = realloc(filename, sizeof(char) * len); in prepare_output()
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_host_driver.c95 edev = realloc(edev, size); in usbip_exported_device_new()
/linux-4.1.27/include/linux/
Dirqdomain.h268 bool realloc);
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_inode_fork.c1645 int realloc) /* new bytes were just added */ in xfs_iext_idx_to_irec() argument
1658 ASSERT(page_idx < ifp->if_bytes / sizeof(xfs_bmbt_rec_t) || realloc); in xfs_iext_idx_to_irec()
1671 realloc && prev && prev->er_extcount < XFS_LINEAR_EXTS)) { in xfs_iext_idx_to_irec()
1675 !realloc)) { in xfs_iext_idx_to_irec()
1679 ASSERT(realloc); in xfs_iext_idx_to_irec()
/linux-4.1.27/tools/hv/
Dhv_kvp_daemon.c211 record = realloc(record, alloc_unit * num_blocks); in kvp_update_mem_state()
289 record = realloc(record, alloc_unit * in kvp_file_init()
392 record = realloc(record, sizeof(struct kvp_record) * in kvp_key_add_or_modify()
/linux-4.1.27/kernel/irq/
Dirqdomain.c1059 bool realloc) in __irq_domain_alloc_irqs() argument
1074 if (realloc && irq_base >= 0) { in __irq_domain_alloc_irqs()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h1912 realloc: in vxge_os_dma_malloc()
1928 goto realloc; in vxge_os_dma_malloc()
/linux-4.1.27/tools/perf/
Dperf.c323 new_argv = realloc(new_argv, sizeof(char *) * in handle_alias()
Dbuiltin-sched.c251 task->atoms = realloc(task->atoms, size); in get_new_event()
339 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
362 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid()
Dbuiltin-kvm.c168 event->vcpu = realloc(event->vcpu, in kvm_event_expand()
Dbuiltin-trace.c1266 char **npath = realloc(ttrace->paths.table, (fd + 1) * sizeof(char *)); in trace__set_fd_pathname()
1476 struct syscall *nsyscalls = realloc(trace->syscalls.table, (id + 1) * sizeof(*sc)); in trace__read_syscall_info()
/linux-4.1.27/arch/x86/tools/
Drelocs.c634 void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); in add_reloc()
/linux-4.1.27/scripts/genksyms/
Dlex.lex.c_shipped206 * and can realloc() it to grow it, and should free() it to
1580 * immediate realloc on the next call.
1896 return (void *) realloc( (char *) ptr, size );
/linux-4.1.27/net/sunrpc/auth_gss/
Dauth_gss.c1370 realloc: in gss_stringify_acceptor()
1395 goto realloc; in gss_stringify_acceptor()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y1971 versions = realloc(versions, newlen + oldlen + 2); in add_version()
/linux-4.1.27/scripts/mod/
Dmodpost.c2030 buf->p = realloc(buf->p, buf->size); in buf_write()
/linux-4.1.27/tools/lguest/
Dlguest.c2431 dev->mmio = realloc(dev->mmio, dev->mmio_size); in set_device_config()
/linux-4.1.27/Documentation/
Dkernel-parameters.txt2795 realloc= Enable/disable reallocating PCI bridge resources
2799 off: Turn realloc off
2800 on: Turn realloc on
2801 realloc same as realloc=on