vm_extern.h (121fd461755428142f50c1d1d574c0291b00120c) | vm_extern.h (3153e878dd4c552fb5c680742041a98dc3deb9ea) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38struct vnode; 39 40#ifdef _KERNEL 41 42int kernacc(void *, int, int); 43vm_offset_t kmem_alloc(vm_map_t, vm_size_t); 44vm_offset_t kmem_alloc_contig(vm_map_t map, vm_size_t size, int flags, 45 vm_paddr_t low, vm_paddr_t high, unsigned long alignment, | 1/*- 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 29 unchanged lines hidden (view full) --- 38struct vnode; 39 40#ifdef _KERNEL 41 42int kernacc(void *, int, int); 43vm_offset_t kmem_alloc(vm_map_t, vm_size_t); 44vm_offset_t kmem_alloc_contig(vm_map_t map, vm_size_t size, int flags, 45 vm_paddr_t low, vm_paddr_t high, unsigned long alignment, |
46 unsigned long boundary, vm_cache_mode_t mode); | 46 unsigned long boundary, vm_memattr_t memattr); |
47vm_offset_t kmem_alloc_nofault(vm_map_t, vm_size_t); 48vm_offset_t kmem_alloc_wait(vm_map_t, vm_size_t); 49void kmem_free(vm_map_t, vm_offset_t, vm_size_t); 50void kmem_free_wakeup(vm_map_t, vm_offset_t, vm_size_t); 51void kmem_init(vm_offset_t, vm_offset_t); 52vm_offset_t kmem_malloc(vm_map_t, vm_size_t, boolean_t); 53vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t, 54 boolean_t); --- 35 unchanged lines hidden --- | 47vm_offset_t kmem_alloc_nofault(vm_map_t, vm_size_t); 48vm_offset_t kmem_alloc_wait(vm_map_t, vm_size_t); 49void kmem_free(vm_map_t, vm_offset_t, vm_size_t); 50void kmem_free_wakeup(vm_map_t, vm_offset_t, vm_size_t); 51void kmem_init(vm_offset_t, vm_offset_t); 52vm_offset_t kmem_malloc(vm_map_t, vm_size_t, boolean_t); 53vm_map_t kmem_suballoc(vm_map_t, vm_offset_t *, vm_offset_t *, vm_size_t, 54 boolean_t); --- 35 unchanged lines hidden --- |