HelenOS sources
malloc 402 common/adt/hash_table.c list_t *buckets = malloc(bucket_cnt * sizeof(list_t));
malloc 113 common/gsort.c slot = (void *) malloc(elem_size);
malloc 122 common/include/adt/fifo.h name.fifo = malloc(sizeof(*name.fifo) * name.items)
malloc 110 common/include/stdlib.h extern void *malloc(size_t size)
malloc 111 common/include/stdlib.h __attribute__((malloc));
malloc 113 common/include/stdlib.h __attribute__((malloc));
malloc 122 common/include/stdlib.h __attribute__((malloc));
malloc 48 common/stdc/calloc.c void *block = malloc(nmemb * size);
malloc 1140 common/str.c str = malloc(dest_size + 1);
malloc 1405 common/str.c char *dest = malloc(size);
malloc 1439 common/str.c char *dest = malloc(size + 1);
malloc 49 kernel/arch/amd64/src/kseg.c kseg = (kseg_t *) malloc(sizeof(kseg_t));
malloc 277 kernel/arch/amd64/src/pm.c tss_p = (tss_t *) malloc(sizeof(tss_t));
malloc 164 kernel/arch/amd64/src/smp/smp.c (descriptor_t *) malloc(GDT_ITEMS * sizeof(descriptor_t));
malloc 322 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c pl050_t *pl050 = malloc(sizeof(pl050_t));
malloc 285 kernel/arch/ia32/src/pm.c tss_p = (tss_t *) malloc(sizeof(tss_t));
malloc 164 kernel/arch/ia32/src/smp/smp.c (descriptor_t *) malloc(GDT_ITEMS * sizeof(descriptor_t));
malloc 58 kernel/arch/ia64/src/ddi/ddi.c task->arch.iomap = malloc(sizeof(bitmap_t));
malloc 62 kernel/arch/ia64/src/ddi/ddi.c void *store = malloc(bitmap_size(IO_MEMMAP_PAGES));
malloc 168 kernel/arch/ia64/src/drivers/ski.c instance = malloc(sizeof(ski_instance_t));
malloc 226 kernel/arch/ia64/src/drivers/ski.c outdev_t *skidev = malloc(sizeof(outdev_t));
malloc 67 kernel/arch/riscv64/src/drivers/ucb.c outdev_t *htifdev = malloc(sizeof(outdev_t));
malloc 183 kernel/arch/sparc64/src/drivers/niagara.c instance = malloc(sizeof(niagara_instance_t));
malloc 236 kernel/arch/sparc64/src/drivers/niagara.c outdev_t *niagara_dev = malloc(sizeof(outdev_t));
malloc 105 kernel/arch/sparc64/src/drivers/pci.c pci = (pci_t *) malloc(sizeof(pci_t));
malloc 146 kernel/arch/sparc64/src/drivers/pci.c pci = (pci_t *) malloc(sizeof(pci_t));
malloc 199 kernel/genarch/src/acpi/madt.c malloc(madt_entries_index_cnt * sizeof(struct madt_apic_header *));
malloc 70 kernel/genarch/src/ddi/ddi-bitmap.c void *store = malloc(bitmap_size(elements));
malloc 59 kernel/genarch/src/drivers/dsrln/dsrlnin.c malloc(sizeof(dsrlnin_instance_t));
malloc 72 kernel/genarch/src/drivers/dsrln/dsrlnout.c outdev_t *dsrlndev = malloc(sizeof(outdev_t));
malloc 76 kernel/genarch/src/drivers/dsrln/dsrlnout.c dsrlnout_instance_t *instance = malloc(sizeof(dsrlnout_instance_t));
malloc 603 kernel/genarch/src/drivers/ega/ega.c outdev_t *egadev = malloc(sizeof(outdev_t));
malloc 607 kernel/genarch/src/drivers/ega/ega.c ega_instance_t *instance = malloc(sizeof(ega_instance_t));
malloc 628 kernel/genarch/src/drivers/ega/ega.c instance->backbuf = (uint8_t *) malloc(EGA_VRAM_SIZE);
malloc 108 kernel/genarch/src/drivers/i8042/i8042.c malloc(sizeof(i8042_instance_t));
malloc 180 kernel/genarch/src/drivers/ns16550/ns16550.c ns16550_instance_t *instance = malloc(sizeof(ns16550_instance_t));
malloc 188 kernel/genarch/src/drivers/ns16550/ns16550.c instance->output = malloc(sizeof(outdev_t));
malloc 79 kernel/genarch/src/drivers/pl050/pl050.c malloc(sizeof(pl050_instance_t));
malloc 104 kernel/genarch/src/drivers/s3c24xx/uart.c outdev_t *uart_dev = malloc(sizeof(outdev_t));
malloc 109 kernel/genarch/src/drivers/s3c24xx/uart.c malloc(sizeof(s3c24xx_uart_t));
malloc 93 kernel/genarch/src/drivers/via-cuda/cuda.c malloc(sizeof(cuda_instance_t));
malloc 596 kernel/genarch/src/fb/fb.c outdev_t *fbdev = malloc(sizeof(outdev_t));
malloc 600 kernel/genarch/src/fb/fb.c fb_instance_t *instance = malloc(sizeof(fb_instance_t));
malloc 643 kernel/genarch/src/fb/fb.c instance->backbuf = (uint16_t *) malloc(bbsize);
malloc 651 kernel/genarch/src/fb/fb.c instance->glyphs = (uint8_t *) malloc(glyphsize);
malloc 660 kernel/genarch/src/fb/fb.c instance->bgscan = malloc(instance->bgscanbytes);
malloc 175 kernel/genarch/src/kbrd/kbrd.c malloc(sizeof(kbrd_instance_t));
malloc 173 kernel/genarch/src/kbrd/kbrd_at.c instance = malloc(sizeof(kbrd_instance_t));
malloc 350 kernel/genarch/src/ofw/ofw_tree.c void *dump = malloc(*size);
malloc 388 kernel/genarch/src/ofw/ofw_tree.c char *cur_path = malloc(PATH_MAX_LEN);
malloc 135 kernel/genarch/src/srln/srln.c malloc(sizeof(srln_instance_t));
malloc 402 kernel/generic/common/adt/hash_table.c list_t *buckets = malloc(bucket_cnt * sizeof(list_t));
malloc 113 kernel/generic/common/gsort.c slot = (void *) malloc(elem_size);
malloc 122 kernel/generic/common/include/adt/fifo.h name.fifo = malloc(sizeof(*name.fifo) * name.items)
malloc 110 kernel/generic/common/include/stdlib.h extern void *malloc(size_t size)
malloc 111 kernel/generic/common/include/stdlib.h __attribute__((malloc));
malloc 113 kernel/generic/common/include/stdlib.h __attribute__((malloc));
malloc 122 kernel/generic/common/include/stdlib.h __attribute__((malloc));
malloc 48 kernel/generic/common/stdc/calloc.c void *block = malloc(nmemb * size);
malloc 1140 kernel/generic/common/str.c str = malloc(dest_size + 1);
malloc 1405 kernel/generic/common/str.c char *dest = malloc(size);
malloc 1439 kernel/generic/common/str.c char *dest = malloc(size + 1);
malloc 124 kernel/generic/include/mm/slab.h __attribute__((malloc));
malloc 147 kernel/generic/src/cap/cap.c task->cap_info = (cap_info_t *) malloc(sizeof(cap_info_t));
malloc 1433 kernel/generic/src/console/cmd.c uint64_t *data = (uint64_t *) malloc(sizeof(uint64_t) * cnt);
malloc 1598 kernel/generic/src/console/cmd.c uint64_t *data = malloc(sizeof(uint64_t) * cnt);
malloc 366 kernel/generic/src/console/console.c data = (char *) malloc(size + 1);
malloc 227 kernel/generic/src/console/kconsole.c char *output = malloc(MAX_CMDLINE);
malloc 308 kernel/generic/src/console/kconsole.c tmp = malloc(STR_BOUNDS(end - start + 1));
malloc 818 kernel/generic/src/console/kconsole.c char *buffer = malloc(STR_BOUNDS(MAX_CMDLINE));
malloc 819 kernel/generic/src/console/kconsole.c char *cmdline = malloc(STR_BOUNDS(MAX_CMDLINE));
malloc 66 kernel/generic/src/cpu/cpu.c cpus = (cpu_t *) malloc(sizeof(cpu_t) * config.cpu_count);
malloc 84 kernel/generic/src/ipc/irq.c uintptr_t *pbase = malloc(rangecount * sizeof(uintptr_t));
malloc 230 kernel/generic/src/ipc/irq.c irq_code_t *code = malloc(sizeof(*code));
malloc 241 kernel/generic/src/ipc/irq.c ranges = malloc(sizeof(code->ranges[0]) * code->rangecount);
malloc 249 kernel/generic/src/ipc/irq.c cmds = malloc(sizeof(code->cmds[0]) * code->cmdcount);
malloc 77 kernel/generic/src/ipc/ops/dataread.c answer->buffer = malloc(size);
malloc 58 kernel/generic/src/ipc/ops/datawrite.c call->buffer = (uint8_t *) malloc(size);
malloc 127 kernel/generic/src/lib/ra.c span = (ra_span_t *) malloc(sizeof(ra_span_t));
malloc 135 kernel/generic/src/lib/ra.c span->free = (list_t *) malloc((span->max_order + 1) * sizeof(list_t));
malloc 207 kernel/generic/src/lib/ra.c arena = (ra_arena_t *) malloc(sizeof(ra_arena_t));
malloc 308 kernel/generic/src/log/log.c data = (char *) malloc(size + 1);
malloc 327 kernel/generic/src/log/log.c data = (char *) malloc(size);
malloc 202 kernel/generic/src/main/kinit.c void *arguments_copy = malloc(arguments_size);
malloc 781 kernel/generic/src/mm/as.c as_area_t *area = (as_area_t *) malloc(sizeof(as_area_t));
malloc 811 kernel/generic/src/mm/as.c si = (share_info_t *) malloc(sizeof(share_info_t));
malloc 1394 kernel/generic/src/mm/as.c uintptr_t *old_frame = malloc(area->used_space.pages *
malloc 2178 kernel/generic/src/mm/as.c as_area_info_t *info = malloc(isize);
malloc 163 kernel/generic/src/mm/backend_phys.c data = (phys_shared_data_t *) malloc(sizeof(*data));
malloc 124 kernel/generic/src/mm/malloc.c static void *mem_alloc(size_t, size_t) __attribute__((malloc));
malloc 217 kernel/generic/src/mm/malloc.c return malloc(new_size);
malloc 75 kernel/generic/src/proc/program.c uinit_arg_t *kernel_uarg = malloc(sizeof(uinit_arg_t));
malloc 969 kernel/generic/src/proc/thread.c uinit_arg_t *kernel_uarg = malloc(sizeof(uinit_arg_t));
malloc 113 kernel/generic/src/sysinfo/stats.c stats_cpu_t *stats_cpus = (stats_cpu_t *) malloc(*size);
malloc 262 kernel/generic/src/sysinfo/stats.c stats_task_t *stats_tasks = (stats_task_t *) malloc(*size);
malloc 351 kernel/generic/src/sysinfo/stats.c stats_thread_t *stats_threads = (stats_thread_t *) malloc(*size);
malloc 468 kernel/generic/src/sysinfo/stats.c state.data = (stats_ipcc_t *) malloc(*size);
malloc 532 kernel/generic/src/sysinfo/stats.c stats_task_t *stats_task = malloc(sizeof(stats_task_t));
malloc 599 kernel/generic/src/sysinfo/stats.c (stats_thread_t *) malloc(sizeof(stats_thread_t));
malloc 638 kernel/generic/src/sysinfo/stats.c (stats_exc_t *) malloc(*size);
malloc 716 kernel/generic/src/sysinfo/stats.c (stats_exc_t *) malloc(sizeof(stats_exc_t));
malloc 759 kernel/generic/src/sysinfo/stats.c (stats_physmem_t *) malloc(*size);
malloc 789 kernel/generic/src/sysinfo/stats.c load_t *stats_load = (load_t *) malloc(*size);
malloc 689 kernel/generic/src/sysinfo/sysinfo.c char *path = malloc(size + 1);
malloc 757 kernel/generic/src/sysinfo/sysinfo.c char *names = (char *) malloc(size);
malloc 800 kernel/generic/src/sysinfo/sysinfo.c char *path = malloc(size + 1);
malloc 359 kernel/generic/src/udebug/udebug_ops.c sysarg_t *id_buffer = malloc(buf_size + 1);
malloc 421 kernel/generic/src/udebug/udebug_ops.c *data = malloc(name_size);
malloc 463 kernel/generic/src/udebug/udebug_ops.c sysarg_t *arg_buffer = malloc(6 * sizeof(sysarg_t));
malloc 509 kernel/generic/src/udebug/udebug_ops.c istate_t *state_buf = malloc(sizeof(istate_t));
malloc 545 kernel/generic/src/udebug/udebug_ops.c void *data_buffer = malloc(n);
malloc 47 kernel/test/mm/falloc1.c malloc(MAX_FRAMES * sizeof(uintptr_t));
malloc 52 kernel/test/mm/falloc2.c malloc(MAX_FRAMES * sizeof(uintptr_t));
malloc 263 tools/xcw/demo/viewer.c void *tga = malloc(stat.size);
malloc 101 uspace/app/bdsh/cmds/builtins/batch/batch.c fusr.line = malloc(INPUT_MAX + 1);
malloc 122 uspace/app/bdsh/cmds/builtins/batch/batch.c fusr.line = malloc(INPUT_MAX + 1);
malloc 210 uspace/app/bdsh/cmds/modules/cat/cat.c if (NULL == (buff = (char *) malloc(blen + 1))) {
malloc 431 uspace/app/bdsh/cmds/modules/cp/cp.c if (NULL == (buff = (char *) malloc(blen))) {
malloc 210 uspace/app/bdsh/cmds/modules/ls/ls.c buff = (char *) malloc(PATH_MAX);
malloc 216 uspace/app/bdsh/cmds/modules/ls/ls.c tosort = (struct dir_elem_t *) malloc(alloc_blocks * sizeof(*tosort));
malloc 237 uspace/app/bdsh/cmds/modules/ls/ls.c tosort[nbdirs].name = (char *) malloc(str_size(dp->d_name) + 1);
malloc 315 uspace/app/bdsh/cmds/modules/ls/ls.c dir_list = (struct dir_elem_t *) malloc(sizeof(struct dir_elem_t));
malloc 319 uspace/app/bdsh/cmds/modules/ls/ls.c subdir_path = (char *) malloc(PATH_MAX);
malloc 459 uspace/app/bdsh/cmds/modules/ls/ls.c de.name = (char *) malloc(PATH_MAX);
malloc 53 uspace/app/bdsh/cmds/modules/pwd/pwd.c buff = (char *) malloc(PATH_MAX);
malloc 101 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->nwd = (char *) malloc(PATH_MAX)))
malloc 105 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->owd = (char *) malloc(PATH_MAX)))
malloc 109 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->cwd = (char *) malloc(PATH_MAX)))
malloc 169 uspace/app/bdsh/compl.c prefix = malloc(pref_size + 1);
malloc 218 uspace/app/bdsh/compl.c cs->path_list = malloc(sizeof(char *) * 2);
malloc 225 uspace/app/bdsh/compl.c cs->path_list[0] = malloc(sizeof(char) * PATH_MAX);
malloc 86 uspace/app/bdsh/exec.c *found = (char *)malloc(PATH_MAX);
malloc 215 uspace/app/bdsh/input.c usr->line = (char *)malloc(input_length);
malloc 68 uspace/app/bdsh/tok.c char *tmp = malloc(len);
malloc 190 uspace/app/blkdump/blkdump.c data = malloc(block_size);
malloc 420 uspace/app/calculator/calculator.c stack_item_t *item = malloc(sizeof(stack_item_t));
malloc 439 uspace/app/calculator/calculator.c stack_item_t *item = malloc(sizeof(stack_item_t));
malloc 220 uspace/app/download/main.c buf = malloc(buf_size);
malloc 1175 uspace/app/edit/edit.c buf = malloc(buf_size);
malloc 80 uspace/app/edit/sheet.c sh->data = malloc(sh->dbuf_size);
malloc 79 uspace/app/gunzip/gunzip.c data = malloc(len);
malloc 101 uspace/app/hbench/disk/randread.c buf = malloc(block_size * nb);
malloc 101 uspace/app/hbench/disk/seqread.c buf = malloc(block_size);
malloc 111 uspace/app/hbench/env.c param_t *param = malloc(sizeof(param_t));
malloc 51 uspace/app/hbench/fs/fileread.c char *buf = malloc(BUFFER_SIZE);
malloc 160 uspace/app/hbench/main.c char *error_msg = malloc(MAX_ERROR_STR_LENGTH + 1);
malloc 42 uspace/app/hbench/malloc/malloc1.c void *p = malloc(1);
malloc 41 uspace/app/hbench/malloc/malloc2.c void **p = malloc(niter * sizeof(void *));
malloc 48 uspace/app/hbench/malloc/malloc2.c p[count] = malloc(1);
malloc 81 uspace/app/kio/kio.c item_t *item = (item_t *) malloc(sizeof(item_t));
malloc 86 uspace/app/kio/kio.c char32_t *buf = (char32_t *) malloc(sz);
malloc 134 uspace/app/lprint/lprint.c buf = malloc(BUF_SIZE);
malloc 66 uspace/app/mkbd/main.c *report = (usb_hid_report_t *) malloc(sizeof(usb_hid_report_t));
malloc 94 uspace/app/mkbd/main.c uint8_t *desc = (uint8_t *) malloc(report_desc_size);
malloc 264 uspace/app/mkbd/main.c uint8_t *event = (uint8_t *)malloc(size);
malloc 479 uspace/app/mkexfat/mkexfat.c fat = malloc(cfg->sector_size);
malloc 537 uspace/app/mkexfat/mkexfat.c uint8_t *bitmap = malloc(cfg->sector_size);
malloc 583 uspace/app/mkexfat/mkexfat.c buf = malloc(cfg->sector_size);
malloc 305 uspace/app/mkmfs/mkmfs.c root_block = malloc(sb->block_size);
malloc 360 uspace/app/mkmfs/mkmfs.c itable_buf = malloc(sb->block_size);
malloc 393 uspace/app/mkmfs/mkmfs.c ino_buf = malloc(MFS_BLOCKSIZE);
malloc 431 uspace/app/mkmfs/mkmfs.c ino_buf = malloc(sb->block_size);
malloc 572 uspace/app/mkmfs/mkmfs.c sb = malloc(MFS_SUPERBLOCK_SIZE);
malloc 605 uspace/app/mkmfs/mkmfs.c sb = malloc(MFS_SUPERBLOCK_SIZE);
malloc 642 uspace/app/mkmfs/mkmfs.c ibmap_buf = malloc(ibmap_nblocks * sb->block_size);
malloc 643 uspace/app/mkmfs/mkmfs.c zbmap_buf = malloc(zbmap_nblocks * sb->block_size);
malloc 137 uspace/app/modplay/modplay.c buffer = malloc(buffer_size);
malloc 179 uspace/app/pci/pci.c drv_name = malloc(MAX_NAME_LENGTH);
malloc 401 uspace/app/sbi/src/bigint.c str = malloc(nchars * sizeof(char) + 1);
malloc 666 uspace/app/sbi/src/bigint.c bigint->digit = malloc(a_length * sizeof(bigint_word_t));
malloc 61 uspace/app/sbi/src/input.c *input = malloc(sizeof(input_t));
malloc 75 uspace/app/sbi/src/input.c *input = malloc(sizeof(input_t));
malloc 91 uspace/app/sbi/src/input.c *input = malloc(sizeof(input_t));
malloc 114 uspace/app/sbi/src/input.c input->buffer = malloc(INPUT_BUFFER_SIZE);
malloc 133 uspace/app/sbi/src/input.c input->buffer = malloc(INPUT_BUFFER_SIZE);
malloc 152 uspace/app/sbi/src/input.c input->buffer = malloc(INPUT_BUFFER_SIZE);
malloc 210 uspace/app/sbi/src/list.c node = malloc(sizeof(list_node_t));
malloc 65 uspace/app/sbi/src/os/helenos.c str = malloc(a_size + b_size + 1);
malloc 185 uspace/app/sbi/src/os/helenos.c str = malloc(STR_BOUNDS(1) + 1);
malloc 68 uspace/app/sbi/src/os/posix.c str = malloc(a_len + b_len + 1);
malloc 98 uspace/app/sbi/src/os/posix.c slice = malloc(length + 1);
malloc 170 uspace/app/sbi/src/os/posix.c str = malloc(2);
malloc 141 uspace/app/sportdmp/sportdmp.c uint8_t *buf = (uint8_t *) malloc(BUF_SIZE);
malloc 136 uspace/app/sysinfo/sysinfo.c char *cur_path = (char *) malloc(path_size);
malloc 121 uspace/app/taskdump/elf_core.c p_hdr = malloc(sizeof(elf_segment_header_t) * n_ph);
malloc 336 uspace/app/taskdump/symtab.c *ptr = malloc(size);
malloc 243 uspace/app/taskdump/taskdump.c thash_buf = malloc(buf_size);
malloc 287 uspace/app/taskdump/taskdump.c ainfo_buf = malloc(buf_size);
malloc 438 uspace/app/taskdump/taskdump.c name = malloc(name_size + 1);
malloc 828 uspace/app/terminal/terminal.c (terminal_event_t *) malloc(sizeof(terminal_event_t));
malloc 100 uspace/app/tester/hw/serial/serial1.c char *buf = (char *) malloc(cnt + 1);
malloc 165 uspace/app/tester/mm/common.c data = malloc(size);
malloc 40 uspace/app/tester/mm/malloc2.c while ((p = malloc(1024 * 1024))) {
malloc 71 uspace/app/tmon/tests.c usbdiag_test_params_t *p = (usbdiag_test_params_t *) malloc(sizeof(usbdiag_test_params_t));
malloc 518 uspace/app/top/screen.c warning_text = malloc(warning_text_size);
malloc 240 uspace/app/trace/ipcp.c pcall = malloc(sizeof(pending_call_t));
malloc 129 uspace/app/trace/proto.c sp = malloc(sizeof(srv_proto_t));
malloc 158 uspace/app/trace/proto.c p = malloc(sizeof(proto_t));
malloc 173 uspace/app/trace/proto.c mo = malloc(sizeof(method_oper_t));
malloc 201 uspace/app/trace/proto.c o = malloc(sizeof(oper_t));
malloc 129 uspace/app/usbinfo/hid.c uint8_t *raw_report = malloc(report_size);
malloc 263 uspace/app/viewer/viewer.c void *tga = malloc(stat.size);
malloc 184 uspace/app/vuhid/device.c descr_iface = malloc(sizeof(usb_standard_interface_descriptor_t));
malloc 204 uspace/app/vuhid/device.c descr_hid = malloc(sizeof(hid_descriptor_t));
malloc 222 uspace/app/vuhid/device.c descr_ep_in = malloc(sizeof(usb_standard_endpoint_descriptor_t));
malloc 238 uspace/app/vuhid/device.c descr_ep_out = malloc(sizeof(usb_standard_endpoint_descriptor_t));
malloc 92 uspace/app/wavplay/main.c char *buffer = malloc(READ_SIZE);
malloc 339 uspace/app/wavplay/main.c fib_play_t *data = malloc(sizeof(fib_play_t));
malloc 775 uspace/dist/src/c/demos/edit/edit.c buf = malloc(buf_size);
malloc 80 uspace/dist/src/c/demos/edit/sheet.c sh->data = malloc(sh->dbuf_size);
malloc 520 uspace/dist/src/c/demos/top/screen.c warning_text = malloc(warning_text_size);
malloc 239 uspace/drv/block/isa-ide/isa-ide.c ranges = malloc(sizeof(isa_ide_irq_ranges));
malloc 243 uspace/drv/block/isa-ide/isa-ide.c cmds = malloc(sizeof(isa_ide_irq_cmds));
malloc 305 uspace/drv/block/pc-floppy/pc-floppy.c ranges = malloc(sizeof(pc_fdc_irq_ranges));
malloc 309 uspace/drv/block/pc-floppy/pc-floppy.c cmds = malloc(sizeof(pc_fdc_irq_cmds));
malloc 383 uspace/drv/block/pci-ide/pci-ide.c ranges = malloc(sizeof(pci_ide_irq_ranges));
malloc 387 uspace/drv/block/pci-ide/pci-ide.c cmds = malloc(sizeof(pci_ide_irq_cmds));
malloc 320 uspace/drv/bus/isa/isa.c buf = malloc(len + 1);
malloc 568 uspace/drv/bus/isa/isa.c *id = (char *)malloc(size);
malloc 109 uspace/drv/bus/pci/pciintel/ctl.c buf = malloc(max(1, size));
malloc 80 uspace/drv/bus/usb/ehci/ehci_bus.c ehci_endpoint_t *ehci_ep = malloc(sizeof(ehci_endpoint_t));
malloc 379 uspace/drv/bus/usb/ehci/ehci_rh.c ehci_rh_job_t *job = malloc(sizeof(*job));
malloc 116 uspace/drv/bus/usb/ehci/hc.c code->ranges = malloc(sizeof(ehci_pio_ranges));
malloc 120 uspace/drv/bus/usb/ehci/hc.c code->cmds = malloc(sizeof(ehci_irq_commands));
malloc 118 uspace/drv/bus/usb/ohci/hc.c code->ranges = malloc(sizeof(ohci_pio_ranges));
malloc 122 uspace/drv/bus/usb/ohci/hc.c code->cmds = malloc(sizeof(ohci_irq_commands));
malloc 125 uspace/drv/bus/usb/uhci/hc.c code->ranges = malloc(sizeof(uhci_irq_pio_ranges));
malloc 129 uspace/drv/bus/usb/uhci/hc.c code->cmds = malloc(sizeof(uhci_irq_commands));
malloc 285 uspace/drv/bus/usb/usbhub/usbhub.c polling->buffer = malloc(polling->request_size);
malloc 35 uspace/drv/bus/usb/vhc/devconn.c vhc_virtdev_t *dev = malloc(sizeof(vhc_virtdev_t));
malloc 500 uspace/drv/bus/usb/vhc/hub/hub.c malloc(sizeof(struct delay_port_state_change));
malloc 161 uspace/drv/bus/usb/vhc/hub/virthub.c hub_t *hub = malloc(sizeof(hub_t));
malloc 807 uspace/drv/bus/usb/xhci/commands.c xhci_cmd_t *heap_cmd = (xhci_cmd_t *) malloc(sizeof(xhci_cmd_t));
malloc 373 uspace/drv/bus/usb/xhci/hc.c code->ranges = malloc(sizeof(irq_pio_range_t));
malloc 377 uspace/drv/bus/usb/xhci/hc.c code->cmds = malloc(sizeof(irq_commands));
malloc 96 uspace/drv/char/msim-con/msim-con.c msim_cmds = malloc(sizeof(msim_cmds_proto));
malloc 91 uspace/drv/char/pc-lpt/pc-lpt.c pc_lpt_cmds = malloc(sizeof(pc_lpt_cmds_proto));
malloc 230 uspace/drv/char/pl011/pl011.c pl011_ranges = malloc(sizeof(pl011_ranges_proto));
malloc 235 uspace/drv/char/pl011/pl011.c pl011_cmds = malloc(sizeof(pl011_cmds_proto));
malloc 421 uspace/drv/fb/amdm37x_dispc/amdm37x_dispc.c dcbm->alloc.pixels = malloc(dcbm->alloc.pitch * dim.y);
malloc 238 uspace/drv/fb/kfb/port.c kfbbm->alloc.pixels = malloc(kfbbm->alloc.pitch * dim.y);
malloc 69 uspace/drv/hid/usbhid/usbhid.c hid_dev->subdrivers = malloc(sizeof(usb_hid_subdriver_t));
malloc 85 uspace/drv/hid/usbhid/usbhid.c hid_dev->subdrivers = malloc(sizeof(usb_hid_subdriver_t));
malloc 101 uspace/drv/hid/usbhid/usbhid.c hid_dev->subdrivers = malloc(sizeof(usb_hid_subdriver_t));
malloc 532 uspace/drv/hid/usbhid/usbhid.c polling->buffer = malloc(polling->request_size);
malloc 277 uspace/drv/nic/ar9271/ar9271.c void *buffer = malloc(buffer_size);
malloc 548 uspace/drv/nic/ar9271/ar9271.c complete_buffer = malloc(complete_size);
malloc 591 uspace/drv/nic/ar9271/ar9271.c complete_buffer = malloc(complete_size);
malloc 767 uspace/drv/nic/ar9271/ar9271.c void *fw_data = malloc(file_size);
malloc 781 uspace/drv/nic/ar9271/ar9271.c uint8_t *buffer = malloc(MAX_TRANSFER_SIZE);
malloc 64 uspace/drv/nic/ar9271/ath_usb.c ath_usb_t *ath_usb = malloc(sizeof(ath_usb_t));
malloc 151 uspace/drv/nic/ar9271/ath_usb.c void *complete_buffer = malloc(complete_buffer_size);
malloc 246 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
malloc 274 uspace/drv/nic/ar9271/htc.c buffer = malloc(buffer_size);
malloc 318 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
malloc 341 uspace/drv/nic/ar9271/htc.c buffer = malloc(buffer_size);
malloc 366 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
malloc 399 uspace/drv/nic/ar9271/htc.c void *buffer = malloc(buffer_size);
malloc 57 uspace/drv/nic/ar9271/wmi.c malloc(htc_device->ath_device->ctrl_response_length);
malloc 92 uspace/drv/nic/ar9271/wmi.c malloc(htc_device->ath_device->ctrl_response_length);
malloc 185 uspace/drv/nic/ar9271/wmi.c void *buffer = malloc(buffer_size);
malloc 187 uspace/drv/nic/ar9271/wmi.c malloc(htc_device->ath_device->ctrl_response_length);
malloc 231 uspace/drv/nic/ar9271/wmi.c void *buffer = malloc(buffer_size);
malloc 260 uspace/drv/nic/ar9271/wmi.c response_buffer = malloc(response_buffer_size);
malloc 1889 uspace/drv/nic/e1k/e1k.c e1000_t *e1000 = malloc(sizeof(e1000_t));
malloc 134 uspace/drv/nic/ne2k/ne2k.c ne2k_ranges = malloc(sizeof(ne2k_ranges_prototype));
malloc 141 uspace/drv/nic/ne2k/ne2k.c ne2k_cmds = malloc(sizeof(ne2k_cmds_prototype));
malloc 407 uspace/drv/nic/ne2k/ne2k.c ne2k_t *ne2k = malloc(sizeof(ne2k_t));
malloc 303 uspace/drv/nic/rtl8169/driver.c rtl8169_t *rtl8169 = malloc(sizeof(rtl8169_t));
malloc 249 uspace/lib/bithenge/src/blob.c memory_blob_t *blob = malloc(sizeof(*blob));
malloc 285 uspace/lib/bithenge/src/blob.c char *buffer = malloc(len);
malloc 410 uspace/lib/bithenge/src/blob.c blob = malloc(sizeof(*blob));
malloc 131 uspace/lib/bithenge/src/compound.c compose_transform_t *self = malloc(sizeof(*self));
malloc 241 uspace/lib/bithenge/src/compound.c if_transform_t *self = malloc(sizeof(*self));
malloc 319 uspace/lib/bithenge/src/compound.c partial_transform_t *self = malloc(sizeof(*self));
malloc 261 uspace/lib/bithenge/src/expression.c binary_expression_t *self = malloc(sizeof(*self));
malloc 402 uspace/lib/bithenge/src/expression.c param_expression_t *self = malloc(sizeof(*self));
malloc 469 uspace/lib/bithenge/src/expression.c const_expression_t *self = malloc(sizeof(*self));
malloc 552 uspace/lib/bithenge/src/expression.c scope_member_expression_t *self = malloc(sizeof(*self));
malloc 675 uspace/lib/bithenge/src/expression.c subblob_expression_t *self = malloc(sizeof(*self));
malloc 836 uspace/lib/bithenge/src/expression.c param_wrapper_t *self = malloc(sizeof(*self));
malloc 920 uspace/lib/bithenge/src/expression.c expression_transform_t *self = malloc(sizeof(*self));
malloc 978 uspace/lib/bithenge/src/expression.c expression_transform_t *self = malloc(sizeof(*self));
malloc 1143 uspace/lib/bithenge/src/expression.c concat_blob_t *self = malloc(sizeof(*self));
malloc 1187 uspace/lib/bithenge/src/expression.c concat_blob_t *self = malloc(sizeof(*self));
malloc 117 uspace/lib/bithenge/src/failure.c backtrace_item_t *i = malloc(sizeof(*i));
malloc 184 uspace/lib/bithenge/src/failure.c return malloc(size);
malloc 113 uspace/lib/bithenge/src/file.c file_blob_t *blob = malloc(sizeof(*blob));
malloc 127 uspace/lib/bithenge/src/helenos/block.c block_blob_t *blob = malloc(sizeof(*blob));
malloc 359 uspace/lib/bithenge/src/script.c void *result = malloc(size);
malloc 1081 uspace/lib/bithenge/src/script.c bithenge_transform_t **xforms = malloc(2 * sizeof(*xforms));
malloc 261 uspace/lib/bithenge/src/sequence.c self->ends = malloc(sizeof(*self->ends) * num_xforms);
malloc 484 uspace/lib/bithenge/src/sequence.c struct_node_t *node = malloc(sizeof(*node));
malloc 611 uspace/lib/bithenge/src/sequence.c struct_transform_t *self = malloc(sizeof(*self));
malloc 791 uspace/lib/bithenge/src/sequence.c repeat_node_t *node = malloc(sizeof(*node));
malloc 890 uspace/lib/bithenge/src/sequence.c repeat_transform_t *self = malloc(sizeof(*self));
malloc 1049 uspace/lib/bithenge/src/sequence.c do_while_node_t *node = malloc(sizeof(*node));
malloc 1136 uspace/lib/bithenge/src/sequence.c do_while_transform_t *self = malloc(sizeof(*self));
malloc 66 uspace/lib/bithenge/src/source.c char *buffer = malloc(size);
malloc 197 uspace/lib/bithenge/src/transform.c bithenge_scope_t *self = malloc(sizeof(*self));
malloc 272 uspace/lib/bithenge/src/transform.c scope->error = malloc(space_left);
malloc 384 uspace/lib/bithenge/src/transform.c scope->params = malloc(sizeof(*scope->params) * num_params);
malloc 552 uspace/lib/bithenge/src/transform.c barrier_transform_t *self = malloc(sizeof(*self));
malloc 585 uspace/lib/bithenge/src/transform.c char *buffer = malloc(size + 1);
malloc 692 uspace/lib/bithenge/src/transform.c bytes_buffer = malloc(bytes_size + 1);
malloc 742 uspace/lib/bithenge/src/transform.c bits_xe_blob_t *blob = malloc(sizeof(*blob));
malloc 275 uspace/lib/bithenge/src/tree.c simple_internal_node_t *self = malloc(sizeof(*self));
malloc 326 uspace/lib/bithenge/src/tree.c bithenge_node_t *self = malloc(sizeof(*self));
malloc 347 uspace/lib/bithenge/src/tree.c bithenge_node_t *self = malloc(sizeof(*self));
malloc 114 uspace/lib/block/block.c devcon = malloc(sizeof(devcon_t));
malloc 221 uspace/lib/block/block.c bb_buf = malloc(devcon->pblock_size);
malloc 280 uspace/lib/block/block.c cache = malloc(sizeof(cache_t));
malloc 440 uspace/lib/block/block.c b = malloc(sizeof(block_t));
malloc 443 uspace/lib/block/block.c b->data = malloc(cache->lblock_size);
malloc 875 uspace/lib/block/block.c buffer = malloc(buf_size);
malloc 265 uspace/lib/c/arch/ia64/src/rtld/reloc.c fdesc = malloc(16);
malloc 402 uspace/lib/c/common/adt/hash_table.c list_t *buckets = malloc(bucket_cnt * sizeof(list_t));
malloc 113 uspace/lib/c/common/gsort.c slot = (void *) malloc(elem_size);
malloc 122 uspace/lib/c/common/include/adt/fifo.h name.fifo = malloc(sizeof(*name.fifo) * name.items)
malloc 110 uspace/lib/c/common/include/stdlib.h extern void *malloc(size_t size)
malloc 111 uspace/lib/c/common/include/stdlib.h __attribute__((malloc));
malloc 113 uspace/lib/c/common/include/stdlib.h __attribute__((malloc));
malloc 122 uspace/lib/c/common/include/stdlib.h __attribute__((malloc));
malloc 48 uspace/lib/c/common/stdc/calloc.c void *block = malloc(nmemb * size);
malloc 1140 uspace/lib/c/common/str.c str = malloc(dest_size + 1);
malloc 1405 uspace/lib/c/common/str.c char *dest = malloc(size);
malloc 1439 uspace/lib/c/common/str.c char *dest = malloc(size + 1);
malloc 1131 uspace/lib/c/generic/async/client.c exch = (async_exch_t *) malloc(sizeof(async_exch_t));
malloc 1149 uspace/lib/c/generic/async/client.c exch = (async_exch_t *) malloc(sizeof(async_exch_t));
malloc 164 uspace/lib/c/generic/async/ports.c (interface_t *) malloc(sizeof(interface_t));
malloc 187 uspace/lib/c/generic/async/ports.c port_t *port = (port_t *) malloc(sizeof(port_t));
malloc 272 uspace/lib/c/generic/async/server.c client = malloc(sizeof(client_t));
malloc 647 uspace/lib/c/generic/async/server.c m = malloc(sizeof(notification_msg_t));
malloc 1570 uspace/lib/c/generic/async/server.c arg_data = malloc(size + 1);
malloc 1572 uspace/lib/c/generic/async/server.c arg_data = malloc(size);
malloc 57 uspace/lib/c/generic/device/hw_res.c hw_resource_t *resources = (hw_resource_t *) malloc(size);
malloc 57 uspace/lib/c/generic/dirent.c DIR *dirp = malloc(sizeof(DIR));
malloc 92 uspace/lib/c/generic/io/asprintf.c *strp = malloc(ret + 1);
malloc 319 uspace/lib/c/generic/io/io.c stream->buf = malloc(stream->buf_size);
malloc 347 uspace/lib/c/generic/io/io.c FILE *stream = malloc(sizeof(FILE));
malloc 403 uspace/lib/c/generic/io/io.c FILE *stream = malloc(sizeof(FILE));
malloc 242 uspace/lib/c/generic/io/log.c char *message_buffer = malloc(MESSAGE_BUFFER_SIZE);
malloc 73 uspace/lib/c/generic/loader.c loader_t *ldr = malloc(sizeof(loader_t));
malloc 129 uspace/lib/c/generic/loader.c char *cwd = (char *) malloc(MAX_PATH_LEN + 1);
malloc 241 uspace/lib/c/generic/loader.c char *arg_buf = malloc(buffer_size);
malloc 799 uspace/lib/c/generic/loc.c service_id_t *ids = malloc(alloc_size);
malloc 835 uspace/lib/c/generic/malloc.c return malloc(size);
malloc 926 uspace/lib/c/generic/malloc.c ptr = malloc(size);
malloc 59 uspace/lib/c/generic/pio_trace.c region_t *new_reg = malloc(sizeof(region_t));
malloc 288 uspace/lib/c/generic/rtld/module.c m->deps = malloc(n * sizeof(module_t *));
malloc 164 uspace/lib/c/generic/rtld/rtld.c dtv = malloc((nmods + 1) * sizeof(void *));
malloc 366 uspace/lib/c/generic/stdio/scanf.c strbuf->buf = malloc(strbuf->size);
malloc 100 uspace/lib/c/generic/stdlib.c entry = malloc(sizeof(__exit_handler_t));
malloc 148 uspace/lib/c/generic/stdlib.c entry = malloc(sizeof(__exit_handler_t));
malloc 535 uspace/lib/c/generic/string.c dup = malloc(sz + 1);
malloc 561 uspace/lib/c/generic/string.c dup = malloc(sz + 1);
malloc 86 uspace/lib/c/generic/sysinfo.c char *data = malloc(*size);
malloc 180 uspace/lib/c/generic/sysinfo.c void *data = malloc(*size);
malloc 244 uspace/lib/c/generic/sysinfo.c void *value = malloc(value_size);
malloc 335 uspace/lib/c/generic/task.c const char **arglist = malloc(cnt * sizeof(const char *));
malloc 138 uspace/lib/c/generic/thread/mpsc.c mpsc_node_t *n = malloc(sizeof(mpsc_node_t) + q->elem_size);
malloc 266 uspace/lib/c/generic/uuid.c char *str = malloc(sizeof(char) * size);
malloc 48 uspace/lib/c/generic/vfs/mtab.c ent = (mtab_ent_t *) malloc(sizeof(mtab_ent_t));
malloc 189 uspace/lib/c/generic/vfs/vfs.c ncwd_path_nc = malloc(cwd_size + 1 + size + 1);
malloc 198 uspace/lib/c/generic/vfs/vfs.c ncwd_path_nc = malloc(size + 1);
malloc 422 uspace/lib/c/generic/vfs/vfs.c buf = malloc(size);
malloc 115 uspace/lib/c/test/stdlib.c PCUT_TEST(malloc)
malloc 129 uspace/lib/c/test/stdlib.c p = malloc(4);
malloc 161 uspace/lib/clipboard/src/clipboard.c sbuf = malloc(1);
malloc 169 uspace/lib/clipboard/src/clipboard.c sbuf = malloc(size + 1);
malloc 702 uspace/lib/clui/src/tinput.c compl = malloc(compl_len * sizeof(char *));
malloc 172 uspace/lib/compress/gzip.c *dest = malloc(*destlen);
malloc 85 uspace/lib/console/src/con_srv.c buf = malloc(size);
malloc 50 uspace/lib/console/src/console.c console_ctrl_t *ctrl = malloc(sizeof(console_ctrl_t));
malloc 90 uspace/lib/cpp/include/__bits/memory/misc.hpp res = (T*)malloc(n * sizeof(T));
malloc 61 uspace/lib/cpp/src/new.cpp void *ptr = std::malloc(size);
malloc 93 uspace/lib/device/include/ipc/devman.h match_id_t *id = malloc(sizeof(match_id_t));
malloc 63 uspace/lib/device/src/bd_srv.c buf = malloc(size);
malloc 107 uspace/lib/device/src/bd_srv.c buf = malloc(size);
malloc 550 uspace/lib/device/src/devman.c handles = malloc(alloc_size);
malloc 566 uspace/lib/device/src/devman.c handles = malloc(alloc_size);
malloc 62 uspace/lib/device/src/io/chardev_srv.c buf = malloc(size);
malloc 151 uspace/lib/device/src/pci.c service_id_t *ids = malloc(alloc_size);
malloc 219 uspace/lib/device/src/vbd.c service_id_t *ids = malloc(alloc_size);
malloc 156 uspace/lib/device/src/vol.c service_id_t *ids = malloc(alloc_size);
malloc 219 uspace/lib/drv/generic/remote_ahci.c char *sata_dev_name = malloc(sata_dev_name_length);
malloc 1688 uspace/lib/drv/generic/remote_nic.c address_list = malloc(max_count * sizeof (nic_address_t));
malloc 1753 uspace/lib/drv/generic/remote_nic.c address_list = malloc(length);
malloc 1791 uspace/lib/drv/generic/remote_nic.c address_list = malloc(max_count * sizeof(nic_address_t));
malloc 1856 uspace/lib/drv/generic/remote_nic.c address_list = malloc(length);
malloc 1954 uspace/lib/drv/generic/remote_nic.c address_list = malloc(max_count * sizeof(nic_address_t));
malloc 2017 uspace/lib/drv/generic/remote_nic.c address_list = malloc(length);
malloc 2161 uspace/lib/drv/generic/remote_nic.c virtue = malloc(length);
malloc 2218 uspace/lib/drv/generic/remote_nic.c virtue = malloc(max_length);
malloc 2268 uspace/lib/drv/generic/remote_nic.c id_list = malloc(max_count * sizeof(nic_wv_id_t));
malloc 2333 uspace/lib/drv/generic/remote_nic.c info = malloc(max_length);
malloc 147 uspace/lib/drv/generic/remote_usbhid.c uint8_t *buffer = malloc(buffer_size);
malloc 350 uspace/lib/drv/generic/remote_usbhid.c uint8_t *event = malloc(len);
malloc 416 uspace/lib/drv/generic/remote_usbhid.c uint8_t *descriptor = malloc(len);
malloc 739 uspace/lib/ext4/src/directory_index.c void *entry_buffer = malloc(block_size);
malloc 749 uspace/lib/ext4/src/directory_index.c malloc(max_entry_count * sizeof(ext4_dx_sort_entry_t));
malloc 467 uspace/lib/ext4/src/extent.c tmp_path = malloc(sizeof(ext4_extent_path_t) * (depth + 2));
malloc 913 uspace/lib/ext4/src/filesystem.c malloc(sizeof(ext4_block_group_ref_t));
malloc 1124 uspace/lib/ext4/src/filesystem.c malloc(sizeof(ext4_inode_ref_t));
malloc 305 uspace/lib/ext4/src/ops.c enode = malloc(sizeof(ext4_node_t));
malloc 312 uspace/lib/ext4/src/ops.c fs_node_t *fs_node = malloc(sizeof(fs_node_t));
malloc 430 uspace/lib/ext4/src/ops.c enode = malloc(sizeof(ext4_node_t));
malloc 436 uspace/lib/ext4/src/ops.c fs_node = malloc(sizeof(fs_node_t));
malloc 939 uspace/lib/ext4/src/ops.c malloc(sizeof(ext4_instance_t));
malloc 1135 uspace/lib/ext4/src/ops.c uint8_t *buf = malloc(name_size + 1);
malloc 1234 uspace/lib/ext4/src/ops.c buffer = malloc(bytes);
malloc 1179 uspace/lib/ext4/src/superblock.c void *data = malloc(EXT4_SUPERBLOCK_SIZE);
malloc 845 uspace/lib/fs/libfs.c fs_instance_t *inst = malloc(sizeof(fs_instance_t));
malloc 611 uspace/lib/gfxfont/src/font.c data = malloc(size);
malloc 726 uspace/lib/gfxfont/src/font.c data = malloc(size);
malloc 424 uspace/lib/gfxfont/src/glyph.c buf = malloc(cksize);
malloc 104 uspace/lib/hound/src/client.c hound_context_t *new_context = malloc(sizeof(hound_context_t));
malloc 300 uspace/lib/hound/src/client.c hound_stream_t *new_stream = malloc(sizeof(hound_stream_t));
malloc 223 uspace/lib/hound/src/protocol.c char *name = malloc(sizes[i] + 1);
malloc 662 uspace/lib/hound/src/protocol.c char *buffer = malloc(size);
malloc 707 uspace/lib/hound/src/protocol.c char *buffer = malloc(size);
malloc 56 uspace/lib/http/src/headers.c http_header_t *header = malloc(sizeof(http_header_t));
malloc 343 uspace/lib/http/src/headers.c http_header_t *header = malloc(sizeof(http_header_t));
malloc 59 uspace/lib/http/src/http.c http_t *http = malloc(sizeof(http_t));
malloc 57 uspace/lib/http/src/receive-buffer.c rb->buffer = malloc(buffer_size);
malloc 115 uspace/lib/http/src/receive-buffer.c void *buf = malloc(size);
malloc 131 uspace/lib/http/src/receive-buffer.c char *buf = malloc(size + 1);
malloc 51 uspace/lib/http/src/request.c http_request_t *req = malloc(sizeof(http_request_t));
malloc 104 uspace/lib/http/src/request.c char *buf = malloc(size);
malloc 192 uspace/lib/http/src/response.c http_response_t *resp = malloc(sizeof(http_response_t));
malloc 600 uspace/lib/ieee80211/src/ieee80211.c void *complete_buffer = malloc(complete_size);
malloc 877 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
malloc 933 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
malloc 999 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
malloc 1073 uspace/lib/ieee80211/src/ieee80211.c void *buffer = malloc(buffer_size);
malloc 1279 uspace/lib/ieee80211/src/ieee80211.c malloc(sizeof(ieee80211_scan_result_link_t));
malloc 1450 uspace/lib/ieee80211/src/ieee80211.c void *output_buffer = malloc(output_size);
malloc 500 uspace/lib/inet/src/addr.c *bufp = (char *) malloc(INET6_ADDRSTRLEN);
malloc 92 uspace/lib/inet/src/inetcfg.c service_id_t *ids = malloc(alloc_size);
malloc 315 uspace/lib/memgfx/src/memgc.c mbm->alloc.pixels = malloc(mbm->alloc.pitch * dim.y);
malloc 562 uspace/lib/memgfx/test/xlategc.c test_gc.bitmap_get_alloc_alloc.pixels = malloc(1);
malloc 181 uspace/lib/nic/src/nic_addr_db.c nic_addr_entry_t *entry = malloc(sizeof(nic_addr_entry_t) + db->addr_len - 1);
malloc 276 uspace/lib/nic/src/nic_driver.c frame = malloc(sizeof(nic_frame_t));
malloc 283 uspace/lib/nic/src/nic_driver.c frame->data = malloc(size);
malloc 341 uspace/lib/nic/src/nic_driver.c frames = malloc(sizeof (nic_frame_list_t));
malloc 536 uspace/lib/nic/src/nic_impl.c nic_wol_virtue_t *virtue = malloc(sizeof (nic_wol_virtue_t));
malloc 542 uspace/lib/nic/src/nic_impl.c virtue->data = malloc(length);
malloc 378 uspace/lib/nic/src/nic_rx_control.c rxc->vlan_mask = malloc(sizeof (nic_vlan_mask_t));
malloc 67 uspace/lib/output/src/chargrid.c scrbuf = (chargrid_t *) malloc(size);
malloc 44 uspace/lib/pcut/tests/beforeafter.c buffer = malloc(BUFFER_SIZE);
malloc 122 uspace/lib/posix/include/common/adt/fifo.h name.fifo = malloc(sizeof(*name.fifo) * name.items)
malloc 110 uspace/lib/posix/include/common/stdlib.h extern void *malloc(size_t size)
malloc 111 uspace/lib/posix/include/common/stdlib.h __attribute__((malloc));
malloc 113 uspace/lib/posix/include/common/stdlib.h __attribute__((malloc));
malloc 122 uspace/lib/posix/include/common/stdlib.h __attribute__((malloc));
malloc 121 uspace/lib/posix/src/locale.c locale_t copy = malloc(sizeof(struct __posix_locale));
malloc 159 uspace/lib/posix/src/locale.c locale_t new = malloc(sizeof(struct __posix_locale));
malloc 327 uspace/lib/posix/src/signal.c signal_queue_item *item = malloc(sizeof(signal_queue_item));
malloc 680 uspace/lib/sif/src/sif.c str = malloc(str_size + 1);
malloc 739 uspace/lib/sif/src/sif.c str = malloc(str_size + 1);
malloc 63 uspace/lib/ui/src/accel.c buf = malloc(str_size(str) + 1);
malloc 674 uspace/lib/ui/src/paint.c str = malloc(bufsz);
malloc 820 uspace/lib/ui/src/paint.c str = malloc(bufsz);
malloc 882 uspace/lib/ui/src/paint.c buf = malloc(w * gcharsz + 1);
malloc 358 uspace/lib/ui/src/slider.c buf = malloc(w * gcharsz + 1);
malloc 54 uspace/lib/uri/uri.c uri_t *uri = malloc(sizeof(uri_t));
malloc 107 uspace/lib/usb/src/port.c struct enumerate_worker_args *args = malloc(sizeof(*args));
malloc 161 uspace/lib/usb/src/port.c struct remove_worker_args *args = malloc(sizeof(*args));
malloc 554 uspace/lib/usbdev/src/devdrv.c usb_device_t *usb_dev = malloc(sizeof(usb_device_t));
malloc 336 uspace/lib/usbdev/src/request.c void *buffer = malloc(size);
malloc 501 uspace/lib/usbdev/src/request.c void *buffer = malloc(total_length);
malloc 785 uspace/lib/usbdev/src/request.c string_chars = malloc(sizeof(char32_t) * (string_char_count + 1));
malloc 172 uspace/lib/usbhid/src/hiddescriptor.c usages = malloc(sizeof(uint32_t) * report_item->usages_count);
malloc 182 uspace/lib/usbhid/src/hiddescriptor.c field = malloc(sizeof(usb_hid_report_field_t));
malloc 253 uspace/lib/usbhid/src/hiddescriptor.c report_des = malloc(
malloc 360 uspace/lib/usbhid/src/hiddescriptor.c if (!(report_item = malloc(sizeof(usb_hid_report_item_t)))) {
malloc 289 uspace/lib/usbhid/src/hidparser.c uint8_t *ret = malloc((*size) * sizeof(uint8_t));
malloc 459 uspace/lib/usbhid/src/hidparser.c if (!(new_report_item = malloc(sizeof(usb_hid_report_item_t)))) {
malloc 77 uspace/lib/usbhid/src/hidpath.c malloc(sizeof(usb_hid_report_usage_path_t));
malloc 335 uspace/lib/usbhid/src/hidpath.c path = malloc(sizeof(usb_hid_report_path_t));
malloc 390 uspace/lib/usbhid/src/hidpath.c new_path_item = malloc(sizeof(usb_hid_report_usage_path_t));
malloc 125 uspace/lib/usbhid/src/hidreport.c *report_desc = (uint8_t *)malloc(length);
malloc 347 uspace/lib/usbhost/src/ddf_helpers.c match_id_t *mid = malloc(sizeof(match_id_t)); \
malloc 104 uspace/lib/usbvirt/src/ipc_dev.c void *buffer = malloc(data_len);
malloc 195 uspace/lib/usbvirt/src/ipc_dev.c void *buffer = malloc(data_len);
malloc 110 uspace/lib/usbvirt/src/stdreq.c uint8_t *all_data = malloc(config->descriptor->total_length);
malloc 190 uspace/lib/vt/src/vt100.c vt100_t *vt = malloc(sizeof(vt100_t));
malloc 52 uspace/srv/audio/hound/audio_data.c audio_data_t *adata = malloc(sizeof(audio_data_t) + size);
malloc 115 uspace/srv/audio/hound/audio_data.c audio_data_link_t *link = malloc(sizeof(audio_data_link_t));
malloc 54 uspace/srv/audio/hound/connection.c connection_t *conn = malloc(sizeof(connection_t));
malloc 283 uspace/srv/audio/hound/hound.c dev = malloc(sizeof(audio_device_t));
malloc 59 uspace/srv/audio/hound/hound_ctx.c hound_ctx_t *ctx = malloc(sizeof(hound_ctx_t));
malloc 65 uspace/srv/audio/hound/hound_ctx.c ctx->sink = malloc(sizeof(audio_sink_t));
malloc 90 uspace/srv/audio/hound/hound_ctx.c hound_ctx_t *ctx = malloc(sizeof(hound_ctx_t));
malloc 96 uspace/srv/audio/hound/hound_ctx.c ctx->source = malloc(sizeof(audio_source_t));
malloc 250 uspace/srv/audio/hound/hound_ctx.c hound_ctx_stream_t *stream = malloc(sizeof(hound_ctx_stream_t));
malloc 397 uspace/srv/audio/hound/hound_ctx.c void *buffer = malloc(size);
malloc 443 uspace/srv/audio/hound/hound_ctx.c void *buffer = malloc(bsize);
malloc 102 uspace/srv/bd/vbd/vbd.c service_id_t *id_buf = (service_id_t *) malloc(size);
malloc 207 uspace/srv/bd/vbd/vbd.c category_id_t *id_buf = (category_id_t *) malloc(size);
malloc 122 uspace/srv/devman/client_conn.c buffer = malloc(data_len);
malloc 183 uspace/srv/devman/client_conn.c void *buffer = malloc(data_len);
malloc 236 uspace/srv/devman/client_conn.c void *buffer = malloc(data_len);
malloc 301 uspace/srv/devman/client_conn.c void *buffer = malloc(data_len);
malloc 384 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
malloc 520 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
malloc 559 uspace/srv/devman/client_conn.c devman_handle_t *hdl_buf = (devman_handle_t *) malloc(size);
malloc 622 uspace/srv/devman/client_conn.c void *buffer = malloc(data_len);
malloc 672 uspace/srv/devman/client_conn.c void *buffer = malloc(data_len);
malloc 73 uspace/srv/devman/driver.c driver_t *res = malloc(sizeof(driver_t));
malloc 136 uspace/srv/devman/driver.c drv->name = malloc(name_size);
malloc 177 uspace/srv/devman/fun.c fun->pathname = (char *) malloc(pathsize);
malloc 115 uspace/srv/devman/match.c res = malloc(len + 1);
malloc 225 uspace/srv/devman/match.c buf = malloc(len + 1);
malloc 44 uspace/srv/devman/util.c res = malloc(size);
malloc 379 uspace/srv/fs/cdfs/cdfs_ops.c cdfs_node_t *node = malloc(sizeof(cdfs_node_t));
malloc 385 uspace/srv/fs/cdfs/cdfs_ops.c node->fs_node = malloc(sizeof(fs_node_t));
malloc 434 uspace/srv/fs/cdfs/cdfs_ops.c cdfs_dentry_t *dentry = malloc(sizeof(cdfs_dentry_t));
malloc 469 uspace/srv/fs/cdfs/cdfs_ops.c str = malloc(dsize + 1);
malloc 487 uspace/srv/fs/cdfs/cdfs_ops.c str = malloc(dstr_size);
malloc 315 uspace/srv/fs/exfat/exfat_directory.c array = (exfat_dentry_t *) malloc(count * sizeof(exfat_dentry_t));
malloc 389 uspace/srv/fs/exfat/exfat_directory.c uctable = (uint16_t *) malloc(uctable_chars * sizeof(uint16_t));
malloc 306 uspace/srv/fs/exfat/exfat_fat.c lifo = (exfat_cluster_t *) malloc(nclsts * sizeof(exfat_cluster_t));
malloc 306 uspace/srv/fs/exfat/exfat_idx.c n = malloc(sizeof(freed_t));
malloc 319 uspace/srv/fs/exfat/exfat_idx.c n = malloc(sizeof(freed_t));
malloc 334 uspace/srv/fs/exfat/exfat_idx.c fidx = (exfat_idx_t *) malloc(sizeof(exfat_idx_t));
malloc 494 uspace/srv/fs/exfat/exfat_idx.c u = (unused_t *) malloc(sizeof(unused_t));
malloc 255 uspace/srv/fs/exfat/exfat_ops.c fn = (fs_node_t *)malloc(sizeof(fs_node_t));
malloc 258 uspace/srv/fs/exfat/exfat_ops.c nodep = (exfat_node_t *)malloc(sizeof(exfat_node_t));
malloc 685 uspace/srv/fs/fat/fat_fat.c lifo = (fat_cluster_t *) malloc(nclsts * sizeof(fat_cluster_t));
malloc 306 uspace/srv/fs/fat/fat_idx.c n = malloc(sizeof(freed_t));
malloc 319 uspace/srv/fs/fat/fat_idx.c n = malloc(sizeof(freed_t));
malloc 334 uspace/srv/fs/fat/fat_idx.c fidx = (fat_idx_t *) malloc(sizeof(fat_idx_t));
malloc 493 uspace/srv/fs/fat/fat_idx.c u = (unused_t *) malloc(sizeof(unused_t));
malloc 247 uspace/srv/fs/fat/fat_ops.c fn = (fs_node_t *)malloc(sizeof(fs_node_t));
malloc 250 uspace/srv/fs/fat/fat_ops.c nodep = (fat_node_t *)malloc(sizeof(fat_node_t));
malloc 961 uspace/srv/fs/fat/fat_ops.c fs_node_t *rfn = (fs_node_t *)malloc(sizeof(fs_node_t));
malloc 970 uspace/srv/fs/fat/fat_ops.c fat_node_t *rootp = (fat_node_t *)malloc(sizeof(fat_node_t));
malloc 1088 uspace/srv/fs/fat/fat_ops.c instance = malloc(sizeof(fat_instance_t));
malloc 108 uspace/srv/fs/locfs/locfs_ops.c locfs_node_t *node = (locfs_node_t *) malloc(sizeof(locfs_node_t));
malloc 114 uspace/srv/fs/locfs/locfs_ops.c *rfn = (fs_node_t *) malloc(sizeof(fs_node_t));
malloc 241 uspace/srv/fs/locfs/locfs_ops.c service_t *dev = (service_t *) malloc(sizeof(service_t));
malloc 95 uspace/srv/fs/mfs/mfs_inode.c ino_i = malloc(sizeof(*ino_i));
malloc 148 uspace/srv/fs/mfs/mfs_inode.c ino_i = malloc(sizeof(*ino_i));
malloc 157 uspace/srv/fs/mfs/mfs_ops.c sbi = malloc(sizeof(*sbi));
malloc 163 uspace/srv/fs/mfs/mfs_ops.c sb = malloc(MFS_SUPERBLOCK_SIZE);
malloc 318 uspace/srv/fs/mfs/mfs_ops.c instance = malloc(sizeof(*instance));
malloc 418 uspace/srv/fs/mfs/mfs_ops.c ino_i = malloc(sizeof(*ino_i));
malloc 424 uspace/srv/fs/mfs/mfs_ops.c mnode = malloc(sizeof(*mnode));
malloc 430 uspace/srv/fs/mfs/mfs_ops.c fsnode = malloc(sizeof(fs_node_t));
malloc 631 uspace/srv/fs/mfs/mfs_ops.c node = malloc(sizeof(fs_node_t));
malloc 639 uspace/srv/fs/mfs/mfs_ops.c mnode = malloc(sizeof(*mnode));
malloc 899 uspace/srv/fs/mfs/mfs_ops.c uint8_t *buf = malloc(sbi->block_size);
malloc 352 uspace/srv/fs/mfs/mfs_rw.c *ind_zone = malloc(max_ind_zone_ptrs);
malloc 307 uspace/srv/fs/tmpfs/tmpfs_ops.c tmpfs_node_t *nodep = malloc(sizeof(tmpfs_node_t));
malloc 312 uspace/srv/fs/tmpfs/tmpfs_ops.c nodep->bp = malloc(sizeof(fs_node_t));
malloc 371 uspace/srv/fs/tmpfs/tmpfs_ops.c dentryp = malloc(sizeof(tmpfs_dentry_t));
malloc 378 uspace/srv/fs/tmpfs/tmpfs_ops.c dentryp->name = malloc(size + 1);
malloc 213 uspace/srv/fs/udf/udf_file.c node->data = malloc(node->data_size);
malloc 393 uspace/srv/fs/udf/udf_file.c void *buf = malloc(node->instance->sector_size);
malloc 475 uspace/srv/fs/udf/udf_file.c void *fidbuf = malloc(node->instance->sector_size);
malloc 556 uspace/srv/fs/udf/udf_file.c *buf = malloc(*len);
malloc 159 uspace/srv/fs/udf/udf_idx.c udf_node_t *udf_node = malloc(sizeof(udf_node_t));
malloc 165 uspace/srv/fs/udf/udf_idx.c fs_node_t *fs_node = malloc(sizeof(fs_node_t));
malloc 112 uspace/srv/fs/udf/udf_ops.c char *name = malloc(MAX_FILE_NAME_LEN + 1);
malloc 311 uspace/srv/fs/udf/udf_ops.c udf_instance_t *instance = malloc(sizeof(udf_instance_t));
malloc 495 uspace/srv/fs/udf/udf_ops.c char *name = malloc(MAX_FILE_NAME_LEN + 1);
malloc 268 uspace/srv/fs/udf/udf_osta.c uint16_t *raw_name = malloc(MAX_BUF * sizeof(uint16_t));
malloc 269 uspace/srv/fs/udf/udf_osta.c uint16_t *unix_name = malloc(MAX_BUF * sizeof(uint16_t));
malloc 107 uspace/srv/fs/udf/udf_volume.c udf_vrs_descriptor_t *vd = malloc(sizeof(udf_vrs_descriptor_t));
malloc 777 uspace/srv/fs/udf/udf_volume.c malloc(sct * instance->sector_size);
malloc 337 uspace/srv/hid/console/console.c (cons_qevent_t *) malloc(sizeof(cons_qevent_t));
malloc 228 uspace/srv/hid/display/test/cursor.c bm->alloc.pixels = malloc(bm->alloc.pitch * dims.y * sizeof(uint32_t));
malloc 276 uspace/srv/hid/input/gsp.c t = malloc(sizeof(gsp_trans_t));
malloc 390 uspace/srv/hid/input/layout/cz.c cz_state = malloc(sizeof(layout_cz_t));
malloc 377 uspace/srv/hid/isdv4_tablet/isdv4.c state->buf = malloc(BUF_SIZE);
malloc 63 uspace/srv/hid/output/output.c outdev_t *dev = (outdev_t *) malloc(sizeof(outdev_t));
malloc 168 uspace/srv/hid/output/output.c frontbuf_t *frontbuf = (frontbuf_t *) malloc(sizeof(frontbuf_t));
malloc 374 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
malloc 397 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
malloc 414 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
malloc 75 uspace/srv/hid/remcons/user.c telnet_user_t *user = malloc(sizeof(telnet_user_t));
malloc 499 uspace/srv/hid/remcons/user.c uint8_t *converted = malloc(3 * size + 1);
malloc 264 uspace/srv/hid/rfb/main.c rfbbm->alloc.pixels = malloc(rfbbm->alloc.pitch * dim.y);
malloc 201 uspace/srv/hid/rfb/rfb.c void *pixbuf = malloc(new_size);
malloc 315 uspace/srv/hid/rfb/rfb.c void *buf = malloc(size);
malloc 505 uspace/srv/hid/rfb/rfb.c void *buf = malloc(buf_size);
malloc 577 uspace/srv/hid/rfb/rfb.c rfb->palette = malloc(sizeof(pixel_t) * 256);
malloc 659 uspace/srv/hid/rfb/rfb.c rfb_server_init_t *server_init = malloc(msg_length);
malloc 93 uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c ts = malloc(sizeof(s3c24xx_ts_t));
malloc 93 uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c uart = malloc(sizeof(s3c24xx_uart_t));
malloc 116 uspace/srv/klog/klog.c log_entry_t *buf = malloc(entry_len + 1);
malloc 120 uspace/srv/klog/klog.c item_t *item = malloc(sizeof(item_t));
malloc 222 uspace/srv/klog/klog.c buffer = malloc(BUFFER_SIZE);
malloc 148 uspace/srv/loader/main.c char *name = malloc(namesize);
malloc 196 uspace/srv/loader/main.c char **_argv = (char **) malloc((count + 1) * sizeof(char *));
malloc 254 uspace/srv/loader/main.c char *name = malloc(namesize);
malloc 99 uspace/srv/locsrv/category.c cat = malloc(sizeof(category_t));
malloc 120 uspace/srv/locsrv/category.c svc_categ_t *nmemb = malloc(sizeof(svc_categ_t));
malloc 256 uspace/srv/locsrv/locsrv.c namespace = (loc_namespace_t *) malloc(sizeof(loc_namespace_t));
malloc 350 uspace/srv/locsrv/locsrv.c (loc_server_t *) malloc(sizeof(loc_server_t));
malloc 466 uspace/srv/locsrv/locsrv.c (loc_service_t *) malloc(sizeof(loc_service_t));
malloc 982 uspace/srv/locsrv/locsrv.c category_id_t *id_buf = (category_id_t *) malloc(size);
malloc 1034 uspace/srv/locsrv/locsrv.c loc_sdesc_t *desc = (loc_sdesc_t *) malloc(size);
malloc 1097 uspace/srv/locsrv/locsrv.c loc_sdesc_t *desc = (loc_sdesc_t *) malloc(size);
malloc 1145 uspace/srv/locsrv/locsrv.c category_id_t *id_buf = (category_id_t *) malloc(size);
malloc 1204 uspace/srv/locsrv/locsrv.c (loc_service_t *) malloc(sizeof(loc_service_t));
malloc 54 uspace/srv/logger/logs.c logger_dest_t *result = malloc(sizeof(logger_dest_t));
malloc 589 uspace/srv/net/dnsrsrv/dns_msg.c msg->pdu.data = malloc(size);
malloc 194 uspace/srv/net/inetsrv/reass.c data_copy = malloc(packet->size);
malloc 191 uspace/srv/net/loopip/loopip.c rqe->sdu.data = malloc(sdu->size);
malloc 220 uspace/srv/net/loopip/loopip.c rqe->sdu.data = malloc(sdu->size);
malloc 130 uspace/srv/net/tcp/inet.c pdu_raw = malloc(pdu_raw_size);
malloc 233 uspace/srv/net/tcp/pdu.c pdu->header = malloc(hdr_size);
malloc 234 uspace/srv/net/tcp/pdu.c pdu->text = malloc(text_size);
malloc 150 uspace/srv/net/tcp/segment.c seg->dfptr = seg->data = malloc(size);
malloc 971 uspace/srv/net/tcp/service.c data = malloc(size);
malloc 1026 uspace/srv/net/tcp/service.c data = malloc(size);
malloc 1082 uspace/srv/net/tcp/service.c data = malloc(size);
malloc 87 uspace/srv/net/tcp/test/pdu.c data = malloc(dsize);
malloc 56 uspace/srv/net/tcp/test/segment.c data = malloc(dsize);
malloc 97 uspace/srv/net/tcp/test/segment.c data = malloc(dsize);
malloc 168 uspace/srv/net/tcp/test/segment.c data = malloc(dsize);
malloc 170 uspace/srv/net/tcp/test/segment.c cdata = malloc(dsize);
malloc 199 uspace/srv/net/tcp/test/segment.c data = malloc(dsize);
malloc 201 uspace/srv/net/tcp/test/segment.c cdata = malloc(dsize);
malloc 200 uspace/srv/net/udp/pdu.c nmsg->data = malloc(nmsg->data_size);
malloc 390 uspace/srv/net/udp/service.c data = malloc(size);
malloc 117 uspace/srv/ns/clonable.c cs_req_t *csr = malloc(sizeof(cs_req_t));
malloc 221 uspace/srv/ns/service.c (hashed_iface_t *) malloc(sizeof(hashed_iface_t));
malloc 278 uspace/srv/ns/service.c (hashed_service_t *) malloc(sizeof(hashed_service_t));
malloc 321 uspace/srv/ns/service.c (hashed_service_t *) malloc(sizeof(hashed_service_t));
malloc 348 uspace/srv/ns/service.c (pending_conn_t *) malloc(sizeof(pending_conn_t));
malloc 215 uspace/srv/ns/task.c (pending_wait_t *) malloc(sizeof(pending_wait_t));
malloc 235 uspace/srv/ns/task.c p2i_entry_t *entry = (p2i_entry_t *) malloc(sizeof(p2i_entry_t));
malloc 239 uspace/srv/ns/task.c hashed_task_t *ht = (hashed_task_t *) malloc(sizeof(hashed_task_t));
malloc 73 uspace/srv/vfs/vfs_file.c vfs_data->files = malloc(VFS_MAX_OPEN_FILES * sizeof(vfs_file_t *));
malloc 115 uspace/srv/vfs/vfs_file.c vfs_data = malloc(sizeof(vfs_client_data_t));
malloc 208 uspace/srv/vfs/vfs_file.c vfs_data->files[i] = (vfs_file_t *) malloc(sizeof(vfs_file_t));
malloc 395 uspace/srv/vfs/vfs_file.c bh = malloc(sizeof(vfs_boxed_handle_t));
malloc 175 uspace/srv/vfs/vfs_node.c node = (vfs_node_t *) malloc(sizeof(vfs_node_t));
malloc 127 uspace/srv/vfs/vfs_register.c fs_info_t *fs_info = (fs_info_t *) malloc(sizeof(fs_info_t));
malloc 49 uspace/srv/volsrv/test/volume.c namebuf = malloc(L_tmpnam);
malloc 74 uspace/srv/volsrv/test/volume.c namebuf = malloc(L_tmpnam);
malloc 114 uspace/srv/volsrv/test/volume.c namebuf = malloc(L_tmpnam);
malloc 119 uspace/srv/volsrv/volsrv.c service_id_t *id_buf = (service_id_t *) malloc(size);
malloc 478 uspace/srv/volsrv/volsrv.c volume_id_t *id_buf = (volume_id_t *) malloc(size);
HelenOS homepage, sources at GitHub