Lines Matching defs:on
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
508 * on UNIX systems). So, we'll assume that it is OK,
532 * permissions are changed on the server, accesses might still fail later.
668 * on the node and, for NFSv4, perform an OPEN request on the server.
823 NP(np, "nfs_vnop_open: deny mode foregone on create, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred));
896 * 2 - To put a worst case upper bound on cache inconsistency between
987 // XXX It would be nice if we still had the O_EXLOCK/O_SHLOCK flags that were on the open
1105 * to update the open file structure (and the state on the server) appropriately.
1418 /* check if the node changed on us */
2076 /* compute actual success/failure based on accessibility */
2509 int n, on, error = 0;
2598 on = uio_offset(uio) % biosize;
2599 n = biosize - on;
2637 if (on > bp->nb_dirtyend || (on + n) < bp->nb_dirtyoff || bp->nb_dirty) {
2652 firstpg = on/PAGE_SIZE;
2653 lastpg = (on+n-1)/PAGE_SIZE;
2671 bp->nb_dirtyoff = min(on, firstpg * PAGE_SIZE);
2681 bp->nb_dirtyend = on+n;
2714 if (on > bp->nb_validend) {
2716 for (i=bp->nb_validend/PAGE_SIZE; i <= (on - 1)/PAGE_SIZE; i++)
2719 FSDBG(516, bp, bp->nb_validend, on - bp->nb_validend, 0xf01e);
2721 on - bp->nb_validend);
2790 * If the write offset (on) isn't page aligned, we'll need to
2792 * if the offset of the end of the write (on+n) isn't page aligned,
2808 firstpg = on/PAGE_SIZE;
2809 firstpgoff = on & PAGE_MASK;
2810 lastpg = (on+n-1)/PAGE_SIZE;
2811 lastpgoff = (on+n) & PAGE_MASK;
2868 uio_addiov(auio, CAST_USER_ADDR_T(bp->nb_data + start), on - start);
2883 if ((bp->nb_validend < 0) || (bp->nb_validend < on))
2884 bp->nb_validend = on;
2888 for (; start < on/PAGE_SIZE; start+=PAGE_SIZE)
2892 start = on+n;
2905 ((start >= on) && ((boff + on + n) >= (off_t)np->n_size))) {
2908 * or the range that we won't be modifying (on+n...end)
2940 for (; start < (off_t)trunc_page_32(on); start+=PAGE_SIZE)
2943 for (; (end - 1) > (off_t)round_page_32(on+n-1); end-=PAGE_SIZE)
2962 error = uiomove((char *)bp->nb_data + on, n, uio);
2970 start = on & ~PAGE_MASK;
2971 for (; start < on+n; start += PAGE_SIZE) {
2984 bp->nb_dirtyoff = min(on, bp->nb_dirtyoff);
2985 bp->nb_dirtyend = max((on + n), bp->nb_dirtyend);
2987 bp->nb_dirtyoff = on;
2988 bp->nb_dirtyend = on + n;
3019 } else if (((n + on) == biosize) || (ioflag & IO_APPEND) ||
3081 /* XXX limitation based on need to back up uio on short write */
3640 * removed later on the last close.
3967 /* sillyrename failed. Instead of pressing on, return error */
4815 ptc = 0; /* only have to deal with ptc on first cookie */
4956 if (ndcc->next[i] == -1) /* stop on last entry so we can reuse */
5553 /* didn't actually have the room... move on to next buffer */
5620 * to a funny looking filename that is removed by nfs_vnop_inactive on the
5621 * nfsnode. There is the potential for another process on a different client
5802 * allocate an nfsnode, depending on the value of npp.
6425 * Update the times on the nfsnode then do device close.
6533 * Update the times on the nfsnode then do fifo close.
6826 * see nfs_pageout comments on explanation of actions.
6864 DUMP, /* ENOSPC 28 No space left on device */
6876 DUMPANDLOG, /* ENOTSOC 38 Socket operation on non-socket */
6891 RETRY, /* ENETRESET 52 Network dropped connection on reset */
7018 /* need make sure we do things on block boundaries */
7333 * We've had several different solutions on what to do when the pageout
7349 * All this is the basis for the states returned and first guesses on