| /linux/include/xen/interface/ |
| H A D | grant_table.h | 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 [all …]
|
| /linux/drivers/xen/ |
| H A D | xen-front-pgdir-shbuf.c | 26 * 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 D | gntalloc.c | 4 * 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 D | Kconfig | 137 tristate "userspace grant access device driver" 146 bool "Add support for dma-buf grant access device driver extension" 151 dma-buf implementation. With this extension grant references to 153 use and grant references coming from a foreign domain can be 157 tristate "User-space grant reference allocator driver" 166 bool "Allow allocating DMA capable buffers with grant reference module" 169 Extends grant table module API to allow allocating DMA capable 170 buffers and mapping foreign grant references on top of it. 342 memory regions, including grant maps and foreign pages. This avoids 370 Require virtio for Xen guests to use grant mappings.
|
| H A D | grant-dma-iommu.c | 5 * bindings by Xen grant DMA-mapping layer. 30 { .compatible = "xen,grant-dma" }, 64 .name = "grant-dma-iommu",
|
| H A D | Makefile | 3 obj-y += grant-table.o features.o balloon.o manage.o time.o 42 obj-$(CONFIG_XEN_GRANT_DMA_OPS) += grant-dma-ops.o 43 obj-$(CONFIG_XEN_GRANT_DMA_IOMMU) += grant-dma-iommu.o
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| H A D | xen,grant-dma.yaml | 4 $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/include/uapi/xen/ |
| H A D | gntdev.h | 41 /* 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 D | gntalloc.h | 17 * 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 D | xen-front-pgdir-shbuf.h | 26 * 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 D | vscsiif.h | 56 * 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.
|
| H A D | tpmif.h | 21 * 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 */
|
| /linux/drivers/ata/pata_parport/ |
| H A D | ktti.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 109 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | fit2.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 135 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | aten.c | 3 * (c) 1997-8 Grant R. Guenther <grant@torque.net> 142 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | on20.c | 3 * (c) 1996-1998 Grant R. Guenther <grant@torque.net> 145 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | comm.c | 3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net> 203 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | fit3.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 186 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| H A D | dstr.c | 3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net> 233 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
| /linux/Documentation/userspace-api/ |
| H A D | rseq.rst | 172 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 D | dlmconstants.h | 98 * 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 D | keyctl.c | 318 * 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 634 * The key must grant the caller View permission for this to work. 708 * key. Only keyrings that grant the caller Search permission will be searched [all …]
|
| /linux/drivers/block/xen-blkback/ |
| H A D | blkback.c | 87 * 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/drivers/block/ |
| H A D | xen-blkfront.c | 87 struct grant { struct 104 struct grant **grants_used; argument 105 struct grant **indirect_grants; 313 struct grant *gnt_list_entry, *n; in fill_grant_buffer() 317 gnt_list_entry = kzalloc_obj(struct grant, GFP_NOIO); in fill_grant_buffer() 350 static struct grant *get_free_grant(struct blkfront_ring_info *rinfo) in get_free_grant() 352 struct grant *gnt_list_entry; in get_free_grant() 355 gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, in get_free_grant() 365 static inline void grant_foreign_access(const struct grant *gnt_list_entry, in grant_foreign_access() 374 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-xfs | 23 The current state of the log reserve grant head. It 33 The current state of the log write grant head. It
|