Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sys-hypervisor.c File Reference
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/kobject.h>
#include <linux/err.h>
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>
#include <xen/xen.h>
#include <xen/xenbus.h>
#include <xen/interface/xen.h>
#include <xen/interface/version.h>

Go to the source code of this file.

Data Structures

struct  hyp_sysfs_attr
 

Macros

#define HYPERVISOR_ATTR_RO(_name)   static struct hyp_sysfs_attr _name##_attr = __ATTR_RO(_name)
 
#define HYPERVISOR_ATTR_RW(_name)
 

Functions

 HYPERVISOR_ATTR_RO (type)
 
 HYPERVISOR_ATTR_RO (major)
 
 HYPERVISOR_ATTR_RO (minor)
 
 HYPERVISOR_ATTR_RO (extra)
 
 HYPERVISOR_ATTR_RO (uuid)
 
 HYPERVISOR_ATTR_RO (compiler)
 
 HYPERVISOR_ATTR_RO (compiled_by)
 
 HYPERVISOR_ATTR_RO (compile_date)
 
 HYPERVISOR_ATTR_RO (capabilities)
 
 HYPERVISOR_ATTR_RO (changeset)
 
 HYPERVISOR_ATTR_RO (virtual_start)
 
 HYPERVISOR_ATTR_RO (pagesize)
 
 HYPERVISOR_ATTR_RO (features)
 
 module_init (hyper_sysfs_init)
 
 module_exit (hyper_sysfs_exit)
 
 device_initcall (hypervisor_subsys_init)
 

Macro Definition Documentation

#define HYPERVISOR_ATTR_RO (   _name)    static struct hyp_sysfs_attr _name##_attr = __ATTR_RO(_name)

Definition at line 24 of file sys-hypervisor.c.

#define HYPERVISOR_ATTR_RW (   _name)
Value:
static struct hyp_sysfs_attr _name##_attr = \
__ATTR(_name, 0644, _name##_show, _name##_store)

Definition at line 27 of file sys-hypervisor.c.

Function Documentation

device_initcall ( hypervisor_subsys_init  )
HYPERVISOR_ATTR_RO ( type  )
HYPERVISOR_ATTR_RO ( major  )
HYPERVISOR_ATTR_RO ( minor  )
HYPERVISOR_ATTR_RO ( extra  )
HYPERVISOR_ATTR_RO ( uuid  )
HYPERVISOR_ATTR_RO ( compiler  )
HYPERVISOR_ATTR_RO ( compiled_by  )
HYPERVISOR_ATTR_RO ( compile_date  )
HYPERVISOR_ATTR_RO ( capabilities  )
HYPERVISOR_ATTR_RO ( changeset  )
HYPERVISOR_ATTR_RO ( virtual_start  )
HYPERVISOR_ATTR_RO ( pagesize  )
HYPERVISOR_ATTR_RO ( features  )
module_exit ( hyper_sysfs_exit  )
module_init ( hyper_sysfs_init  )