writei             54 kernel/defs.h  int             writei(struct inode*, int, uint64, uint, uint);
writei            164 kernel/file.c        if ((r = writei(f->ip, 1, addr + i, f->off, n1)) > 0)
writei            602 kernel/fs.c      if(writei(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
writei            223 kernel/sysfile.c   if(writei(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))