Searched refs:n1 (Results 1 – 2 of 2) sorted by relevance
136 int n1 = n - i; in filewrite() local137 if(n1 > max) in filewrite()138 n1 = max; in filewrite()142 if ((r = writei(f->ip, addr + i, f->off, n1)) > 0) in filewrite()149 if(r != n1) in filewrite()
259 uint fbn, off, n1; in iappend() local287 n1 = min(n, (fbn + 1) * BSIZE - off); in iappend()289 bcopy(p, buf + off - (fbn * BSIZE), n1); in iappend()291 n -= n1; in iappend()292 off += n1; in iappend()293 p += n1; in iappend()