Searched refs:ani_mem_resv (Results 1 – 7 of 7) sorted by relevance
490 k_anoninfo.ani_mem_resv) + avail; in swapctl()497 k_anoninfo.ani_mem_resv; in swapctl()837 s = (k_anoninfo.ani_max + k_anoninfo.ani_mem_resv) + avail; in swapctl32()849 s = k_anoninfo.ani_phys_resv + k_anoninfo.ani_mem_resv; in swapctl32()1317 ASSERT(k_anoninfo.ani_mem_resv >= k_anoninfo.ani_locked_swap); in swapadd()1322 if (k_anoninfo.ani_mem_resv > k_anoninfo.ani_locked_swap) { in swapadd()1323 returned_mem = MIN(k_anoninfo.ani_mem_resv - in swapadd()1329 k_anoninfo.ani_mem_resv -= returned_mem; in swapadd()1345 if (availrmem > swapfs_desfree || !k_anoninfo.ani_mem_resv) in swapadd()1433 ASSERT(k_anoninfo.ani_mem_resv >= k_anoninfo.ani_locked_swap); in swapdel()[all …]
888 k_anoninfo.ani_mem_resv += mswap_pages; in anon_resvmem()935 ASSERT(k_anoninfo.ani_mem_resv >= k_anoninfo.ani_locked_swap); in anon_unresvmem()944 if (k_anoninfo.ani_mem_resv > k_anoninfo.ani_locked_swap) { in anon_unresvmem()947 MIN(k_anoninfo.ani_mem_resv, npages))); in anon_unresvmem()949 mem_free_pages = MIN((spgcnt_t)(k_anoninfo.ani_mem_resv - in anon_unresvmem()954 k_anoninfo.ani_mem_resv -= mem_free_pages; in anon_unresvmem()969 mem_resv = k_anoninfo.ani_mem_resv; in anon_unresvmem()972 ASSERT(k_anoninfo.ani_mem_resv >= k_anoninfo.ani_locked_swap); in anon_unresvmem()3505 ASSERT(k_anoninfo.ani_mem_resv >= k_anoninfo.ani_locked_swap); in anon_swap_adjust()3508 unlocked_mem_swap = k_anoninfo.ani_mem_resv in anon_swap_adjust()[all …]
376 pgcnt_t ani_mem_resv; /* # of reserved mem slots */ member
122 k_anoninfo.ani_mem_resv - in dump_ioctl()
609 STAT->cs_nosw_pages = k_anoninfo.ani_mem_resv; in cpr_statefile_ok()619 k_anoninfo.ani_mem_resv); in cpr_statefile_ok()
843 maxswap = k_anoninfo.ani_mem_resv + in clock()849 k_anoninfo.ani_mem_resv; in clock()
928 obp_pages - availrmem - k_anoninfo.ani_mem_resv - in system_pages_kstat_update()