Lines Matching full:grant

36  * `incontents 150 gnttab Grant Tables
38 * Xen's grant tables provide a generic mechanism to memory sharing
42 * Each domain has its own grant table. This is a data structure that
44 * permissions other domains have on its pages. Entries in the grant
45 * table are identified by grant references. A grant reference is an
46 * integer, which indexes into the grant table. It acts as a
51 * between unprivileged domains. A grant reference also encapsulates
59 * GRANT TABLE REPRESENTATION
62 /* Some rough guidelines on accessing and updating grant-table entries
65 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
70 * Introducing a valid entry into the grant table:
88 * which can set a timeout on the use of a grant entry and take necessary
97 * [*] If GTF_transfer_committed is set then the grant entry is 'committed'.
98 * The guest must /not/ modify the grant entry until the address of the
114 * Reference to a grant entry in a specified domain's grant table.
119 * A grant table comprises a packed array of grant entries in one or more
126 * Version 1 of the grant table entry structure is maintained purely
148 /* The first few grant table entries will be preserved across grant table
156 * Type of grant entry.
157 * GTF_invalid: This grant entry grants no privileges.
173 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN]
174 * GTF_writing: Grant entry is currently mapped for writing by @domid. [XEN]
177 * mappings of the grant [GST]
178 * GTF_sub_page: Grant access to only a subrange of the page. @domid
179 * will only be allowed to copy from the grant, and not
201 * it must /not/ modify the grant entry until GTF_transfer_completed is
213 * GRANT TABLE QUERIES AND USES
245 * Handle to track a mapping created via a grant reference.
250 * GNTTABOP_map_grant_ref: Map the grant entry (<dom>,<ref>) for access
264 * to be accounted to the correct grant reference!
281 * GNTTABOP_unmap_grant_ref: Destroy one or more grant-reference mappings
303 * GNTTABOP_setup_table: Set up a grant table for <dom> comprising at least
309 * 3. Xen may not support more than a single grant-table page per domain.
332 /* Map the grant entry for access by I/O devices. */
335 /* Map the grant entry for access by host CPUs. */
387 "invalid grant reference", \