/linux-6.14.4/include/xen/interface/ |
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-6.14.4/drivers/xen/ |
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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.
|
D | grant-dma-iommu.c | 5 * bindings by Xen grant DMA-mapping layer. 30 { .compatible = "xen,grant-dma" }, 64 .name = "grant-dma-iommu",
|
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-6.14.4/include/xen/ |
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 …]
|
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-6.14.4/Documentation/devicetree/bindings/iommu/ |
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-6.14.4/include/uapi/xen/ |
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 …]
|
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-6.14.4/include/xen/interface/io/ |
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 */
|
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.
|
/linux-6.14.4/drivers/ata/pata_parport/ |
D | ktti.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 109 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
D | fit2.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 135 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
D | aten.c | 3 * (c) 1997-8 Grant R. Guenther <grant@torque.net> 142 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
D | on20.c | 3 * (c) 1996-1998 Grant R. Guenther <grant@torque.net> 145 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
D | comm.c | 3 * (c) 1997-1998 Grant R. Guenther <grant@torque.net> 203 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
D | fit3.c | 3 * (c) 1998 Grant R. Guenther <grant@torque.net> 186 MODULE_AUTHOR("Grant R. Guenther <grant@torque.net>");
|
/linux-6.14.4/include/uapi/linux/ |
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-6.14.4/security/keys/ |
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-6.14.4/drivers/block/xen-blkback/ |
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-6.14.4/Documentation/ABI/testing/ |
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
|