Searched refs:free_kbytes (Results 1 – 2 of 2) sorted by relevance
2219 unsigned long free_kbytes; in init_user_reserve() local2221 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_user_reserve()2223 sysctl_user_reserve_kbytes = min(free_kbytes / 32, SZ_128K); in init_user_reserve()2240 unsigned long free_kbytes; in init_admin_reserve() local2242 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_admin_reserve()2244 sysctl_admin_reserve_kbytes = min(free_kbytes / 32, SZ_8K); in init_admin_reserve()2270 unsigned long tmp, free_kbytes; in reserve_mem_notifier() local2286 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in reserve_mem_notifier()2288 if (sysctl_user_reserve_kbytes > free_kbytes) { in reserve_mem_notifier()2294 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()