Searched refs:firstpg (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_bio.c | 2105 int pg, firstpg, lastpg, dirtypg; local 2106 dirtypg = firstpg = lastpg = -1; 2110 if (firstpg < 0) 2111 firstpg = pg; 2113 } else if (firstpg >= 0 && dirtypg < 0 && NBPGDIRTY(bp,pg)) 2119 if (firstpg < 0) { 2131 if (((dirtypg > firstpg) && (dirtypg < lastpg)) || 2132 (((firstpg*PAGE_SIZE) < bp->nb_dirtyend) && (((lastpg+1)*PAGE_SIZE) > bp->nb_dirtyoff))) { 2151 (lastpg - firstpg + 1) > (biosize/PAGE_SIZE)/2) { 2161 auio = uio_createwithbuffer(1, (NBOFF(bp) + firstpg * PAGE_SIZE_6 2285 int iomode, doff, dend, firstpg, lastpg; local 2497 int firstpg, lastpg; local [all...] |
H A D | nfs_vnops.c | 2649 int firstpg, lastpg; local 2652 firstpg = on/PAGE_SIZE; 2654 pagemask = ((1 << (lastpg+1)) - 1) & ~((1 << firstpg) - 1); 2669 if (NBPGDIRTY(bp,firstpg) || NBPGDIRTY(bp,lastpg)) { 2671 bp->nb_dirtyoff = min(on, firstpg * PAGE_SIZE); 2805 int firstpg, lastpg, dirtypg; local 2808 firstpg = on/PAGE_SIZE; 2812 if (firstpgoff && !NBPGVALID(bp,firstpg)) { 2814 start = firstpg * PAGE_SIZE;
|
Completed in 78 milliseconds