SNAPSHOT_IOC_MAGIC   15 include/linux/suspend_ioctls.h #define SNAPSHOT_FREEZE			_IO(SNAPSHOT_IOC_MAGIC, 1)
SNAPSHOT_IOC_MAGIC   16 include/linux/suspend_ioctls.h #define SNAPSHOT_UNFREEZE		_IO(SNAPSHOT_IOC_MAGIC, 2)
SNAPSHOT_IOC_MAGIC   17 include/linux/suspend_ioctls.h #define SNAPSHOT_ATOMIC_RESTORE		_IO(SNAPSHOT_IOC_MAGIC, 4)
SNAPSHOT_IOC_MAGIC   18 include/linux/suspend_ioctls.h #define SNAPSHOT_FREE			_IO(SNAPSHOT_IOC_MAGIC, 5)
SNAPSHOT_IOC_MAGIC   19 include/linux/suspend_ioctls.h #define SNAPSHOT_FREE_SWAP_PAGES	_IO(SNAPSHOT_IOC_MAGIC, 9)
SNAPSHOT_IOC_MAGIC   20 include/linux/suspend_ioctls.h #define SNAPSHOT_S2RAM			_IO(SNAPSHOT_IOC_MAGIC, 11)
SNAPSHOT_IOC_MAGIC   21 include/linux/suspend_ioctls.h #define SNAPSHOT_SET_SWAP_AREA		_IOW(SNAPSHOT_IOC_MAGIC, 13, \
SNAPSHOT_IOC_MAGIC   23 include/linux/suspend_ioctls.h #define SNAPSHOT_GET_IMAGE_SIZE		_IOR(SNAPSHOT_IOC_MAGIC, 14, loff_t)
SNAPSHOT_IOC_MAGIC   24 include/linux/suspend_ioctls.h #define SNAPSHOT_PLATFORM_SUPPORT	_IO(SNAPSHOT_IOC_MAGIC, 15)
SNAPSHOT_IOC_MAGIC   25 include/linux/suspend_ioctls.h #define SNAPSHOT_POWER_OFF		_IO(SNAPSHOT_IOC_MAGIC, 16)
SNAPSHOT_IOC_MAGIC   26 include/linux/suspend_ioctls.h #define SNAPSHOT_CREATE_IMAGE		_IOW(SNAPSHOT_IOC_MAGIC, 17, int)
SNAPSHOT_IOC_MAGIC   27 include/linux/suspend_ioctls.h #define SNAPSHOT_PREF_IMAGE_SIZE	_IO(SNAPSHOT_IOC_MAGIC, 18)
SNAPSHOT_IOC_MAGIC   28 include/linux/suspend_ioctls.h #define SNAPSHOT_AVAIL_SWAP_SIZE	_IOR(SNAPSHOT_IOC_MAGIC, 19, loff_t)
SNAPSHOT_IOC_MAGIC   29 include/linux/suspend_ioctls.h #define SNAPSHOT_ALLOC_SWAP_PAGE	_IOR(SNAPSHOT_IOC_MAGIC, 20, loff_t)
SNAPSHOT_IOC_MAGIC   37 kernel/power/user.c #define SNAPSHOT_SET_SWAP_FILE	_IOW(SNAPSHOT_IOC_MAGIC, 10, unsigned int)
SNAPSHOT_IOC_MAGIC   38 kernel/power/user.c #define SNAPSHOT_PMOPS		_IOW(SNAPSHOT_IOC_MAGIC, 12, unsigned int)
SNAPSHOT_IOC_MAGIC   49 kernel/power/user.c #define SNAPSHOT_ATOMIC_SNAPSHOT	_IOW(SNAPSHOT_IOC_MAGIC, 3, void *)
SNAPSHOT_IOC_MAGIC   50 kernel/power/user.c #define SNAPSHOT_SET_IMAGE_SIZE		_IOW(SNAPSHOT_IOC_MAGIC, 6, unsigned long)
SNAPSHOT_IOC_MAGIC   51 kernel/power/user.c #define SNAPSHOT_AVAIL_SWAP		_IOR(SNAPSHOT_IOC_MAGIC, 7, void *)
SNAPSHOT_IOC_MAGIC   52 kernel/power/user.c #define SNAPSHOT_GET_SWAP_PAGE		_IOR(SNAPSHOT_IOC_MAGIC, 8, void *)
SNAPSHOT_IOC_MAGIC  198 kernel/power/user.c 	if (_IOC_TYPE(cmd) != SNAPSHOT_IOC_MAGIC)