KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /lib/modules/2.6.18-419.el5/source/include/xen/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/modules/2.6.18-419.el5/source/include/xen/foreign_page.h
/******************************************************************************
 * foreign_page.h
 * 
 * Provide a "foreign" page type, that is owned by a foreign allocator and 
 * not the normal buddy allocator in page_alloc.c
 * 
 * Copyright (c) 2004, K A Fraser
 */

#ifndef __ASM_XEN_FOREIGN_PAGE_H__
#define __ASM_XEN_FOREIGN_PAGE_H__

#define PG_foreign		PG_arch_1

#define PageForeign(page)	test_bit(PG_foreign, &(page)->flags)

#define SetPageForeign(page, dtor) do {		\
	set_bit(PG_foreign, &(page)->flags);	\
	(page)->mapping = (void *)dtor;		\
} while (0)

#define ClearPageForeign(page) do {		\
	clear_bit(PG_foreign, &(page)->flags);	\
	(page)->mapping = NULL;			\
} while (0)

#define PageForeignDestructor(page)	\
	( (void (*) (struct page *)) (page)->mapping )

#endif /* __ASM_XEN_FOREIGN_PAGE_H__ */

Anon7 - 2021