Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hwpoison-inject.c File Reference
#include <linux/module.h>
#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/pagemap.h>
#include <linux/hugetlb.h>
#include "internal.h"

Go to the source code of this file.

Functions

 DEFINE_SIMPLE_ATTRIBUTE (hwpoison_fops, NULL, hwpoison_inject,"%lli\n")
 
 DEFINE_SIMPLE_ATTRIBUTE (unpoison_fops, NULL, hwpoison_unpoison,"%lli\n")
 
 module_init (pfn_inject_init)
 
 module_exit (pfn_inject_exit)
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

DEFINE_SIMPLE_ATTRIBUTE ( hwpoison_fops  ,
NULL  ,
hwpoison_inject  ,
"%lli\n"   
)
DEFINE_SIMPLE_ATTRIBUTE ( unpoison_fops  ,
NULL  ,
hwpoison_unpoison  ,
"%lli\n"   
)
module_exit ( pfn_inject_exit  )
module_init ( pfn_inject_init  )
MODULE_LICENSE ( "GPL"  )