vm_extern.h (416ba5c74546f32a993436a99516d35008e9f384) vm_extern.h (8a4dc40ff46ef766bff63a8328d6dd838547f860)
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

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

101struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t, pmap_pinit_t);
102struct vmspace *vmspace_fork(struct vmspace *, vm_ooffset_t *);
103int vmspace_exec(struct proc *, vm_offset_t, vm_offset_t);
104int vmspace_unshare(struct proc *);
105void vmspace_exit(struct thread *);
106struct vmspace *vmspace_acquire_ref(struct proc *);
107void vmspace_free(struct vmspace *);
108void vmspace_exitfree(struct proc *);
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

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

101struct vmspace *vmspace_alloc(vm_offset_t, vm_offset_t, pmap_pinit_t);
102struct vmspace *vmspace_fork(struct vmspace *, vm_ooffset_t *);
103int vmspace_exec(struct proc *, vm_offset_t, vm_offset_t);
104int vmspace_unshare(struct proc *);
105void vmspace_exit(struct thread *);
106struct vmspace *vmspace_acquire_ref(struct proc *);
107void vmspace_free(struct vmspace *);
108void vmspace_exitfree(struct proc *);
109void vmspace_switch_aio(struct vmspace *);
109void vnode_pager_setsize(struct vnode *, vm_ooffset_t);
110int vslock(void *, size_t);
111void vsunlock(void *, size_t);
112struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
113void vm_imgact_unmap_page(struct sf_buf *sf);
114void vm_thread_dispose(struct thread *td);
115int vm_thread_new(struct thread *td, int pages);
116int vm_mlock(struct proc *, struct ucred *, const void *, size_t);
117#endif /* _KERNEL */
118#endif /* !_VM_EXTERN_H_ */
110void vnode_pager_setsize(struct vnode *, vm_ooffset_t);
111int vslock(void *, size_t);
112void vsunlock(void *, size_t);
113struct sf_buf *vm_imgact_map_page(vm_object_t object, vm_ooffset_t offset);
114void vm_imgact_unmap_page(struct sf_buf *sf);
115void vm_thread_dispose(struct thread *td);
116int vm_thread_new(struct thread *td, int pages);
117int vm_mlock(struct proc *, struct ucred *, const void *, size_t);
118#endif /* _KERNEL */
119#endif /* !_VM_EXTERN_H_ */