Searched refs:limit_pfn (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/iommu/ |
D | iova.c | 23 unsigned long limit_pfn); 116 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode() argument 118 if (limit_pfn <= iovad->dma_32bit_pfn) in __get_cached_rbnode() 180 unsigned long size, unsigned long limit_pfn, in __alloc_and_insert_iova_range() argument 194 if (limit_pfn <= iovad->dma_32bit_pfn && in __alloc_and_insert_iova_range() 198 curr = __get_cached_rbnode(iovad, limit_pfn); in __alloc_and_insert_iova_range() 201 limit_pfn = min(limit_pfn, curr_iova->pfn_lo); in __alloc_and_insert_iova_range() 202 new_pfn = (limit_pfn - size) & align_mask; in __alloc_and_insert_iova_range() 208 if (limit_pfn < size || new_pfn < iovad->start_pfn) { in __alloc_and_insert_iova_range() 294 unsigned long limit_pfn, in alloc_iova() argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | init.c | 374 unsigned long start_pfn, end_pfn, limit_pfn; in split_mem_range() local 378 limit_pfn = PFN_DOWN(end); in split_mem_range() 396 if (end_pfn > limit_pfn) in split_mem_range() 397 end_pfn = limit_pfn; in split_mem_range() 406 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 409 if (end_pfn > round_down(limit_pfn, PFN_DOWN(PMD_SIZE))) in split_mem_range() 410 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 422 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 432 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 442 end_pfn = limit_pfn; in split_mem_range()
|
/kernel/linux/linux-5.10/include/linux/ |
D | iova.h | 144 unsigned long limit_pfn, 152 unsigned long limit_pfn, bool flush_rcache); 195 unsigned long limit_pfn, in alloc_iova() argument 215 unsigned long limit_pfn, in alloc_iova_fast() argument
|
/kernel/linux/linux-5.10/arch/x86/include/asm/e820/ |
D | api.h | 42 extern void e820__register_nosave_regions(unsigned long limit_pfn);
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | e820.c | 753 void __init e820__register_nosave_regions(unsigned long limit_pfn) in e820__register_nosave_regions() argument 769 if (pfn >= limit_pfn) in e820__register_nosave_regions() 830 static unsigned long __init e820_end_pfn(unsigned long limit_pfn, enum e820_type type) in e820_end_pfn() argument 847 if (start_pfn >= limit_pfn) in e820_end_pfn() 849 if (end_pfn > limit_pfn) { in e820_end_pfn() 850 last_pfn = limit_pfn; in e820_end_pfn()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 852 real_trim_memory(unsigned long start_pfn, unsigned long limit_pfn) in real_trim_memory() argument 859 trim_size = limit_pfn; in real_trim_memory()
|