Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
suspend_ioctls.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  resume_swap_area
 

Macros

#define SNAPSHOT_IOC_MAGIC   '3'
 
#define SNAPSHOT_FREEZE   _IO(SNAPSHOT_IOC_MAGIC, 1)
 
#define SNAPSHOT_UNFREEZE   _IO(SNAPSHOT_IOC_MAGIC, 2)
 
#define SNAPSHOT_ATOMIC_RESTORE   _IO(SNAPSHOT_IOC_MAGIC, 4)
 
#define SNAPSHOT_FREE   _IO(SNAPSHOT_IOC_MAGIC, 5)
 
#define SNAPSHOT_FREE_SWAP_PAGES   _IO(SNAPSHOT_IOC_MAGIC, 9)
 
#define SNAPSHOT_S2RAM   _IO(SNAPSHOT_IOC_MAGIC, 11)
 
#define SNAPSHOT_SET_SWAP_AREA
 
#define SNAPSHOT_GET_IMAGE_SIZE   _IOR(SNAPSHOT_IOC_MAGIC, 14, __kernel_loff_t)
 
#define SNAPSHOT_PLATFORM_SUPPORT   _IO(SNAPSHOT_IOC_MAGIC, 15)
 
#define SNAPSHOT_POWER_OFF   _IO(SNAPSHOT_IOC_MAGIC, 16)
 
#define SNAPSHOT_CREATE_IMAGE   _IOW(SNAPSHOT_IOC_MAGIC, 17, int)
 
#define SNAPSHOT_PREF_IMAGE_SIZE   _IO(SNAPSHOT_IOC_MAGIC, 18)
 
#define SNAPSHOT_AVAIL_SWAP_SIZE   _IOR(SNAPSHOT_IOC_MAGIC, 19, __kernel_loff_t)
 
#define SNAPSHOT_ALLOC_SWAP_PAGE   _IOR(SNAPSHOT_IOC_MAGIC, 20, __kernel_loff_t)
 
#define SNAPSHOT_IOC_MAXNR   20
 

Functions

struct resume_swap_area __attribute__ ((packed))
 

Variables

__kernel_loff_t offset
 
__u32 dev
 

Macro Definition Documentation

#define SNAPSHOT_ALLOC_SWAP_PAGE   _IOR(SNAPSHOT_IOC_MAGIC, 20, __kernel_loff_t)

Definition at line 30 of file suspend_ioctls.h.

#define SNAPSHOT_ATOMIC_RESTORE   _IO(SNAPSHOT_IOC_MAGIC, 4)

Definition at line 18 of file suspend_ioctls.h.

#define SNAPSHOT_AVAIL_SWAP_SIZE   _IOR(SNAPSHOT_IOC_MAGIC, 19, __kernel_loff_t)

Definition at line 29 of file suspend_ioctls.h.

#define SNAPSHOT_CREATE_IMAGE   _IOW(SNAPSHOT_IOC_MAGIC, 17, int)

Definition at line 27 of file suspend_ioctls.h.

#define SNAPSHOT_FREE   _IO(SNAPSHOT_IOC_MAGIC, 5)

Definition at line 19 of file suspend_ioctls.h.

#define SNAPSHOT_FREE_SWAP_PAGES   _IO(SNAPSHOT_IOC_MAGIC, 9)

Definition at line 20 of file suspend_ioctls.h.

#define SNAPSHOT_FREEZE   _IO(SNAPSHOT_IOC_MAGIC, 1)

Definition at line 16 of file suspend_ioctls.h.

#define SNAPSHOT_GET_IMAGE_SIZE   _IOR(SNAPSHOT_IOC_MAGIC, 14, __kernel_loff_t)

Definition at line 24 of file suspend_ioctls.h.

#define SNAPSHOT_IOC_MAGIC   '3'

Definition at line 15 of file suspend_ioctls.h.

#define SNAPSHOT_IOC_MAXNR   20

Definition at line 31 of file suspend_ioctls.h.

#define SNAPSHOT_PLATFORM_SUPPORT   _IO(SNAPSHOT_IOC_MAGIC, 15)

Definition at line 25 of file suspend_ioctls.h.

#define SNAPSHOT_POWER_OFF   _IO(SNAPSHOT_IOC_MAGIC, 16)

Definition at line 26 of file suspend_ioctls.h.

#define SNAPSHOT_PREF_IMAGE_SIZE   _IO(SNAPSHOT_IOC_MAGIC, 18)

Definition at line 28 of file suspend_ioctls.h.

#define SNAPSHOT_S2RAM   _IO(SNAPSHOT_IOC_MAGIC, 11)

Definition at line 21 of file suspend_ioctls.h.

#define SNAPSHOT_SET_SWAP_AREA
Value:

Definition at line 22 of file suspend_ioctls.h.

#define SNAPSHOT_UNFREEZE   _IO(SNAPSHOT_IOC_MAGIC, 2)

Definition at line 17 of file suspend_ioctls.h.

Function Documentation

struct resume_swap_area __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u32 dev

Definition at line 15 of file suspend_ioctls.h.

Definition at line 14 of file suspend_ioctls.h.