Lines Matching defs:on

146 			printf("ncl_getpages: called on non-cacheable vnode\n");
304 printf("ncl_putpages: called on noncache-able vnode\n");
349 * If the file's modify time on the server has changed since the
440 int biosize, bcount, error, i, n, nra, on, save2, seqcount;
473 on = 0;
493 on = uio->uio_offset - (lbn * biosize);
563 * on is the offset into the current bp. Figure out how many
571 if (on < bcount)
572 n = MIN((unsigned)(bcount - on), uio->uio_resid);
594 on = 0;
607 on = uio->uio_offset & (NFS_DIRBLKSIZ - 1);
627 * Yuck! The directory has been modified on the
724 n = lmin(uio->uio_resid, NFS_DIRBLKSIZ - bp->b_resid - on);
736 error = vn_io_fault_uiomove(bp->b_data + on, (int)n, uio);
798 * verifier on the mount point.
842 int bp_cached, n, on, error = 0, error1, save2, wouldcommit;
883 * pages and, since the exclusive lock is held on the vnode,
915 * the file's size on the server. If not the same, the
1011 on = uio->uio_offset - (lbn * biosize);
1012 n = MIN((unsigned)(biosize - on), uio->uio_resid);
1049 bcount = on + n;
1052 if (noncontig_write != 0 && on > obcount)
1053 vfs_bio_bzero_buf(bp, obcount, on -
1061 bcount = on + n;
1089 * mode, B_CACHE is based on the buffer prior to the write
1093 * on our end, resulting in b_resid == 0 and, thusly,
1107 if (on == 0 && n == bcount) {
1160 * especially if locking is implemented later on.
1163 * not been file locking done on this file:
1171 (on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) {
1180 error = vn_io_fault_uiomove((char *)bp->b_data + on, n, uio);
1206 * Get the partial update on the progress made from
1218 bp->b_dirtyoff = min(on, bp->b_dirtyoff);
1219 bp->b_dirtyend = max((on + n), bp->b_dirtyend);
1221 bp->b_dirtyoff = on;
1222 bp->b_dirtyend = on + n;
1224 vfs_bio_set_valid(bp, on, n);
1242 } else if ((n + on) == biosize || (ioflag & IO_ASYNC) != 0) {
1397 * are all hung on a dead server.
1419 * an nfsiod thread while holding a lock on one of these vnodes.
1463 * If none are free, we may already have an iod working on this mount
1538 * All the iods are busy on other mounts, so return EIO to
1740 * If the buffer is marked B_PAGING, it does not reside on
1755 * the wire for this object, returning an error to user on next
1795 * Used to aid in handling ftruncate() operations on the NFS client side.