Lines Matching refs:poff
226 size_t aoff, boff, poff, slotnumber; in swap_getoff() local
300 poff = ptob(slotnumber); in swap_getoff()
301 if (poff + sip->si_soff >= sip->si_eoff) in swap_getoff()
304 ASSERT(poff < sip->si_eoff); in swap_getoff()
311 return (poff + sip->si_soff); in swap_getoff()
1602 u_offset_t poff; in swapslot_free() local
1617 error = swap_getphysname(vp, off, &pvp, &poff); in swapslot_free()
1618 if (error || pvp != sip->si_vp || poff < sip->si_soff || in swapslot_free()
1619 poff >= sip->si_eoff) { in swapslot_free()
1626 error = VOP_PAGEIO(pvp, pp, poff, PAGESIZE, B_READ, in swapslot_free()
1701 u_offset_t poff, pstart, prem; in swap_newphysname() local
1741 for (off = start, poff = pstart; poff < pstart + plen; in swap_newphysname()
1742 off += PAGESIZE, poff += PAGESIZE) { in swap_newphysname()
1751 ap->an_poff = poff; in swap_newphysname()
1753 prem = (pstart + plen) - poff; in swap_newphysname()
1756 plen = poff - pstart; in swap_newphysname()
1771 ap->an_poff = poff; in swap_newphysname()
1775 pstart = poff; in swap_newphysname()
1776 poff += PAGESIZE; in swap_newphysname()
1780 swap_phys_free(pvp, poff, prem); in swap_newphysname()