memset 130 kernel/defs.h void* memset(void*, int, uint); memset 56 kernel/fs.c memset(bp->data, 0, BSIZE); memset 209 kernel/fs.c memset(dip, 0, sizeof(*dip)); memset 55 kernel/kalloc.c memset(pa, 1, PGSIZE); memset 80 kernel/kalloc.c memset((char*)r, 5, PGSIZE); // fill with junk memset 145 kernel/proc.c memset(&p->context, 0, sizeof(p->context)); memset 222 kernel/sysfile.c memset(&de, 0, sizeof(de)); memset 445 kernel/sysfile.c memset(argv, 0, sizeof(argv)); memset 126 kernel/virtio_disk.c memset(disk.desc, 0, PGSIZE); memset 127 kernel/virtio_disk.c memset(disk.avail, 0, PGSIZE); memset 128 kernel/virtio_disk.c memset(disk.used, 0, PGSIZE); memset 25 kernel/vm.c memset(kpgtbl, 0, PGSIZE); memset 98 kernel/vm.c memset(pagetable, 0, PGSIZE); memset 210 kernel/vm.c memset(pagetable, 0, PGSIZE); memset 225 kernel/vm.c memset(mem, 0, PGSIZE); memset 248 kernel/vm.c memset(mem, 0, PGSIZE); memset 113 mkfs/mkfs.c memset(buf, 0, sizeof(buf)); memset 22 user/ls.c memset(buf+strlen(p), ' ', DIRSIZ-strlen(p)); memset 138 user/sh.c memset(buf, 0, nbuf); memset 202 user/sh.c memset(cmd, 0, sizeof(*cmd)); memset 213 user/sh.c memset(cmd, 0, sizeof(*cmd)); memset 229 user/sh.c memset(cmd, 0, sizeof(*cmd)); memset 242 user/sh.c memset(cmd, 0, sizeof(*cmd)); memset 255 user/sh.c memset(cmd, 0, sizeof(*cmd)); memset 24 user/stressfs.c memset(data, 'a', sizeof(data)); memset 36 user/user.h void* memset(void*, int, uint); memset 1110 user/usertests.c memset(buf, pid==0?'c':'p', sizeof(buf)); memset 1178 user/usertests.c memset(buf, '0'+pi, SZ); memset 1435 user/usertests.c memset(fa, 0, sizeof(fa)); memset 1744 user/usertests.c memset(buf, i, SZ); memset 2314 user/usertests.c memset(big, ' ', sizeof(big));