aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/grant_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/grant_table.h')
-rw-r--r--include/xen/grant_table.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h
index f19fff8650e9..aecee9d112cb 100644
--- a/include/xen/grant_table.h
+++ b/include/xen/grant_table.h
@@ -190,4 +190,16 @@ int gnttab_unmap_refs(struct gnttab_unmap_grant_ref *unmap_ops,
190 struct gnttab_map_grant_ref *kunmap_ops, 190 struct gnttab_map_grant_ref *kunmap_ops,
191 struct page **pages, unsigned int count); 191 struct page **pages, unsigned int count);
192 192
193/* Perform a batch of grant map/copy operations. Retry every batch slot
194 * for which the hypervisor returns GNTST_eagain. This is typically due
195 * to paged out target frames.
196 *
197 * Will retry for 1, 2, ... 255 ms, i.e. 256 times during 32 seconds.
198 *
199 * Return value in each iand every status field of the batch guaranteed
200 * to not be GNTST_eagain.
201 */
202void gnttab_batch_map(struct gnttab_map_grant_ref *batch, unsigned count);
203void gnttab_batch_copy(struct gnttab_copy *batch, unsigned count);
204
193#endif /* __ASM_GNTTAB_H__ */ 205#endif /* __ASM_GNTTAB_H__ */