Home
last modified time | relevance | path

Searched refs:min_pages (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/hv/
Dhv_balloon.c1066 unsigned long min_pages; in compute_balloon_floor() local
1081 min_pages = MB2PAGES(8) + (nr_pages >> 1); in compute_balloon_floor()
1083 min_pages = MB2PAGES(40) + (nr_pages >> 2); in compute_balloon_floor()
1085 min_pages = MB2PAGES(104) + (nr_pages >> 3); in compute_balloon_floor()
1087 min_pages = MB2PAGES(232) + (nr_pages >> 4); in compute_balloon_floor()
1089 min_pages = MB2PAGES(488) + (nr_pages >> 5); in compute_balloon_floor()
1091 return min_pages; in compute_balloon_floor()
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/
Dmem_protect.h83 int refill_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages,
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dmm.c412 int refill_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages, in refill_memcache() argument
418 ret = __topup_hyp_memcache(mc, min_pages, admit_host_page, in refill_memcache()
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_host.h116 unsigned long min_pages, in __topup_hyp_memcache() argument
121 while (mc->nr_pages < min_pages) { in __topup_hyp_memcache()
142 int topup_hyp_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages);
/linux-6.12.1/arch/arm64/kvm/
Dmmu.c1090 int topup_hyp_memcache(struct kvm_hyp_memcache *mc, unsigned long min_pages) in topup_hyp_memcache() argument
1095 return __topup_hyp_memcache(mc, min_pages, hyp_mc_alloc_fn, in topup_hyp_memcache()
/linux-6.12.1/mm/
Dpage_alloc.c6037 unsigned long min_pages; in __setup_per_zone_wmarks() local
6039 min_pages = zone_managed_pages(zone) / 1024; in __setup_per_zone_wmarks()
6040 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
6041 zone->_watermark[WMARK_MIN] = min_pages; in __setup_per_zone_wmarks()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c2032 uint64_t min_pages = 0; in svm_range_set_max_pages() local
2043 min_pages = min_not_zero(min_pages, pages); in svm_range_set_max_pages()
2048 _pages = min_not_zero(max_pages, min_pages); in svm_range_set_max_pages()