malloc 363 arch/x86/boot/compressed/misc.c phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); malloc 291 arch/x86/boot/compressed/relocs.c sec->strtab = malloc(sec->shdr.sh_size); malloc 316 arch/x86/boot/compressed/relocs.c sec->symtab = malloc(sec->shdr.sh_size); malloc 349 arch/x86/boot/compressed/relocs.c sec->reltab = malloc(sec->shdr.sh_size); malloc 545 arch/x86/boot/compressed/relocs.c relocs = malloc(reloc_count * sizeof(relocs[0])); malloc 155 firmware/ihex2fw.c record = malloc((sizeof (*record) + len + 3) & ~3); malloc 360 lib/inflate.c stk = malloc(sizeof(*stk)); malloc 484 lib/inflate.c if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == malloc 775 lib/inflate.c l = malloc(sizeof(*l) * 288); malloc 848 lib/inflate.c ll = malloc(sizeof(*ll) * (288+32)); /* literal/length and distance code lengths */ malloc 850 lib/inflate.c ll = malloc(sizeof(*ll) * (286+30)); /* literal/length and distance code lengths */ malloc 237 scripts/basic/docproc.c vec = malloc((2 + 2 * symcnt + 3) * sizeof(char *)); malloc 69 scripts/genksyms/genksyms.h #define xmalloc(size) ({ void *__ptr = malloc(size); \ malloc 118 scripts/kallsyms.c s->sym = malloc(s->len + 1); malloc 290 scripts/kallsyms.c markers = malloc(sizeof(unsigned int) * ((table_cnt + 255) / 256)); malloc 17 scripts/kconfig/expr.c struct expr *e = malloc(sizeof(*e)); malloc 26 scripts/kconfig/expr.c struct expr *e = malloc(sizeof(*e)); malloc 35 scripts/kconfig/expr.c struct expr *e = malloc(sizeof(*e)); malloc 45 scripts/kconfig/expr.c struct expr *e = malloc(sizeof(*e)); malloc 74 scripts/kconfig/expr.c e = malloc(sizeof(*org)); malloc 68 scripts/kconfig/kxgettext.c struct file_line *self = malloc(sizeof(*self)); malloc 91 scripts/kconfig/kxgettext.c struct message *self = malloc(sizeof(*self)); malloc 70 scripts/kconfig/lxdialog/menubox.c char *menu_item = malloc(menu_width + 1); malloc 551 scripts/kconfig/lxdialog/util.c struct dialog_list *p = malloc(sizeof(*p)); malloc 48 scripts/kconfig/menu.c menu = malloc(sizeof(*menu)); malloc 611 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); malloc 615 scripts/kconfig/symbol.c sym->def[S_DEF_USER].val = val = malloc(size); malloc 685 scripts/kconfig/symbol.c symbol = malloc(sizeof(*symbol)); malloc 896 scripts/kconfig/symbol.c prop = malloc(sizeof(*prop)); malloc 21 scripts/kconfig/util.c file = malloc(sizeof(*file)); malloc 79 scripts/kconfig/util.c gs.s = malloc(sizeof(char) * 64); malloc 118 scripts/mod/modpost.c mod = NOFAIL(malloc(sizeof(*mod))); malloc 178 scripts/mod/modpost.c struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); malloc 1095 scripts/mod/modpost.c char *p = malloc(20); malloc 1530 scripts/mod/modpost.c mod->markers = NOFAIL(malloc(sizeof mod->markers[0] * n)); malloc 1841 scripts/mod/modpost.c tmp = NOFAIL(malloc(b->pos)); malloc 2073 scripts/mod/modpost.c NOFAIL(malloc(sizeof(*extsym_iter))); malloc 303 scripts/mod/sumversion.c cmd = NOFAIL(malloc(strlen(objfile) + sizeof("..cmd"))); malloc 314 scripts/mod/sumversion.c dir = NOFAIL(malloc(dirlen + 1)); malloc 157 scripts/pnmtologo.c logo_data = (struct color **)malloc(logo_height*sizeof(struct color *)); malloc 161 scripts/pnmtologo.c logo_data[i] = malloc(logo_width*sizeof(struct color)); malloc 318 usr/gen_init_cpio.c filebuf = malloc(buf.st_size); malloc 395 usr/gen_init_cpio.c dname = malloc(strlen(line));