Lines Matching full:grant

34  * `incontents 150 gnttab Grant Tables
36 * Xen's grant tables provide a generic mechanism to memory sharing
40 * Each domain has its own grant table. This is a data structure that
42 * permissions other domains have on its pages. Entries in the grant
43 * table are identified by grant references. A grant reference is an
44 * integer, which indexes into the grant table. It acts as a
49 * between unprivileged domains. A grant reference also encapsulates
57 * GRANT TABLE REPRESENTATION
60 /* Some rough guidelines on accessing and updating grant-table entries
63 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
68 * Introducing a valid entry into the grant table:
86 * which can set a timeout on the use of a grant entry and take necessary
95 * [*] If GTF_transfer_committed is set then the grant entry is 'committed'.
96 * The guest must /not/ modify the grant entry until the address of the
112 * Reference to a grant entry in a specified domain's grant table.
117 * A grant table comprises a packed array of grant entries in one or more
124 * Version 1 of the grant table entry structure is maintained largely for
147 /* The first few grant table entries will be preserved across grant table
155 * Type of grant entry.
156 * GTF_invalid: This grant entry grants no privileges.
172 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN]
173 * GTF_writing: Grant entry is currently mapped for writing by @domid. [XEN]
176 * mappings of the grant [GST]
177 * GTF_sub_page: Grant access to only a subrange of the page. @domid
178 * will only be allowed to copy from the grant, and not
200 * it must /not/ modify the grant entry until GTF_transfer_completed is
212 * Version 2 grant table entries. These fulfil the same role as
217 * The interface by which domains use grant references does not depend
218 * on the grant table version in use by the other domain.
222 * Version 1 and version 2 grant entries share a common prefix. The
233 * Version 2 of the grant entry structure.
254 * If the grant type is GTF_grant_access and GTF_sub_page is set,
266 * If the grant is GTF_transitive, @domid is allowed to use the
267 * grant @gref in domain @trans_domid, as if it was the local
269 * with the original grant.
290 * GRANT TABLE QUERIES AND USES
322 * Handle to track a mapping created via a grant reference.
327 * GNTTABOP_map_grant_ref: Map the grant entry (<dom>,<ref>) for access
341 * to be accounted to the correct grant reference!
358 * GNTTABOP_unmap_grant_ref: Destroy one or more grant-reference mappings
380 * GNTTABOP_setup_table: Set up a grant table for <dom> comprising at least
386 * 3. Xen may not support more than a single grant-table page per domain.
404 * GNTTABOP_dump_table: Dump the contents of the grant table to the
440 * grant references. the foreign domain has to grant read/write access
441 * in its grant table.
444 * or grant reference).
448 * grant appropriate access to their pages to the third party.
480 * grant table.
497 * GNTTABOP_unmap_and_replace: Destroy one or more grant-reference mappings
520 * GNTTABOP_set_version: Request a particular version of the grant
534 * GNTTABOP_get_status_frames: Get the list of frames used to store grant
535 * status for <dom>. In grant format version 2, the status is separated
536 * from the other shared grant fields to allow more efficient synchronization
557 * GNTTABOP_get_version: Get the grant table version which is in
571 * GNTTABOP_swap_grant_ref: Swap the contents of two grant entries.
592 uint16_t offset; /* offset from start of grant */
593 uint16_t length; /* size within the grant */
607 /* Map the grant entry for access by I/O devices. */
610 /* Map the grant entry for access by host CPUs. */
663 "invalid grant reference", \