Lines Matching defs:on

19  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
510 * on UNIX systems). So, we'll assume that it is OK,
547 * permissions are changed on the server, accesses might still fail later.
710 * on the node and, for NFSv4, perform an OPEN request on the server.
865 NP(np, "nfs_vnop_open: deny mode foregone on create, %d", kauth_cred_getuid(nofp->nof_owner->noo_cred));
938 * 2 - To put a worst case upper bound on cache inconsistency between
1029 // XXX It would be nice if we still had the O_EXLOCK/O_SHLOCK flags that were on the open
1147 * to update the open file structure (and the state on the server) appropriately.
1460 /* check if the node changed on us */
1523 * with out hanging on a non responsive server.
2157 /* compute actual success/failure based on accessibility */
2590 int n, on, error = 0;
2679 on = uio_offset(uio) % biosize;
2680 n = biosize - on;
2718 if (on > bp->nb_dirtyend || (on + n) < bp->nb_dirtyoff || bp->nb_dirty) {
2733 firstpg = on/PAGE_SIZE;
2734 lastpg = (on+n-1)/PAGE_SIZE;
2752 bp->nb_dirtyoff = min(on, firstpg * PAGE_SIZE);
2762 bp->nb_dirtyend = on+n;
2795 if (on > bp->nb_validend) {
2797 for (i=bp->nb_validend/PAGE_SIZE; i <= (on - 1)/PAGE_SIZE; i++)
2800 FSDBG(516, bp, bp->nb_validend, on - bp->nb_validend, 0xf01e);
2802 on - bp->nb_validend);
2871 * If the write offset (on) isn't page aligned, we'll need to
2873 * if the offset of the end of the write (on+n) isn't page aligned,
2889 firstpg = on/PAGE_SIZE;
2890 firstpgoff = on & PAGE_MASK;
2891 lastpg = (on+n-1)/PAGE_SIZE;
2892 lastpgoff = (on+n) & PAGE_MASK;
2949 uio_addiov(auio, CAST_USER_ADDR_T(bp->nb_data + start), on - start);
2964 if ((bp->nb_validend < 0) || (bp->nb_validend < on))
2965 bp->nb_validend = on;
2969 for (; start < on/PAGE_SIZE; start+=PAGE_SIZE)
2973 start = on+n;
2986 ((start >= on) && ((boff + on + n) >= (off_t)np->n_size))) {
2989 * or the range that we won't be modifying (on+n...end)
3021 for (; start < (off_t)trunc_page_32(on); start+=PAGE_SIZE)
3024 for (; (end - 1) > (off_t)round_page_32(on+n-1); end-=PAGE_SIZE)
3043 error = uiomove((char *)bp->nb_data + on, n, uio);
3051 start = on & ~PAGE_MASK;
3052 for (; start < on+n; start += PAGE_SIZE) {
3065 bp->nb_dirtyoff = min(on, bp->nb_dirtyoff);
3066 bp->nb_dirtyend = max((on + n), bp->nb_dirtyend);
3068 bp->nb_dirtyoff = on;
3069 bp->nb_dirtyend = on + n;
3100 } else if (((n + on) == biosize) || (ioflag & IO_APPEND) ||
3163 /* XXX limitation based on need to back up uio on short write */
3729 * removed later on the last close.
4056 /* sillyrename failed. Instead of pressing on, return error */
4904 ptc = 0; /* only have to deal with ptc on first cookie */
5045 if (ndcc->next[i] == -1) /* stop on last entry so we can reuse */
5642 /* didn't actually have the room... move on to next buffer */
5709 * to a funny looking filename that is removed by nfs_vnop_inactive on the
5710 * nfsnode. There is the potential for another process on a different client
5891 * allocate an nfsnode, depending on the value of npp.
6514 * Update the times on the nfsnode then do device close.
6622 * Update the times on the nfsnode then do fifo close.
6919 * see nfs_pageout comments on explanation of actions.
6957 DUMP, /* ENOSPC 28 No space left on device */
6969 DUMPANDLOG, /* ENOTSOC 38 Socket operation on non-socket */
6984 RETRY, /* ENETRESET 52 Network dropped connection on reset */
7111 /* need make sure we do things on block boundaries */
7426 * We've had several different solutions on what to do when the pageout
7442 * All this is the basis for the states returned and first guesses on