vm_extern.h (99559) | vm_extern.h (100384) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)vm_extern.h 8.2 (Berkeley) 1/12/94 |
34 * $FreeBSD: head/sys/vm/vm_extern.h 99559 2002-07-07 23:05:27Z peter $ | 34 * $FreeBSD: head/sys/vm/vm_extern.h 100384 2002-07-20 02:56:12Z peter $ |
35 */ 36 37#ifndef _VM_EXTERN_H_ 38#define _VM_EXTERN_H_ 39 40struct buf; 41struct proc; 42struct vmspace; --- 37 unchanged lines hidden (view full) --- 80int vm_fault_user_wire(vm_map_t, vm_offset_t, vm_offset_t); 81void vm_forkproc(struct thread *, struct proc *, struct thread *, int); 82void vm_waitproc(struct proc *); 83int vm_mmap(vm_map_t, vm_offset_t *, vm_size_t, vm_prot_t, vm_prot_t, int, void *, vm_ooffset_t); 84vm_offset_t vm_page_alloc_contig(vm_offset_t, vm_offset_t, vm_offset_t, vm_offset_t); 85void vm_set_page_size(void); 86struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t); 87struct vmspace *vmspace_fork(struct vmspace *); | 35 */ 36 37#ifndef _VM_EXTERN_H_ 38#define _VM_EXTERN_H_ 39 40struct buf; 41struct proc; 42struct vmspace; --- 37 unchanged lines hidden (view full) --- 80int vm_fault_user_wire(vm_map_t, vm_offset_t, vm_offset_t); 81void vm_forkproc(struct thread *, struct proc *, struct thread *, int); 82void vm_waitproc(struct proc *); 83int vm_mmap(vm_map_t, vm_offset_t *, vm_size_t, vm_prot_t, vm_prot_t, int, void *, vm_ooffset_t); 84vm_offset_t vm_page_alloc_contig(vm_offset_t, vm_offset_t, vm_offset_t, vm_offset_t); 85void vm_set_page_size(void); 86struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t); 87struct vmspace *vmspace_fork(struct vmspace *); |
88void vmspace_exec(struct proc *); | 88void vmspace_exec(struct proc *, vm_offset_t, vm_offset_t); |
89void vmspace_unshare(struct proc *); 90void vmspace_free(struct vmspace *); 91void vmspace_exitfree(struct proc *); 92void vnode_pager_setsize(struct vnode *, vm_ooffset_t); 93void vslock(caddr_t, u_int); 94void vsunlock(caddr_t, u_int); 95void vm_object_print(/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, 96 char *); 97int vm_fault_quick(caddr_t v, int prot); 98void vm_proc_new(struct proc *p); 99void vm_proc_dispose(struct proc *p); 100#endif /* _KERNEL */ 101#endif /* !_VM_EXTERN_H_ */ | 89void vmspace_unshare(struct proc *); 90void vmspace_free(struct vmspace *); 91void vmspace_exitfree(struct proc *); 92void vnode_pager_setsize(struct vnode *, vm_ooffset_t); 93void vslock(caddr_t, u_int); 94void vsunlock(caddr_t, u_int); 95void vm_object_print(/* db_expr_t */ long, boolean_t, /* db_expr_t */ long, 96 char *); 97int vm_fault_quick(caddr_t v, int prot); 98void vm_proc_new(struct proc *p); 99void vm_proc_dispose(struct proc *p); 100#endif /* _KERNEL */ 101#endif /* !_VM_EXTERN_H_ */ |