Home
last modified time | relevance | path

Searched full:grant (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/include/xen/interface/
H A Dgrant_table.h17 * 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
[all …]
/linux/Documentation/devicetree/bindings/iommu/
H A Dxen,grant-dma.yaml4 $id: http://devicetree.org/schemas/iommu/xen,grant-dma.yaml#
13 The Xen IOMMU represents the Xen grant table interface. Grant mappings
16 The binding is required to restrict memory access using Xen grant mappings.
20 const: xen,grant-dma
37 compatible = "xen,grant-dma";
/linux/drivers/xen/
H A Dxen-front-pgdir-shbuf.c26 * that contains grant references to the pages of the shared
53 /* Claim grant references for the pages of the buffer. */
57 /* Map grant references of the buffer. */
60 /* Unmap grant references of the buffer. */
67 * so it can find/fill the grant references to the buffer's
100 /* No need to map own grant references. */ in xen_front_pgdir_shbuf_map()
121 /* No need to unmap own grant references. */ in xen_front_pgdir_shbuf_unmap()
164 * Calculate the number of grant references needed to share the buffer
176 * Calculate the number of grant references needed to share the buffer
194 * Unmap the buffer previously mapped with grant references
[all …]
H A Dgntalloc.c4 * Device for creating grant references (in user-space) that may be shared
20 * Linux userspace programs cannot create grant references.
24 * Y -> mapping the grant from X
27 * 2. X creates an entry in the grant table that says domid(Y) can access P.
28 * This is done without a hypercall unless the grant table needs expansion.
29 * 3. X gives the grant reference identifier, GREF, to Y.
39 * The grant allocation and mmap()ing are, naturally, two separate operations.
43 * WARNING: Since Xen does not allow a guest to forcibly end the use of a grant
44 * reference, this device can be used to consume kernel memory by leaving grant
48 * grant operation.
[all …]
H A Dgrant-dma-iommu.c5 * bindings by Xen grant DMA-mapping layer.
30 { .compatible = "xen,grant-dma" },
64 .name = "grant-dma-iommu",
/linux/include/uapi/xen/
H A Dgntdev.h41 /* The domain ID of the grant to be mapped. */
43 /* The grant reference of the grant to be mapped. */
48 * Inserts the grant references into the mapping table of an instance
51 * considered opaque to userspace, with one exception: if no grant
69 /* Array of grant references, of size @count. */
74 * Removes the grant references from the mapping table of an instance of
171 * Copy between grant references and local buffers.
174 * to/from one grant reference.
226 * Create a dma-buf [1] from grant references @refs of count @count provided
247 /* Number of grant references in @refs array. */
[all …]
H A Dgntalloc.h17 * Allocates a new page and creates a new grant reference.
32 /* The grant references of the newly created grant, one per page */
43 * Deallocates the grant reference, allowing the associated page to be freed if
/linux/include/xen/
H A Dxen-front-pgdir-shbuf.h26 * of grant references for the page directory and the pages
30 * of grant references for the page directory itself as grant
72 * Mode of grant reference sharing: if set then backend will share
73 * grant references to the buffer with the frontend.
/linux/include/xen/interface/io/
H A Dtpmif.h21 * 5. Backend maps grant and event channel, verifies feature-protocol-v2
28 * 3. Backend unmaps grant and event, changes state to InitWait
49 uint32_t extra_pages[]; /* grant IDs; length in nr_extra_pages */
H A Dvscsiif.h56 * feature-sg-grant
60 * Specifies the maximum number of scatter/gather elements in grant pages
79 * The Xen grant reference granting permission for the backend to map
179 * If "feature-sg-grant" in the Xenstore is set it is possible to specify more
182 * of the "feature-sg-grant" entry from Xenstore. When using indirection the
218 * If "feature-sg-grant" is set, more scatter/gather elements can be specified
260 * flag in nr_segments: SG elements via grant page
263 * of grant pages containing SG elements. Usable if "feature-sg-grant" set.
/linux/drivers/ata/pata_parport/
H A Dktti.c3 * (c) 1998 Grant R. Guenther <grant@torque.net>
109 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Dfit2.c3 * (c) 1998 Grant R. Guenther <grant@torque.net>
135 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Daten.c3 * (c) 1997-8 Grant R. Guenther <grant@torque.net>
142 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Don20.c3 * (c) 1996-1998 Grant R. Guenther <grant@torque.net>
145 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Dcomm.c3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net>
203 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Dfit3.c3 * (c) 1998 Grant R. Guenther <grant@torque.net>
186 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
H A Ddstr.c3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net>
233 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
/linux/Documentation/userspace-api/
H A Drseq.rst172 kernel, then the kernel can grant a time slice extension and return to
181 The kernel indicates the grant by clearing rseq::slice_ctrl::request and
195 critical section, then this indicates that a grant was revoked and no
212 -> Interrupt results in schedule and grant revocation
219 granted timeslice extension, the grant is also revoked and the CPU is
223 might exceed the grant by far.
/linux/include/uapi/linux/
H A Ddlmconstants.h98 * to grant the lock, ignoring other locks in convert and wait queues.
112 * Disregard the standard grant order rules and grant a lock as soon as it
121 * If the requested mode cannot be granted immediately, try to grant the lock
/linux/security/keys/
H A Dkeyctl.c318 * The key must grant the caller Write permission and the key type must support
370 * The key must be grant the caller Write or Setattr permission for this to
412 * The key must be grant the caller Invalidate permission for this to work.
464 * The keyring must grant the caller Write permission and not have
509 * The key must grant the caller Link permission and the keyring must grant
544 * The keyring must grant the caller Write permission for this to work; the key
545 * itself need not grant the caller anything. If the last link to a key is
589 * The key must grant the caller Link permission and both keyrings must grant
[all...]
/linux/drivers/block/xen-blkback/
H A Dblkback.c87 * How long a persistent grant is allowed to remain allocated without being in
95 "Time in seconds an unused persistent grant is allowed to "
159 * We don't need locking around the persistent grant helpers
165 * bit operations to modify the flags of a persistent grant and to count
221 pr_alert_ratelimited("requesting a grant already in use\n"); in get_persistent_gnt()
236 pr_alert_ratelimited("freeing a grant already unused\n"); in put_persistent_gnt()
638 /* Free all persistent grant pages */ in xen_blkbk_free_caches()
725 * Unmap the grant references.
776 * corresponding grant reference for each page. in xen_blkbk_map()
791 * the grant is already mapped in xen_blkbk_map()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-xfs23 The current state of the log reserve grant head. It
33 The current state of the log write grant head. It
H A Dsysfs-driver-xen-blkback24 How long a persistent grant is allowed to remain
36 cache any page not backed by a grant mapping.
/linux/arch/powerpc/boot/
H A Dmpc52xx-psc.c5 * Author: Grant Likely <grant.likely@secretlab.ca>
H A Dcuboot-52xx.c5 * Author: Grant Likely <grant.likely@secretlab.ca>

1234567891011