linux/kernel/power
Rafael J. Wysocki af508b34d2 Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctl
Add a new ioctl, SNAPSHOT_GET_IMAGE_SIZE, returning the size of the (just
created) hibernation image, to the hibernation userland interface.

This ioctl is necessary so that the userland utilities using the interface need
not access the hibernation image header, owned by the kernel, in order to obtain
the size of the image.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 18:30:52 -05:00
..
Kconfig serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
Makefile Introduce CONFIG_SUSPEND for suspend-to-Ram and standby 2007-07-29 16:45:38 -07:00
console.c [PATCH] swsusp: fix suspend when console is in VT_AUTO+KD_GRAPHICS mode 2007-03-16 19:25:05 -07:00
disk.c driver core: make /sys/power a kobject 2008-01-24 20:40:25 -08:00
main.c driver core: make /sys/power a kobject 2008-01-24 20:40:25 -08:00
pm.c PM: ACPI and APM must not be enabled at the same time 2008-01-11 12:26:47 -05:00
power.h Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctl 2008-02-01 18:30:52 -05:00
poweroff.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
process.c power: Use task_is_* 2007-12-06 17:34:47 -05:00
snapshot.c Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctl 2008-02-01 18:30:52 -05:00
swap.c swsusp: introduce restore platform operations 2007-07-19 10:04:42 -07:00
swsusp.c Hibernation: Check if ACPI is enabled during restore in the right place 2007-10-18 14:37:20 -07:00
user.c Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctl 2008-02-01 18:30:52 -05:00