Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pageattr.c File Reference
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <asm/cacheflush.h>
#include <asm/pgtable.h>

Go to the source code of this file.

Functions

int set_memory_ro (unsigned long addr, int numpages)
 
int set_memory_rw (unsigned long addr, int numpages)
 
int set_memory_nx (unsigned long addr, int numpages)
 
int set_memory_x (unsigned long addr, int numpages)
 

Function Documentation

int set_memory_nx ( unsigned long  addr,
int  numpages 
)

Definition at line 64 of file pageattr.c.

int set_memory_ro ( unsigned long  addr,
int  numpages 
)

Definition at line 51 of file pageattr.c.

int set_memory_rw ( unsigned long  addr,
int  numpages 
)

Definition at line 57 of file pageattr.c.

int set_memory_x ( unsigned long  addr,
int  numpages 
)

Definition at line 69 of file pageattr.c.