mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
PM: hibernate: fix docs for ioctls that return loff_t via pointer
Correctly document how the SNAPSHOT_GET_IMAGE_SIZE and SNAPSHOT_AVAIL_SWAP_SIZE ioctls return their result. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
2591e7b17c
commit
51995ff512
@ -69,11 +69,13 @@ SNAPSHOT_PREF_IMAGE_SIZE
|
|||||||
|
|
||||||
SNAPSHOT_GET_IMAGE_SIZE
|
SNAPSHOT_GET_IMAGE_SIZE
|
||||||
return the actual size of the hibernation image
|
return the actual size of the hibernation image
|
||||||
|
(the last argument should be a pointer to a loff_t variable that
|
||||||
|
will contain the result if the call is successful)
|
||||||
|
|
||||||
SNAPSHOT_AVAIL_SWAP_SIZE
|
SNAPSHOT_AVAIL_SWAP_SIZE
|
||||||
return the amount of available swap in bytes (the
|
return the amount of available swap in bytes
|
||||||
last argument should be a pointer to an unsigned int variable that will
|
(the last argument should be a pointer to a loff_t variable that
|
||||||
contain the result if the call is successful).
|
will contain the result if the call is successful)
|
||||||
|
|
||||||
SNAPSHOT_ALLOC_SWAP_PAGE
|
SNAPSHOT_ALLOC_SWAP_PAGE
|
||||||
allocate a swap page from the resume partition
|
allocate a swap page from the resume partition
|
||||||
|
Loading…
Reference in New Issue
Block a user