dip 203 kernel/fs.c struct dinode *dip; dip 207 kernel/fs.c dip = (struct dinode*)bp->data + inum%IPB; dip 208 kernel/fs.c if(dip->type == 0){ // a free inode dip 209 kernel/fs.c memset(dip, 0, sizeof(*dip)); dip 210 kernel/fs.c dip->type = type; dip 229 kernel/fs.c struct dinode *dip; dip 232 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 233 kernel/fs.c dip->type = ip->type; dip 234 kernel/fs.c dip->major = ip->major; dip 235 kernel/fs.c dip->minor = ip->minor; dip 236 kernel/fs.c dip->nlink = ip->nlink; dip 237 kernel/fs.c dip->size = ip->size; dip 238 kernel/fs.c memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); dip 296 kernel/fs.c struct dinode *dip; dip 305 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 306 kernel/fs.c ip->type = dip->type; dip 307 kernel/fs.c ip->major = dip->major; dip 308 kernel/fs.c ip->minor = dip->minor; dip 309 kernel/fs.c ip->nlink = dip->nlink; dip 310 kernel/fs.c ip->size = dip->size; dip 311 kernel/fs.c memmove(ip->addrs, dip->addrs, sizeof(ip->addrs)); dip 191 mkfs/mkfs.c struct dinode *dip; dip 195 mkfs/mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); dip 196 mkfs/mkfs.c *dip = *ip; dip 205 mkfs/mkfs.c struct dinode *dip; dip 209 mkfs/mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); dip 210 mkfs/mkfs.c *ip = *dip;