Home
last modified time | relevance | path

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

1234

/linux/rust/kernel/
H A Dalloc.rs187 unsafe { Self::realloc(None, layout, Layout::new::<()>(), flags, nid) } in alloc()
230 unsafe fn realloc( in realloc() method
252 Self::realloc( in free()
H A Did_pool.rs89 pub fn realloc(&self, flags: Flags) -> Result<PoolResizer, AllocError> { in realloc() method
/linux/rust/kernel/alloc/
H A Dallocator.rs146 unsafe fn realloc( in realloc() method
216 unsafe fn realloc( in realloc() method
237 unsafe fn realloc( in realloc() method
/linux/tools/testing/selftests/riscv/vector/
H A Dvstate_ptrace.c76 data = realloc(data, size + v_regset_hdr->vlenb * 32); in do_parent()
94 data = realloc(data, size); in do_parent()
/linux/tools/testing/selftests/filesystems/fuse/
H A Dfuse_mnt.c98 content = realloc(content, new_size); in test_write()
122 content = realloc(content, size); in test_truncate()
/linux/tools/lib/api/fd/
H A Darray.c27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
32 priv = realloc(fda->priv, psize); in fdarray__grow()
/linux/tools/include/tools/
H A Dlibc_compat.h17 return realloc(ptr, bytes); in reallocarray()
/linux/tools/testing/selftests/bpf/
H 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()
/linux/scripts/include/
H A Dxalloc.h29 p = realloc(p, size); in xrealloc()
/linux/tools/perf/tests/
H 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()
H A Dperf-record.c24 realloc: in sched__get_first_possible_cpu()
30 goto realloc; in sched__get_first_possible_cpu()
/linux/arch/s390/tools/
H A Dgen_opcode_table.c168 desc->insn = realloc(desc->insn, desc->nr * sizeof(*desc->insn)); in read_instructions()
271 desc->group = realloc(desc->group, desc->nr_groups * sizeof(*desc->group)); in add_to_group()
/linux/tools/perf/arch/x86/util/
H A Dmachine.c34 buf = realloc(mi->maps, sz); in add_extra_kernel_map()
/linux/arch/powerpc/boot/
H A Dsimple_alloc.c148 platform_ops.realloc = simple_realloc; in simple_alloc_init()
H A Dlibfdt-wrapper.c51 buf = platform_ops.realloc(buf, size); in expand_buf()
/linux/tools/lib/perf/
H A Dthreadmap.c23 map = realloc(map, size); in perf_thread_map__realloc()
/linux/tools/perf/util/
H A Dgenelf.c347 tmp = realloc(build_id_data, build_id_data_len + sizeof(symtab)); in jit_write_elf()
398 tmp = realloc(build_id_data, build_id_data_len + symlen); in jit_write_elf()
H A Dhelp-unknown-cmd.c43 tmp = realloc(cmds->names, cmds->alloc * sizeof(*cmds->names)); in add_cmd_list()
H A Dmem2node.c98 tmp_entries = realloc(entries, sizeof(*entries) * j); in mem2node__init()
H A Dstrbuf.c64 buf = realloc(sb->alloc ? sb->buf : NULL, nr * sizeof(*buf)); in strbuf_grow()
/linux/tools/testing/selftests/mm/
H A Dtranshuge-stress.c110 map = realloc(map, idx + 1); in main()
/linux/tools/virtio/linux/
H A Dkernel.h95 return realloc(p, s); in krealloc()
/linux/tools/testing/vsock/
H A Dcontrol.c189 new_buf = realloc(buf, buflen + 80); in control_readln()
/linux/tools/perf/bench/
H A Dpmu-scan.c50 r = realloc(results, (nr_pmus + 1) * sizeof(*r)); in save_result()
/linux/scripts/
H A Dtracepoint-update.c49 array = realloc(array, sizeof(char *) * size); in add_string()

1234