Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 2594) sorted by path

12345678910>>...104

/illumos-gate/exception_lists/
H A Dcheck_rtime70 # malloc; however, they do not actually reference the object.
H A Dinterface_cmp77 # - Objects that provide malloc implementations had functions intentionally
79 # 6464344 malloc library cleanup
80 # PSARC 2006/477 malloc library cleanup
/illumos-gate/usr/src/boot/common/
H A Dbcache.c122 struct bcache *bc = malloc(sizeof (struct bcache)); in bcache_allocate()
142 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize); in bcache_allocate()
146 bc->bcache_data = malloc(bc->bcache_nblks * bcache_blksize + in bcache_allocate()
150 bc->bcache_ctl = malloc(bc->bcache_nblks * sizeof (struct bcachectl)); in bcache_allocate()
H A Dboot.c279 name = malloc(len + 1); in getbootfile()
H A Ddisk.c241 od = (struct open_disk *)malloc(sizeof (struct open_disk)); in disk_open()
H A Dgfx_fb.c1118 GlyphBuffer = malloc(size); in allocate_glyphbuffer()
1181 BltBuffer = malloc(size); in gfx_fb_cons_display()
1705 da.data = malloc(fwidth * fheight * sizeof (*p)); in gfx_fb_putimage()
1937 mp = malloc(size); in load_mapping()
1970 mp = malloc(size); in builtin_mapping()
2023 fp->vf_bytes = malloc(DEFAULT_FONT_DATA.uncompressed_size); in load_font()
2080 if ((fp->vf_bytes = malloc(size)) == NULL) in load_font()
2152 nl = malloc(sizeof (*nl)); in read_list()
2160 np = malloc(sizeof (*np)); in read_list()
2468 if ((rp = malloc(sizeof (*rp))) == NULL) in gfx_get_edid_resolution()
[all …]
H A Dinstall.c63 path = malloc(len + rel); in setpath()
H A Dinterp.c225 sp = malloc(sizeof(struct includeline) + strlen(cp) + 1); in include()
H A Dinterp_forth.c109 line = malloc(strlen(name) + len + 1); in bf_command()
130 line = malloc(strlen(name) + len + 2); in bf_command()
270 fsi = malloc(sizeof (ficlSystemInformation)); in bf_init()
H A Dinterp_parse.c100 buf = malloc(PARSE_BUFSIZE); in parse()
186 *argv = malloc((sizeof (char *) * ac + 1)); in parse()
H A Disapnp.c200 str = malloc(large_len + 1); in isapnp_scan_resdata()
H A Dload_elf.c103 ef->firstpage = malloc(PAGE_SIZE); in __elfN()
704 dp = malloc(php->p_filesz); in __elfN()
803 fp = malloc(len + 1); in fake_modname()
1009 mdepend = malloc(minfolen); in __elfN()
H A Dload_elf_obj.c393 mdepend = malloc(minfolen); in __elfN()
H A Dls.c120 buf = malloc(strlen(path) + strlen(d->d_name) + 2); in command_ls()
166 path = malloc(strlen(*pathp) + 2); in ls_getdir()
H A Dmisc.c53 cp = malloc(hlong); in unargv()
89 result = malloc(strlenout(str) + 1); in strdupout()
148 buf = malloc(len); in alloc_pread()
H A Dmodule.c900 md = malloc(sizeof (struct file_metadata) - sizeof (md->md_data) + in file_addmetadata()
960 result = malloc(pathlen + namelen + extlen + 2); in file_lookup()
1254 cp = malloc(strlen(mdp->d_path) + strlen(fname) + 2); in moduledir_fullpath()
1289 mdp->d_hints = malloc(size); in moduledir_readhints()
1341 mdp = malloc(sizeof (*mdp) + cplen + 1); in moduledir_rebuild()
H A Dmultiboot2.c162 header_search = malloc(MULTIBOOT_SEARCH); in multiboot2_loadfile()
707 mmap = malloc(cur_size); in efimemmap_size()
860 if ((relocator = malloc(EFI_PAGE_SIZE * 5)) == NULL) { in multiboot2_exec()
1022 cmdline = malloc(num); in multiboot2_exec()
H A Dnvstore.c90 if ((st = malloc(sizeof (*st))) == NULL) in nvstore_init()
H A Dpart.c266 buf = malloc(table->sectorsize); in ptable_gptread()
361 entry = malloc(sizeof (*entry)); in ptable_gptread()
426 buf = malloc(table->sectorsize); in ptable_ebrread()
447 entry = malloc(sizeof (*entry)); in ptable_ebrread()
498 buf = malloc(table->sectorsize); in ptable_bsdread()
575 buf = malloc(table->sectorsize); in ptable_vtoc8read()
665 buf = malloc(table->sectorsize); in ptable_dklabelread()
721 buf = malloc(table->sectorsize); in ptable_iso9660read()
735 entry = malloc(sizeof (*entry)); in ptable_iso9660read()
765 buf = malloc(sectorsize); in ptable_open()
[all …]
H A Dpnp.c112 id = malloc(sizeof(struct pnpident)); in pnp_addident()
125 pi = malloc(sizeof(struct pnpinfo)); in pnp_allocinfo()
H A Dtem.c223 ptem->tvs_pix_data = malloc(ptem->tvs_pix_data_size); in tem_internal_init()
232 ptem->tvs_outbuf = malloc(size); in tem_internal_init()
253 ptem->tvs_screen_buf = malloc(size); in tem_internal_init()
/illumos-gate/usr/src/boot/common/linenoise/
H A Dlinenoise.c290 copy = malloc(len+1); in linenoiseAddCompletion()
319 char *new = malloc(ab->len+len); in abAppend()
803 history = malloc(sizeof(char*)*history_max_len); in linenoiseHistoryAdd()
836 new = malloc(sizeof(char*)*len); in linenoiseHistorySetMaxLen()
/illumos-gate/usr/src/boot/efi/libefi/
H A Ddevicename.c113 idev = malloc(sizeof (struct disk_devdesc)); in efi_parsedev()
123 idev = malloc(sizeof (struct zfs_devdesc)); in efi_parsedev()
133 idev = malloc(sizeof (struct devdesc)); in efi_parsedev()
H A Ddevpath.c150 copy = malloc(len); in efi_devpath_trim()
H A Defi_console.c449 shadow_fb = malloc(efifb.fb_width * efifb.fb_height * in efi_framebuffer_setup()

12345678910>>...104