vm_extern.h (e2068d0bcd95865d142f0657ed834146ddad9754) | vm_extern.h (0766f278d88b93e81e8b81cac6258cf75cde3e35) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 51 unchanged lines hidden (view full) --- 60 vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr); 61vm_offset_t kmem_alloc_contig(struct vmem *, vm_size_t size, int flags, 62 vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary, 63 vm_memattr_t memattr); 64vm_offset_t kmem_alloc_contig_domain(int domain, vm_size_t size, int flags, 65 vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary, 66 vm_memattr_t memattr); 67vm_offset_t kmem_malloc(struct vmem *, vm_size_t size, int flags); | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1992, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 51 unchanged lines hidden (view full) --- 60 vm_paddr_t low, vm_paddr_t high, vm_memattr_t memattr); 61vm_offset_t kmem_alloc_contig(struct vmem *, vm_size_t size, int flags, 62 vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary, 63 vm_memattr_t memattr); 64vm_offset_t kmem_alloc_contig_domain(int domain, vm_size_t size, int flags, 65 vm_paddr_t low, vm_paddr_t high, u_long alignment, vm_paddr_t boundary, 66 vm_memattr_t memattr); 67vm_offset_t kmem_malloc(struct vmem *, vm_size_t size, int flags); |
68vm_offset_t kmem_malloc_domain(int domain, vm_size_t size, int flags); | 68vm_offset_t kmem_malloc_domain(struct vmem *, int domain, vm_size_t size, 69 int flags); |
69void kmem_free(struct vmem *, vm_offset_t, vm_size_t); 70 71/* This provides memory for previously allocated address space. */ 72int kmem_back(vm_object_t, vm_offset_t, vm_size_t, int); 73int kmem_back_domain(int, vm_object_t, vm_offset_t, vm_size_t, int); 74void kmem_unback(vm_object_t, vm_offset_t, vm_size_t); 75 76/* Bootstrapping. */ --- 54 unchanged lines hidden --- | 70void kmem_free(struct vmem *, vm_offset_t, vm_size_t); 71 72/* This provides memory for previously allocated address space. */ 73int kmem_back(vm_object_t, vm_offset_t, vm_size_t, int); 74int kmem_back_domain(int, vm_object_t, vm_offset_t, vm_size_t, int); 75void kmem_unback(vm_object_t, vm_offset_t, vm_size_t); 76 77/* Bootstrapping. */ --- 54 unchanged lines hidden --- |