/openbmc/qemu/include/hw/xen/interface/ |
H A D | grant_table.h | 17 * `incontents 150 gnttab Grant Tables 19 * Xen's grant tables provide a generic mechanism to memory sharing 23 * Each domain has its own grant table. This is a data structure that 25 * permissions other domains have on its pages. Entries in the grant 26 * table are identified by grant references. A grant reference is an 27 * integer, which indexes into the grant table. It acts as a 32 * between unprivileged domains. A grant reference also encapsulates 40 * GRANT TABLE REPRESENTATION 43 /* Some rough guidelines on accessing and updating grant-table entries 46 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;… [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/xen/ |
H A D | grant-dma-ops.c | 3 * Xen grant DMA-mapping layer - contains special DMA-mapping routines 4 * for providing grant references as DMA addresses to be used by frontends 33 static inline dma_addr_t grant_to_dma(grant_ref_t grant) in grant_to_dma() argument 35 return XEN_GRANT_DMA_ADDR_OFF | ((dma_addr_t)grant << XEN_PAGE_SHIFT); in grant_to_dma() 74 * Such a DMA address is formed by using the grant reference as a frame 85 grant_ref_t grant; in xen_grant_dma_alloc() local 101 if (gnttab_alloc_grant_reference_seq(n_pages, &grant)) { in xen_grant_dma_alloc() 107 gnttab_grant_foreign_access_ref(grant + i, data->backend_domid, in xen_grant_dma_alloc() 111 *dma_handle = grant_to_dma(grant); in xen_grant_dma_alloc() 121 grant_ref_t grant; in xen_grant_dma_free() local [all …]
|
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 | grant-table.c | 79 * linked by grant ref, the last element contains GNTTAB_LIST_END. The number 110 /*This is a structure of function pointers for grant table*/ 113 * Version of the grant interface. 117 * Grant refs per grant frame. 121 * Mapping a list of frames for storing grant entries. Frames parameter 122 * is used to store grant table address when grant table being setup, 123 * nr_gframes is the number of frames to map grant table. Returning 128 * Release a list of frames which are mapped in map_frames for grant 133 * Introducing a valid entry into the grant table, granting the frame of 134 * this grant entry to domain for accessing. Ref [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" 145 bool "Add support for dma-buf grant access device driver extension" 150 dma-buf implementation. With this extension grant references to 152 use and grant references coming from a foreign domain can be 156 tristate "User-space grant reference allocator driver" 165 bool "Allow allocating DMA capable buffers with grant reference module" 168 Extends grant table module API to allow allocating DMA capable 169 buffers and mapping foreign grant references on top of it. 341 memory regions, including grant maps and foreign pages. This avoids 369 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" }, 66 .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
|
/openbmc/linux/include/xen/ |
H A D | grant_table.h | 6 * 2. Accessing others' memory reservations via grant references. 7 * (i.e., mechanisms for both sender and recipient of grant references) 54 * Technically there's no reliably invalid grant reference or grant handle, 94 * End access through the given grant reference, iff the grant entry is no 95 * longer in use. Return 1 if the grant entry was freed, 0 if it is still in 101 * Eventually end access through the given grant reference, and once that 103 * immediately iff the grant entry is not in use, otherwise it will happen 110 * the grant is no longer in use. 118 * End access through the given grant reference, iff the grant entry is 120 * grant reference is deallocated. [all …]
|
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.
|
/openbmc/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";
|
/openbmc/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 */ 40 * Deallocates the grant reference, allowing the associated page to be freed if
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-xfs | 23 The current state of the log reserve grant head. It 25 outstanding transactions. The grant head is exported in 34 The current state of the log write grant head. It 37 rolling transactions. The grant head is exported in
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | MS-PL | 10 Grant of Rights 11 (A) Copyright Grant- Subject to the terms of this license, including the license conditions and lim… 12 (B) Patent Grant- Subject to the terms of this license, including the license conditions and limita… 14 (A) No Trademark License- This license does not grant you rights to use any contributors` name, log…
|
H A D | MS-RL | 13 Grant of Rights 14 (A) Copyright Grant- Subject to the terms of this license, including the license conditions and lim… 15 (B) Patent Grant- Subject to the terms of this license, including the license conditions and limita… 18 (B) No Trademark License- This license does not grant you rights to use any contributors` name, log…
|
H A D | MS-LPL | 8 2. Grant of Rights 9 …(A) Copyright Grant- Subject to the terms of this license, including the license conditions and li… 11 …(B) Patent Grant- Subject to the terms of this license, including the license conditions and limit… 14 …(A) No Trademark License- This license does not grant you rights to use any contributors' name, lo…
|
H A D | BUSL-1.1 | 10 Licensor may make an Additional Use Grant, above, permitting limited 38 This License does not grant you any right in any trademark or logo of 65 2. To either: (a) specify an additional grant of rights to use that does not 67 the Additional Use Grant; or (b) insert the text “None”.
|
H A D | AFL-1.2 | 12 Grant of License. Licensor hereby grants to any person obtaining a 30 Exclusions from License Grant. Neither the names of Licensor, nor the 103 * The AFL contains a complete copyright grant to the software. The BSD 106 * The AFL contains a complete patent grant to the software. The BSD, MIT, 108 no explicit patent grant.
|
H A D | 3D-Slicer-1.0 | 38 grant all licenses granted in this Contribution Agreement with 53 4. You hereby grant to Brigham, with the right to sublicense, a 57 protected by patent, you hereby grant to Brigham, with the right to 129 3. This Software License does not grant any rights with respect to 131 authorized by a third party to grant to you, and accordingly you 180 8. This Software License does not grant any rights in or to any
|
/openbmc/qemu/hw/xen/ |
H A D | xen-mapcache.c | 176 * Grant mappings must use XC_PAGE_SIZE granularity since we can't in xen_map_cache_init() 192 bool grant, in xen_remap_bucket() argument 205 if (grant) { in xen_remap_bucket() 238 if (grant) { in xen_remap_bucket() 253 if (grant) { in xen_remap_bucket() 281 perror(grant ? "xengnttab_map_domain_grant_refs" in xen_remap_bucket() 327 bool grant, bool is_write) in xen_map_cache_unlocked() argument 399 grant, is_write, ram_offset); in xen_map_cache_unlocked() 407 grant, is_write, ram_offset); in xen_map_cache_unlocked() 458 bool grant = xen_mr_is_grants(mr); in xen_map_cache() local [all …]
|
/openbmc/linux/include/xen/interface/io/ |
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 */
|
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.
|
/openbmc/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>");
|