Searched refs:free_kbytes (Results 1 – 2 of 2) sorted by relevance
1957 unsigned long free_kbytes; in init_user_reserve() local1959 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_user_reserve()1961 sysctl_user_reserve_kbytes = min(free_kbytes / 32, SZ_128K); in init_user_reserve()1978 unsigned long free_kbytes; in init_admin_reserve() local1980 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_admin_reserve()1982 sysctl_admin_reserve_kbytes = min(free_kbytes / 32, SZ_8K); in init_admin_reserve()2008 unsigned long tmp, free_kbytes; in reserve_mem_notifier() local2024 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in reserve_mem_notifier()2026 if (sysctl_user_reserve_kbytes > free_kbytes) { in reserve_mem_notifier()2032 if (sysctl_admin_reserve_kbytes > free_kbytes) { in reserve_mem_notifier()
1778 unsigned long free_kbytes; in init_user_reserve() local1780 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_user_reserve()1782 sysctl_user_reserve_kbytes = min(free_kbytes / 32, 1UL << 17); in init_user_reserve()1799 unsigned long free_kbytes; in init_admin_reserve() local1801 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_admin_reserve()1803 sysctl_admin_reserve_kbytes = min(free_kbytes / 32, 1UL << 13); in init_admin_reserve()