*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> vm_page_rename (9)              
Title
Content
Arch
Section
 

VM_PAGE_RENAME(9)

Contents


NAME    [Toc]    [Back]

     vm_page_rename -- move a page

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <vm/vm.h>
     #include <vm/vm_page.h>

     void
     vm_page_rename(vm_page_t m, vm_object_t new_object,
	 vm_pindex_t new_pindex);

DESCRIPTION    [Toc]    [Back]

     The vm_page_rename() function removes a page from one object, and adds it
     to another at the given page index.  The page is added to the given
     object, and is removed from the object that is currently associated with.
     If the page is currently on the cache queue it will be deactivated unless
     it is wired or unmanaged, in which case the deactivation will fail.  The
     entire page is marked as dirty after the move.

     The arguments to vm_page_rename() are:

     m		 The page to move.

     new_object  The object the page should be inserted into.

     new_pindex  The page index into new_object at which the new page should
		 be inserted.

AUTHORS    [Toc]    [Back]

     This manual page was written by Chad David <[email protected]>.


FreeBSD 5.2.1			 July 17, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
vm_page_cache FreeBSD move a page onto the cache queue
mvdir IRIX move a directory
rmv IRIX relative move
mvdir HP-UX move a directory
mv FreeBSD move files
mv OpenBSD move files
uio OpenBSD move data described by a struct uio
tt_file_move HP-UX move objects from one file to another
uiomove OpenBSD move data described by a struct uio
uiomove NetBSD move data described by a struct uio
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service