Lines Matching full:grant

17  * GRANT TABLE REPRESENTATION
20 /* Some rough guidelines on accessing and updating grant-table entries
23 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
28 * Introducing a valid entry into the grant table:
46 * which can set a timeout on the use of a grant entry and take necessary
55 * [*] If GTF_transfer_committed is set then the grant entry is 'committed'.
56 * The guest must /not/ modify the grant entry until the address of the
72 * Reference to a grant entry in a specified domain's grant table.
77 * A grant table comprises a packed array of grant entries in one or more
84 * Version 1 of the grant table entry structure is maintained largely for
102 /* The first few grant table entries will be preserved across grant table
110 * Type of grant entry.
111 * GTF_invalid: This grant entry grants no privileges.
127 * GTF_reading: Grant entry is currently mapped for reading by @domid. [XEN]
128 * GTF_writing: Grant entry is currently mapped for writing by @domid. [XEN]
131 * mappings of the grant [GST]
132 * GTF_sub_page: Grant access to only a subrange of the page. @domid
133 * will only be allowed to copy from the grant, and not
155 * it must /not/ modify the grant entry until GTF_transfer_completed is
167 * Version 2 grant table entries. These fulfil the same role as
172 * The interface by which domains use grant references does not depend
173 * on the grant table version in use by the other domain.
177 * Version 1 and version 2 grant entries share a common prefix. The
187 * Version 2 of the grant entry structure.
208 * If the grant type is GTF_grant_access and GTF_sub_page is set,
220 * If the grant is GTF_transitive, @domid is allowed to use the
221 * grant @gref in domain @trans_domid, as if it was the local
223 * with the original grant.
241 * GRANT TABLE QUERIES AND USES
260 * Handle to track a mapping created via a grant reference.
265 * GNTTABOP_map_grant_ref: Map the grant entry (<dom>,<ref>) for access
279 * to be accounted to the correct grant reference!
295 * GNTTABOP_unmap_grant_ref: Destroy one or more grant-reference mappings
316 * GNTTABOP_setup_table: Set up a grant table for <dom> comprising at least
322 * 3. Xen may not support more than a single grant-table page per domain.
335 * GNTTABOP_dump_table: Dump the contents of the grant table to the
368 * grant references. the foreign domain has to grant read/write access
369 * in its grant table.
372 * or grant reference).
376 * grant appropriate access to their pages to the third party.
407 * grant table.
423 * GNTTABOP_unmap_and_replace: Destroy one or more grant-reference mappings
444 * GNTTABOP_set_version: Request a particular version of the grant
456 * GNTTABOP_get_status_frames: Get the list of frames used to store grant
457 * status for <dom>. In grant format version 2, the status is separated
458 * from the other shared grant fields to allow more efficient synchronization
478 * GNTTABOP_get_version: Get the grant table version which is in
491 * GNTTABOP_swap_grant_ref: Swap the contents of two grant entries.
511 uint16_t offset; /* offset from start of grant */
512 uint16_t length; /* size within the grant */
523 /* Map the grant entry for access by I/O devices. */
526 /* Map the grant entry for access by host CPUs. */
577 "invalid grant reference", \