dip 199 fs.c struct dinode *dip; dip 203 fs.c dip = (struct dinode*)bp->data + inum%IPB; dip 204 fs.c if(dip->type == 0){ // a free inode dip 205 fs.c memset(dip, 0, sizeof(*dip)); dip 206 fs.c dip->type = type; dip 224 fs.c struct dinode *dip; dip 227 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 228 fs.c dip->type = ip->type; dip 229 fs.c dip->major = ip->major; dip 230 fs.c dip->minor = ip->minor; dip 231 fs.c dip->nlink = ip->nlink; dip 232 fs.c dip->size = ip->size; dip 233 fs.c memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); dip 291 fs.c struct dinode *dip; dip 300 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 301 fs.c ip->type = dip->type; dip 302 fs.c ip->major = dip->major; dip 303 fs.c ip->minor = dip->minor; dip 304 fs.c ip->nlink = dip->nlink; dip 305 fs.c ip->size = dip->size; dip 306 fs.c memmove(ip->addrs, dip->addrs, sizeof(ip->addrs)); dip 188 mkfs.c struct dinode *dip; dip 192 mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); dip 193 mkfs.c *dip = *ip; dip 202 mkfs.c struct dinode *dip; dip 206 mkfs.c dip = ((struct dinode*)buf) + (inum % IPB); dip 207 mkfs.c *ip = *dip;