Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/virt/nitro_enclaves/
Dne_misc_dev.c882 ne_merge_phys_contig_memory_regions(struct ne_phys_contig_mem_regions *phys_contig_regions, in ne_merge_phys_contig_memory_regions() argument
885 unsigned long num = phys_contig_regions->num; in ne_merge_phys_contig_memory_regions()
893 if (num && (phys_contig_regions->regions[num - 1].end + 1) == page_paddr) { in ne_merge_phys_contig_memory_regions()
894 phys_contig_regions->regions[num - 1].end += page_size; in ne_merge_phys_contig_memory_regions()
896 phys_contig_regions->regions[num].start = page_paddr; in ne_merge_phys_contig_memory_regions()
897 phys_contig_regions->regions[num].end = page_paddr + page_size - 1; in ne_merge_phys_contig_memory_regions()
898 phys_contig_regions->num++; in ne_merge_phys_contig_memory_regions()