Lines Matching full:grant
34 * GRANT TABLE REPRESENTATION
37 /* Some rough guidelines on accessing and updating grant-table entries
44 * Introducing a valid entry into the grant table:
62 * which can set a timeout on the use of a grant entry and take necessary
71 * [*] If GTF_transfer_committed is set then the grant entry is 'committed'.
72 * The guest must /not/ modify the grant entry until the address of the
88 * Reference to a grant entry in a specified domain's grant table.
93 * A grant table comprises a packed array of grant entries in one or more
100 * Version 1 of the grant table entry structure is maintained purely
116 * Type of grant entry.
117 * GTF_invalid: This grant entry grants no privileges.
133 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN]
134 * GTF_writing: Grant entry is currently mapped for writing by @domid. [XEN]
135 * GTF_sub_page: Grant access to only a subrange of the page. @domid
136 * will only be allowed to copy from the grant, and not
152 * it must /not/ modify the grant entry until GTF_transfer_completed is
164 * Version 2 grant table entries. These fulfil the same role as
169 * The interface by which domains use grant references does not depend
170 * on the grant table version in use by the other domain.
174 * Version 1 and version 2 grant entries share a common prefix. The
184 * Version 2 of the grant entry structure, here is a union because three
206 * If the grant type is GTF_grant_access and GTF_sub_page is set,
218 * If the grant is GTF_transitive, @domid is allowed to use the
219 * grant @gref in domain @trans_domid, as if it was the local
221 * with the original grant.
236 * GRANT TABLE QUERIES AND USES
240 * Handle to track a mapping created via a grant reference.
245 * GNTTABOP_map_grant_ref: Map the grant entry (<dom>,<ref>) for access
259 * to be accounted to the correct grant reference!
276 * GNTTABOP_unmap_grant_ref: Destroy one or more grant-reference mappings
298 * GNTTABOP_setup_table: Set up a grant table for <dom> comprising at least
304 * 3. Xen may not support more than a single grant-table page per domain.
318 * GNTTABOP_dump_table: Dump the contents of the grant table to the
352 * grant references. the foreign domain has to grant read/write access
353 * in its grant table.
356 * or grant reference).
360 * grant appropriate access to their pages to the third party.
392 * grant table.
409 * GNTTABOP_unmap_and_replace: Destroy one or more grant-reference mappings
431 * GNTTABOP_set_version: Request a particular version of the grant
445 * GNTTABOP_get_status_frames: Get the list of frames used to store grant
446 * status for <dom>. In grant format version 2, the status is separated
447 * from the other shared grant fields to allow more efficient synchronization
468 * GNTTABOP_get_version: Get the grant table version which is in
491 uint16_t offset; /* offset from start of grant */
492 uint16_t length; /* size within the grant */
503 /* Map the grant entry for access by I/O devices. */
506 /* Map the grant entry for access by host CPUs. */
556 "invalid grant reference", \