Searched refs:free_kbytes (Results 1 – 2 of 2) sorted by relevance
1817 unsigned long free_kbytes; in init_user_reserve() local1819 free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); in init_user_reserve()1821 sysctl_user_reserve_kbytes = min(free_kbytes / 32, 1UL << 17); in init_user_reserve()1838 unsigned long free_kbytes; in init_admin_reserve() local1840 free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); in init_admin_reserve()1842 sysctl_admin_reserve_kbytes = min(free_kbytes / 32, 1UL << 13); in init_admin_reserve()
3750 unsigned long free_kbytes; in init_user_reserve() local3752 free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); in init_user_reserve()3754 sysctl_user_reserve_kbytes = min(free_kbytes / 32, 1UL << 17); in init_user_reserve()3771 unsigned long free_kbytes; in init_admin_reserve() local3773 free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); in init_admin_reserve()3775 sysctl_admin_reserve_kbytes = min(free_kbytes / 32, 1UL << 13); in init_admin_reserve()3801 unsigned long tmp, free_kbytes; in reserve_mem_notifier() local3817 free_kbytes = global_zone_page_state(NR_FREE_PAGES) << (PAGE_SHIFT - 10); in reserve_mem_notifier()3819 if (sysctl_user_reserve_kbytes > free_kbytes) { in reserve_mem_notifier()3825 if (sysctl_admin_reserve_kbytes > free_kbytes) { in reserve_mem_notifier()