Searched refs:limit_pfn (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/iommu/ |
D | iova.c | 25 unsigned long limit_pfn); 77 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode() argument 79 if (limit_pfn <= iovad->dma_32bit_pfn) in __get_cached_rbnode() 113 static struct rb_node *iova_find_limit(struct iova_domain *iovad, unsigned long limit_pfn) in iova_find_limit() argument 124 if (limit_pfn > iovad->dma_32bit_pfn) in iova_find_limit() 128 while (to_iova(node)->pfn_hi < limit_pfn) in iova_find_limit() 132 while (node->rb_left && to_iova(node->rb_left)->pfn_lo >= limit_pfn) in iova_find_limit() 141 if (to_iova(next)->pfn_lo >= limit_pfn) { in iova_find_limit() 179 unsigned long size, unsigned long limit_pfn, in __alloc_and_insert_iova_range() argument 187 unsigned long high_pfn = limit_pfn, low_pfn = iovad->start_pfn; in __alloc_and_insert_iova_range() [all …]
|
/linux-6.6.21/include/linux/ |
D | iova.h | 87 unsigned long limit_pfn, 92 unsigned long limit_pfn, bool flush_rcache); 120 unsigned long limit_pfn, in alloc_iova() argument 134 unsigned long limit_pfn, in alloc_iova_fast() argument
|
/linux-6.6.21/arch/x86/mm/ |
D | init.c | 406 unsigned long start_pfn, end_pfn, limit_pfn; in split_mem_range() local 410 limit_pfn = PFN_DOWN(end); in split_mem_range() 428 if (end_pfn > limit_pfn) in split_mem_range() 429 end_pfn = limit_pfn; in split_mem_range() 438 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 441 if (end_pfn > round_down(limit_pfn, PFN_DOWN(PMD_SIZE))) in split_mem_range() 442 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 454 end_pfn = round_down(limit_pfn, PFN_DOWN(PUD_SIZE)); in split_mem_range() 464 end_pfn = round_down(limit_pfn, PFN_DOWN(PMD_SIZE)); in split_mem_range() 474 end_pfn = limit_pfn; in split_mem_range()
|
/linux-6.6.21/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()
|
/linux-6.6.21/arch/x86/include/asm/e820/ |
D | api.h | 42 extern void e820__register_nosave_regions(unsigned long limit_pfn);
|
/linux-6.6.21/arch/x86/kernel/cpu/mtrr/ |
D | cleanup.c | 842 real_trim_memory(unsigned long start_pfn, unsigned long limit_pfn) in real_trim_memory() argument 849 trim_size = limit_pfn; in real_trim_memory()
|