summary refs log tree commit diff stats
path: root/include/system/ramblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system/ramblock.h')
-rw-r--r--include/system/ramblock.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/system/ramblock.h b/include/system/ramblock.h
index 530c5a2e4c..85cceff6bc 100644
--- a/include/system/ramblock.h
+++ b/include/system/ramblock.h
@@ -103,8 +103,10 @@ struct RamBlockAttributes {
     QLIST_HEAD(, RamDiscardListener) rdl_list;
 };
 
-int ram_block_discard_range(RAMBlock *rb, uint64_t start, size_t length);
-int ram_block_discard_guest_memfd_range(RAMBlock *rb, uint64_t start,
+/* @offset: the offset within the RAMBlock */
+int ram_block_discard_range(RAMBlock *rb, uint64_t offset, size_t length);
+/* @offset: the offset within the RAMBlock */
+int ram_block_discard_guest_memfd_range(RAMBlock *rb, uint64_t offset,
                                         size_t length);
 
 RamBlockAttributes *ram_block_attributes_create(RAMBlock *ram_block);