dip 181 fs.c struct dinode *dip; dip 185 fs.c dip = (struct dinode*)bp->data + inum%IPB; dip 186 fs.c if(dip->type == 0){ // a free inode dip 187 fs.c memset(dip, 0, sizeof(*dip)); dip 188 fs.c dip->type = type; dip 203 fs.c struct dinode *dip; dip 206 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 207 fs.c dip->type = ip->type; dip 208 fs.c dip->major = ip->major; dip 209 fs.c dip->minor = ip->minor; dip 210 fs.c dip->nlink = ip->nlink; dip 211 fs.c dip->size = ip->size; dip 212 fs.c memmove(dip->addrs, ip->addrs, sizeof(ip->addrs)); dip 270 fs.c struct dinode *dip; dip 283 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; dip 284 fs.c ip->type = dip->type; dip 285 fs.c ip->major = dip->major; dip 286 fs.c ip->minor = dip->minor; dip 287 fs.c ip->nlink = dip->nlink; dip 288 fs.c ip->size = dip->size; dip 289 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;