vm_phys.h (89ea39a72715162b873e030e773285af68eedb2f) vm_phys.h (662e7fa8d9fb296379f594ebb6a7f231c1ea8a2f)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2002-2006 Rice University
5 * Copyright (c) 2007 Alan L. Cox <alc@cs.rice.edu>
6 * All rights reserved.
7 *
8 * This software was developed for the FreeBSD Project by Alan L. Cox,

--- 74 unchanged lines hidden (view full) ---

83int vm_phys_fictitious_reg_range(vm_paddr_t start, vm_paddr_t end,
84 vm_memattr_t memattr);
85void vm_phys_fictitious_unreg_range(vm_paddr_t start, vm_paddr_t end);
86vm_page_t vm_phys_fictitious_to_vm_page(vm_paddr_t pa);
87void vm_phys_free_contig(vm_page_t m, u_long npages);
88void vm_phys_free_pages(vm_page_t m, int order);
89void vm_phys_init(void);
90vm_page_t vm_phys_paddr_to_vm_page(vm_paddr_t pa);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2002-2006 Rice University
5 * Copyright (c) 2007 Alan L. Cox <alc@cs.rice.edu>
6 * All rights reserved.
7 *
8 * This software was developed for the FreeBSD Project by Alan L. Cox,

--- 74 unchanged lines hidden (view full) ---

83int vm_phys_fictitious_reg_range(vm_paddr_t start, vm_paddr_t end,
84 vm_memattr_t memattr);
85void vm_phys_fictitious_unreg_range(vm_paddr_t start, vm_paddr_t end);
86vm_page_t vm_phys_fictitious_to_vm_page(vm_paddr_t pa);
87void vm_phys_free_contig(vm_page_t m, u_long npages);
88void vm_phys_free_pages(vm_page_t m, int order);
89void vm_phys_init(void);
90vm_page_t vm_phys_paddr_to_vm_page(vm_paddr_t pa);
91void vm_phys_register_domains(int ndomains, struct mem_affinity *affinity,
92 int *locality);
91vm_page_t vm_phys_scan_contig(int domain, u_long npages, vm_paddr_t low,
92 vm_paddr_t high, u_long alignment, vm_paddr_t boundary, int options);
93void vm_phys_set_pool(int pool, vm_page_t m, int order);
94boolean_t vm_phys_unfree_page(vm_page_t m);
95int vm_phys_mem_affinity(int f, int t);
96
97/*
98 *

--- 23 unchanged lines hidden ---
93vm_page_t vm_phys_scan_contig(int domain, u_long npages, vm_paddr_t low,
94 vm_paddr_t high, u_long alignment, vm_paddr_t boundary, int options);
95void vm_phys_set_pool(int pool, vm_page_t m, int order);
96boolean_t vm_phys_unfree_page(vm_page_t m);
97int vm_phys_mem_affinity(int f, int t);
98
99/*
100 *

--- 23 unchanged lines hidden ---