Home
last modified time | relevance | path

Searched refs:free_kbytes (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dmmap.c2219 unsigned long free_kbytes; in init_user_reserve() local
2221 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() local
2242 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() local
2286 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()
Dnommu.c1778 unsigned long free_kbytes; in init_user_reserve() local
1780 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() local
1801 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()