Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 24 of 24) sorted by relevance

/arch/um/os-Linux/
A Dumid.c52 uml_dir = malloc(strlen(dir) + 1); in make_uml_dir()
142 file = malloc(filelen); in is_umdir_used()
216 file = malloc(n); in create_pid_file()
373 uml_dir = malloc(strlen(name) + 2); in set_uml_dir()
397 dir = malloc(strlen(uml_dir) + UMID_LEN + 1); in remove_umid_dir()
A Dregisters.c32 exec_fp_regs = malloc(host_fp_size); in init_pid_registers()
A Dmain.c93 new_path = malloc(path_len); in setup_env_path()
131 new_argv = malloc((argc + 1) * sizeof(char *)); in main()
A Dexecvp.c33 #define um_kmalloc malloc
A Dstart_up.c342 exec_fp_regs = malloc(host_fp_size); in init_seccomp()
519 new = malloc(sizeof(*new)); in parse_iomem()
A Dmem.c156 tempname = malloc(strlen(tempdir) + strlen(template) + 1); in make_tempfile()
/arch/parisc/boot/compressed/
A Dmisc.c22 #define malloc malloc_gzip macro
206 #undef malloc
207 static void *malloc(size_t size) in malloc() function
258 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
/arch/powerpc/boot/
A Dops.h26 void * (*malloc)(unsigned long size); member
209 static inline void *malloc(unsigned long size) in malloc() function
211 return (platform_ops.malloc) ? platform_ops.malloc(size) : NULL; in malloc()
A Dmain.c131 initrd_addr = (unsigned long)malloc(initrd_size); in prep_initrd()
173 esm_blob_addr = (unsigned long)malloc(esm_blob_size); in prep_esm_blob()
A Dof.c66 platform_ops.malloc = of_try_claim; in of_platform_init()
A Dsimple_alloc.c146 platform_ops.malloc = simple_malloc; in simple_alloc_init()
A Dlibfdt-wrapper.c175 buf = malloc(bufsize); in fdt_init()
A Doflib.c189 p = malloc(size); in of_vmlinux_alloc()
/arch/alpha/boot/
A Dmisc.c165 window = malloc(WSIZE); in decompress_kernel()
/arch/x86/boot/compressed/
A Dmisc.h63 void *malloc(int size);
A Dmisc.c302 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
A Dkaslr.c239 tmp_cmdline = malloc(len + 1); in handle_mem_options()
/arch/um/
A DMakefile133 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
/arch/x86/tools/
A Drelocs.c455 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
477 sec->xsymtab = malloc(sec->shdr.sh_size); in read_symtabs()
493 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
531 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
/arch/mips/boot/tools/
A Drelocs.c304 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
328 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
372 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
/arch/s390/tools/
A Drelocs.c229 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
/arch/um/os-Linux/skas/
A Dprocess.c382 tmpfile = malloc(strlen(tempdir) + in init_stub_exe_fd()
/arch/mips/boot/
A Delf2ecoff.c142 if (!(tmp = (char *) malloc(len))) { in saveRead()
/arch/arm/boot/compressed/
A Dhead.S631 mov r1, sp @ malloc space above stack

Completed in 32 milliseconds