vm_extern.h (153485) | vm_extern.h (159054) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)vm_extern.h 8.2 (Berkeley) 1/12/94 | 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)vm_extern.h 8.2 (Berkeley) 1/12/94 |
30 * $FreeBSD: head/sys/vm/vm_extern.h 153485 2005-12-16 18:34:14Z alc $ | 30 * $FreeBSD: head/sys/vm/vm_extern.h 159054 2006-05-29 21:28:56Z tegge $ |
31 */ 32 33#ifndef _VM_EXTERN_H_ 34#define _VM_EXTERN_H_ 35 36struct buf; 37struct proc; 38struct vmspace; --- 34 unchanged lines hidden (view full) --- 73void vm_forkproc(struct thread *, struct proc *, struct thread *, int); 74void vm_waitproc(struct proc *); 75int vm_mmap(vm_map_t, vm_offset_t *, vm_size_t, vm_prot_t, vm_prot_t, int, objtype_t, void *, vm_ooffset_t); 76void vm_set_page_size(void); 77struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t); 78struct vmspace *vmspace_fork(struct vmspace *); 79void vmspace_exec(struct proc *, vm_offset_t, vm_offset_t); 80void vmspace_unshare(struct proc *); | 31 */ 32 33#ifndef _VM_EXTERN_H_ 34#define _VM_EXTERN_H_ 35 36struct buf; 37struct proc; 38struct vmspace; --- 34 unchanged lines hidden (view full) --- 73void vm_forkproc(struct thread *, struct proc *, struct thread *, int); 74void vm_waitproc(struct proc *); 75int vm_mmap(vm_map_t, vm_offset_t *, vm_size_t, vm_prot_t, vm_prot_t, int, objtype_t, void *, vm_ooffset_t); 76void vm_set_page_size(void); 77struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t); 78struct vmspace *vmspace_fork(struct vmspace *); 79void vmspace_exec(struct proc *, vm_offset_t, vm_offset_t); 80void vmspace_unshare(struct proc *); |
81void vmspace_exit(struct thread *); 82struct vmspace *vmspace_acquire_ref(struct proc *); |
|
81void vmspace_free(struct vmspace *); 82void vmspace_exitfree(struct proc *); 83void vnode_pager_setsize(struct vnode *, vm_ooffset_t); 84int vslock(void *, size_t); 85void vsunlock(void *, size_t); 86void vm_object_print(/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, 87 char *); 88int vm_fault_quick(caddr_t v, int prot); 89struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset); 90void vm_imgact_unmap_page(struct sf_buf *sf); 91void vm_thread_dispose(struct thread *td); 92void vm_thread_dispose_altkstack(struct thread *td); 93void vm_thread_new(struct thread *td, int pages); 94void vm_thread_new_altkstack(struct thread *td, int pages); 95void vm_thread_swapin(struct thread *td); 96void vm_thread_swapout(struct thread *td); 97#endif /* _KERNEL */ 98#endif /* !_VM_EXTERN_H_ */ | 83void vmspace_free(struct vmspace *); 84void vmspace_exitfree(struct proc *); 85void vnode_pager_setsize(struct vnode *, vm_ooffset_t); 86int vslock(void *, size_t); 87void vsunlock(void *, size_t); 88void vm_object_print(/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, 89 char *); 90int vm_fault_quick(caddr_t v, int prot); 91struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset); 92void vm_imgact_unmap_page(struct sf_buf *sf); 93void vm_thread_dispose(struct thread *td); 94void vm_thread_dispose_altkstack(struct thread *td); 95void vm_thread_new(struct thread *td, int pages); 96void vm_thread_new_altkstack(struct thread *td, int pages); 97void vm_thread_swapin(struct thread *td); 98void vm_thread_swapout(struct thread *td); 99#endif /* _KERNEL */ 100#endif /* !_VM_EXTERN_H_ */ |