swap_pager.h (26f9a76710a312a951848542b9ca1f44100450e2) swap_pager.h (05f0fdd26aa1789c04ae89358880922a54d197c3)
1/*
2 * Copyright (c) 1990 University of Utah.
3 * Copyright (c) 1991 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * the Systems Programming Group of the University of Utah Computer
8 * Science Department.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)swap_pager.h 7.1 (Berkeley) 12/5/90
1/*
2 * Copyright (c) 1990 University of Utah.
3 * Copyright (c) 1991 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * the Systems Programming Group of the University of Utah Computer
8 * Science Department.

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

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * from: @(#)swap_pager.h 7.1 (Berkeley) 12/5/90
39 * $Id: swap_pager.h,v 1.9 1994/03/14 21:54:23 davidg Exp $
39 * $Id: swap_pager.h,v 1.2 1994/05/25 09:18:39 rgrimes Exp $
40 */
41
42/*
43 * Modifications to the block allocation data structure by John S. Dyson
44 * 18 Dec 93.
45 */
46
47#ifndef _SWAP_PAGER_

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

86void swap_pager_dealloc(vm_pager_t);
87boolean_t swap_pager_getpage(vm_pager_t, vm_page_t, boolean_t);
88boolean_t swap_pager_putpage(vm_pager_t, vm_page_t, boolean_t);
89boolean_t swap_pager_getmulti(vm_pager_t, vm_page_t *, int, int, boolean_t);
90boolean_t swap_pager_haspage(vm_pager_t, vm_offset_t);
91int swap_pager_io(sw_pager_t, vm_page_t *, int, int, int);
92void swap_pager_iodone(struct buf *);
93boolean_t swap_pager_clean();
40 */
41
42/*
43 * Modifications to the block allocation data structure by John S. Dyson
44 * 18 Dec 93.
45 */
46
47#ifndef _SWAP_PAGER_

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

86void swap_pager_dealloc(vm_pager_t);
87boolean_t swap_pager_getpage(vm_pager_t, vm_page_t, boolean_t);
88boolean_t swap_pager_putpage(vm_pager_t, vm_page_t, boolean_t);
89boolean_t swap_pager_getmulti(vm_pager_t, vm_page_t *, int, int, boolean_t);
90boolean_t swap_pager_haspage(vm_pager_t, vm_offset_t);
91int swap_pager_io(sw_pager_t, vm_page_t *, int, int, int);
92void swap_pager_iodone(struct buf *);
93boolean_t swap_pager_clean();
94void swap_pager_copy __P((vm_pager_t, vm_offset_t, vm_pager_t, vm_offset_t, vm_offset_t));
95void swap_pager_freespace __P((vm_pager_t, vm_offset_t, vm_offset_t));
94
95extern struct pagerops swappagerops;
96
97#endif
98
99#endif /* _SWAP_PAGER_ */
96
97extern struct pagerops swappagerops;
98
99#endif
100
101#endif /* _SWAP_PAGER_ */