Searched refs:firstpg (Results 1 - 2 of 2) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_bio.c2069 int pg, firstpg, lastpg, dirtypg; local
2070 dirtypg = firstpg = lastpg = -1;
2074 if (firstpg < 0)
2075 firstpg = pg;
2077 } else if (firstpg >= 0 && dirtypg < 0 && NBPGDIRTY(bp,pg))
2083 if (firstpg < 0) {
2095 if (((dirtypg > firstpg) && (dirtypg < lastpg)) ||
2096 (((firstpg*PAGE_SIZE) < bp->nb_dirtyend) && (((lastpg+1)*PAGE_SIZE) > bp->nb_dirtyoff))) {
2115 (lastpg - firstpg + 1) > (biosize/PAGE_SIZE)/2) {
2125 auio = uio_createwithbuffer(1, (NBOFF(bp) + firstpg * PAGE_SIZE_6
2376 int iomode, doff, dend, firstpg, lastpg; local
2585 int firstpg, lastpg; local
[all...]
H A Dnfs_vnops.c2031 int firstpg, lastpg; local
2034 firstpg = on/PAGE_SIZE;
2036 pagemask = ((1 << (lastpg+1)) - 1) & ~((1 << firstpg) - 1);
2051 if (NBPGDIRTY(bp,firstpg) || NBPGDIRTY(bp,lastpg)) {
2053 bp->nb_dirtyoff = min(on, firstpg * PAGE_SIZE);
2185 int firstpg, lastpg, dirtypg; local
2188 firstpg = on/PAGE_SIZE;
2192 if (firstpgoff && !NBPGVALID(bp,firstpg)) {
2194 start = firstpg * PAGE_SIZE;

Completed in 45 milliseconds