Lines Matching refs:btop
190 CLEARBIT(sip->si_swapslots, btop(noff - sip->si_soff)); in swap_phys_alloc()
199 sip->si_allocs += btop(len); in swap_phys_alloc()
324 for (pagenumber = btop(off - sip->si_soff), in swap_phys_free()
325 npage = btop(len) + pagenumber; in swap_phys_free()
559 pgcap = MIN(btop(cap), ai.ani_max); in swapctl()
560 ai.ani_free = pgcap - btop(used); in swapctl()
567 ai.ani_resv = btop(used); in swapctl()
614 st.ste_pages = MIN(btop(cap), st.ste_pages); in swapctl()
615 st.ste_free = MIN(st.ste_pages - btop(used), in swapctl()
854 pgcap = MIN(btop(cap), ai.ani_max); in swapctl32()
855 ai.ani_free = pgcap - btop(used); in swapctl32()
862 ai.ani_resv = btop(used); in swapctl32()
909 st.ste_pages = MIN(btop(cap), st.ste_pages); in swapctl32()
910 st.ste_free = MIN(st.ste_pages - btop(used), in swapctl32()
1201 eoff = ptob(btop(eoff)); in swapadd()
1209 pages = btop(eoff - soff); in swapadd()
1467 btop((size_t)(ap->an_poff - in swapdel()