Lines Matching refs:poff
221 size_t aoff, boff, poff, slotnumber; in swap_getoff() local
295 poff = ptob(slotnumber); in swap_getoff()
296 if (poff + sip->si_soff >= sip->si_eoff) in swap_getoff()
299 ASSERT(poff < sip->si_eoff); in swap_getoff()
306 return (poff + sip->si_soff); in swap_getoff()
1575 u_offset_t poff; in swapslot_free() local
1590 error = swap_getphysname(vp, off, &pvp, &poff); in swapslot_free()
1591 if (error || pvp != sip->si_vp || poff < sip->si_soff || in swapslot_free()
1592 poff >= sip->si_eoff) { in swapslot_free()
1599 error = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ, in swapslot_free()
1674 u_offset_t poff, pstart, prem; in swap_newphysname() local
1714 for (off = start, poff = pstart; poff < pstart + plen; in swap_newphysname()
1715 off += PAGESIZE, poff += PAGESIZE) { in swap_newphysname()
1724 ap->an_poff = poff; in swap_newphysname()
1726 prem = (pstart + plen) - poff; in swap_newphysname()
1729 plen = poff - pstart; in swap_newphysname()
1744 ap->an_poff = poff; in swap_newphysname()
1748 pstart = poff; in swap_newphysname()
1749 poff += PAGESIZE; in swap_newphysname()
1753 swap_phys_free(pvp, poff, prem); in swap_newphysname()