vm_page.h (227103) | vm_page.h (227568) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * |
60 * $FreeBSD: head/sys/vm/vm_page.h 227103 2011-11-05 09:03:18Z kib $ | 60 * $FreeBSD: head/sys/vm/vm_page.h 227568 2011-11-16 16:46:09Z alc $ |
61 */ 62 63/* 64 * Resident memory system definitions. 65 */ 66 67#ifndef _VM_PAGE_ 68#define _VM_PAGE_ --- 285 unchanged lines hidden (view full) --- 354void vm_page_free_zero(vm_page_t m); 355void vm_page_dirty(vm_page_t m); 356void vm_page_wakeup(vm_page_t m); 357 358void vm_pageq_remove(vm_page_t m); 359 360void vm_page_activate (vm_page_t); 361vm_page_t vm_page_alloc (vm_object_t, vm_pindex_t, int); | 61 */ 62 63/* 64 * Resident memory system definitions. 65 */ 66 67#ifndef _VM_PAGE_ 68#define _VM_PAGE_ --- 285 unchanged lines hidden (view full) --- 354void vm_page_free_zero(vm_page_t m); 355void vm_page_dirty(vm_page_t m); 356void vm_page_wakeup(vm_page_t m); 357 358void vm_pageq_remove(vm_page_t m); 359 360void vm_page_activate (vm_page_t); 361vm_page_t vm_page_alloc (vm_object_t, vm_pindex_t, int); |
362vm_page_t vm_page_alloc_contig(vm_object_t object, vm_pindex_t pindex, int req, 363 u_long npages, vm_paddr_t low, vm_paddr_t high, u_long alignment, 364 vm_paddr_t boundary, vm_memattr_t memattr); |
|
362vm_page_t vm_page_alloc_freelist(int, int); | 365vm_page_t vm_page_alloc_freelist(int, int); |
363struct vnode *vm_page_alloc_init(vm_page_t); | |
364vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int); 365void vm_page_cache(vm_page_t); 366void vm_page_cache_free(vm_object_t, vm_pindex_t, vm_pindex_t); 367void vm_page_cache_remove(vm_page_t); 368void vm_page_cache_transfer(vm_object_t, vm_pindex_t, vm_object_t); 369int vm_page_try_to_cache (vm_page_t); 370int vm_page_try_to_free (vm_page_t); 371void vm_page_dontneed(vm_page_t); --- 77 unchanged lines hidden --- | 366vm_page_t vm_page_grab (vm_object_t, vm_pindex_t, int); 367void vm_page_cache(vm_page_t); 368void vm_page_cache_free(vm_object_t, vm_pindex_t, vm_pindex_t); 369void vm_page_cache_remove(vm_page_t); 370void vm_page_cache_transfer(vm_object_t, vm_pindex_t, vm_object_t); 371int vm_page_try_to_cache (vm_page_t); 372int vm_page_try_to_free (vm_page_t); 373void vm_page_dontneed(vm_page_t); --- 77 unchanged lines hidden --- |