malloc 70 usr/bin/cat/cat.c if ((stdbuf = malloc(BUFSIZ)) == NULL) malloc 75 usr/bin/cp/cp.c if ((iobuf = malloc(BUFSIZ)) == NULL) malloc 53 usr/bin/dmesg/dmesg.c if ((buf = malloc(size)) == NULL) malloc 85 usr/lib/libc/gen/fts.c if ((sp = malloc((u_int)sizeof(FTS))) == NULL) malloc 893 usr/lib/libc/gen/fts.c if ((p = malloc(len)) == NULL) malloc 68 usr/lib/libc/stdio/findfp.c if ((tmp = malloc(sizeof(FILE))) == NULL) malloc 80 usr/lib/libc/stdio/makebuf.c if ((p = malloc(size)) == NULL) { malloc 45 usr/lib/libc/stdio/tempnam.c if (!(name = malloc((size_t)MAXPATHLEN))) malloc 41 usr/lib/libc/stdlib/calloc.c if ((p = malloc(size)) != NULL) malloc 76 usr/lib/libc/stdlib/setenv.c p = malloc((size_t)(sizeof(char *) * (cnt + 2))); malloc 87 usr/lib/libc/stdlib/setenv.c malloc((size_t)((int)(c - name) + l_value + 2)))) malloc 44 usr/lib/libc/string/strdup.c if (!(copy = malloc((u_int)len))) malloc 46 usr/lib/posix/file/opendir.c if ((dir = malloc(sizeof(struct _dirdesc))) == NULL) malloc 46 usr/lib/prex/malloc/malloc_r.c p = malloc(size); malloc 41 usr/lib/prex/malloc/realloc.c return malloc(size); malloc 49 usr/lib/prex/malloc/realloc.c if ((p = malloc(size)) == NULL) malloc 50 usr/sample/task/task.c stack = malloc(1024); malloc 207 usr/server/exec/exec_elf.c if ((buf = malloc(shdr_size)) == NULL) { malloc 277 usr/server/exec/exec_elf.c if ((addr = malloc(shdr->sh_size)) == NULL) { malloc 196 usr/server/exec/main.c msg = malloc(MAX_EXECMSG); malloc 79 usr/server/fs/arfs/arfs_vfsops.c if ((buf = malloc(BSIZE)) == NULL) malloc 76 usr/server/fs/fatfs/fatfs_vfsops.c bpb = malloc(SEC_SIZE); malloc 144 usr/server/fs/fatfs/fatfs_vfsops.c fmp = malloc(sizeof(struct fatfsmount)); malloc 153 usr/server/fs/fatfs/fatfs_vfsops.c fmp->io_buf = malloc(fmp->sec_per_cl * SEC_SIZE); malloc 157 usr/server/fs/fatfs/fatfs_vfsops.c fmp->fat_buf = malloc(SEC_SIZE * 2); malloc 161 usr/server/fs/fatfs/fatfs_vfsops.c fmp->dir_buf = malloc(SEC_SIZE); malloc 204 usr/server/fs/fatfs/fatfs_vfsops.c np = malloc(sizeof(struct fatfs_node)); malloc 364 usr/server/fs/fifofs/fifo_vnops.c if ((np = malloc(sizeof(struct fifo_node))) == NULL) malloc 367 usr/server/fs/fifofs/fifo_vnops.c if ((np->fn_buf = malloc(PIPE_BUF)) == NULL) { malloc 372 usr/server/fs/fifofs/fifo_vnops.c np->fn_name = malloc(len); malloc 103 usr/server/fs/ramfs/ramfs_vnops.c np = malloc(sizeof(struct ramfs_node)); malloc 109 usr/server/fs/ramfs/ramfs_vnops.c np->rn_name = malloc(np->rn_namelen + 1); malloc 192 usr/server/fs/ramfs/ramfs_vnops.c tmp = malloc(len + 1); malloc 1034 usr/server/fs/vfs/main.c msg = malloc(MAX_FSMSG); malloc 133 usr/server/fs/vfs/vfs_mount.c if (!(mp = malloc(sizeof(struct mount)))) { malloc 127 usr/server/fs/vfs/vfs_syscalls.c if (!(fp = malloc(sizeof(struct file)))) { malloc 107 usr/server/fs/vfs/vfs_task.c if (!(t = malloc(sizeof(struct task)))) malloc 169 usr/server/fs/vfs/vfs_vnode.c if (!(vp = malloc(sizeof(struct vnode)))) malloc 174 usr/server/fs/vfs/vfs_vnode.c if (!(vp->v_path = malloc(len))) { malloc 390 usr/server/proc/main.c if ((p = malloc(sizeof(struct proc))) == NULL) malloc 143 usr/server/proc/proc_fork.c if ((p = malloc(sizeof(struct proc))) == NULL) malloc 130 usr/server/proc/proc_pid.c if ((pgrp = malloc(sizeof(struct pgrp))) == NULL) malloc 215 usr/server/proc/proc_pid.c if ((sess = malloc(sizeof(struct session))) == NULL) malloc 46 usr/test/conf/conf.c if ((pathbuf = malloc(sz)) == NULL) { malloc 49 usr/test/malloc/malloc.c p = malloc((size_t)buflen); malloc 54 usr/test/memleak/memleak.c p = malloc(size);