Searched refs:lastpg (Results 1 - 3 of 3) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dubc_subr.c532 off_t lastpg, olastpgend, lastoff; local
559 lastpg = trunc_page_64(nsize);
575 kret = ubc_create_upl(vp, lastpg, PAGE_SIZE, &upl, &pl, UPL_SET_LITE);
585 lastpg += PAGE_SIZE_64;
587 if (olastpgend > lastpg) {
593 (memory_object_offset_t)lastpg,
594 (memory_object_size_t)(olastpgend - lastpg), NULL, NULL,
/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;
2076 lastpg = pg;
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) {
2131 ((lastpg - firstpg + 1) * PAGE_SIZE));
2152 for (pg=firstpg; pg <= lastpg; pg++)
2376 int iomode, doff, dend, firstpg, lastpg; local
2496 lastpg
2585 int firstpg, lastpg; local
[all...]
H A Dnfs_vnops.c2031 int firstpg, lastpg; local
2035 lastpg = (on+n-1)/PAGE_SIZE;
2036 pagemask = ((1 << (lastpg+1)) - 1) & ~((1 << firstpg) - 1);
2051 if (NBPGDIRTY(bp,firstpg) || NBPGDIRTY(bp,lastpg)) {
2054 if (NBPGDIRTY(bp,lastpg)) {
2055 bp->nb_dirtyend = (lastpg+1) * PAGE_SIZE;
2185 int firstpg, lastpg, dirtypg; local
2190 lastpg = (on+n-1)/PAGE_SIZE;
2197 if (lastpgoff && !NBPGVALID(bp,lastpg)) {
2200 start = (lastpg * PAGE_SIZ
[all...]

Completed in 103 milliseconds