Searched refs:lastpg (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | ubc_subr.c | 729 off_t lastpg, olastpgend, lastoff; local 761 lastpg = trunc_page_64(nsize); 777 kret = ubc_create_upl(vp, lastpg, PAGE_SIZE, &upl, &pl, UPL_SET_LITE); 787 lastpg += PAGE_SIZE_64; 789 if (olastpgend > lastpg) { 792 if (lastpg == 0) 801 (memory_object_offset_t)lastpg, 802 (memory_object_size_t)(olastpgend - lastpg), NULL, NULL,
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_bio.c | 2105 int pg, firstpg, lastpg, dirtypg; local 2106 dirtypg = firstpg = lastpg = -1; 2112 lastpg = pg; 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) { 2167 ((lastpg - firstpg + 1) * PAGE_SIZE)); 2188 for (pg=firstpg; pg <= lastpg; pg++) 2285 int iomode, doff, dend, firstpg, lastpg; local 2408 lastpg 2497 int firstpg, lastpg; local [all...] |
H A D | nfs_vnops.c | 2649 int firstpg, lastpg; local 2653 lastpg = (on+n-1)/PAGE_SIZE; 2654 pagemask = ((1 << (lastpg+1)) - 1) & ~((1 << firstpg) - 1); 2669 if (NBPGDIRTY(bp,firstpg) || NBPGDIRTY(bp,lastpg)) { 2672 if (NBPGDIRTY(bp,lastpg)) { 2673 bp->nb_dirtyend = (lastpg+1) * PAGE_SIZE; 2805 int firstpg, lastpg, dirtypg; local 2810 lastpg = (on+n-1)/PAGE_SIZE; 2817 if (lastpgoff && !NBPGVALID(bp,lastpg)) { 2820 start = (lastpg * PAGE_SIZ [all...] |
H A D | nfs4_vnops.c | 7536 int lastpg; local 7557 lastpg = (trunc_page_32(retlen) - 1) / PAGE_SIZE; 7558 pagemask = ((1 << (lastpg + 1)) - 1);
|
Completed in 105 milliseconds