linux/include/uapi/linux/suspend_ioctls.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _LINUX_SUSPEND_IOCTLS_H
#define _LINUX_SUSPEND_IOCTLS_H

#include <linux/types.h>
/*
 * This structure is used to pass the values needed for the identification
 * of the resume swap area from a user space to the kernel via the
 * SNAPSHOT_SET_SWAP_AREA ioctl
 */
struct resume_swap_area {} __attribute__((packed));

#define SNAPSHOT_IOC_MAGIC
#define SNAPSHOT_FREEZE
#define SNAPSHOT_UNFREEZE
#define SNAPSHOT_ATOMIC_RESTORE
#define SNAPSHOT_FREE
#define SNAPSHOT_FREE_SWAP_PAGES
#define SNAPSHOT_S2RAM
#define SNAPSHOT_SET_SWAP_AREA
#define SNAPSHOT_GET_IMAGE_SIZE
#define SNAPSHOT_PLATFORM_SUPPORT
#define SNAPSHOT_POWER_OFF
#define SNAPSHOT_CREATE_IMAGE
#define SNAPSHOT_PREF_IMAGE_SIZE
#define SNAPSHOT_AVAIL_SWAP_SIZE
#define SNAPSHOT_ALLOC_SWAP_PAGE
#define SNAPSHOT_IOC_MAXNR

#endif /* _LINUX_SUSPEND_IOCTLS_H */