Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd/sys/contrib/xen/
H A Dgrant_table.h34 * `incontents 150 gnttab Grant Tables
36 * Xen's grant tables provide a generic mechanism to memory sharing
40 * Each domain has its own grant table. This is a data structure that
42 * permissions other domains have on its pages. Entries in the grant
43 * table are identified by grant references. A grant reference is an
44 * integer, which indexes into the grant table. It acts as a
49 * between unprivileged domains. A grant reference also encapsulates
57 * GRANT TABLE REPRESENTATION
60 /* Some rough guidelines on accessing and updating grant-table entries
63 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;…
[all …]
/freebsd/sys/xen/
H A Dgntdev.h31 * 1. Grant Allocation
33 * 2. Grant Mapping
34 * Map a grant allocated by a foreign domain, into our own memory.
37 * Grant Allocation
39 * Steps to allocate a grant:
47 * all the allocated grant-refs, i.e., you need to allocate
55 * 1. The grant is not removed until all three of the following conditions
61 * the grant.
62 * - The foreign domain has stopped using the grant.
71 * Grant Mapping
[all …]
H A Dgnttab.h8 * 2. Accessing others' memory reservations via grant references.
9 * (i.e., mechanisms for both sender and recipient of grant references)
58 * Allocate a grant table reference and return it in *result. Returns
65 * End access through the given grant reference, iff the grant entry is no
66 * longer in use. Return 1 if the grant entry was freed, 0 if it is still in
72 * Eventually end access through the given grant reference, and once that
74 * immediately iff the grant entry is not in use, otherwise it will happen
80 * Eventually end access through the given array of grant references.
81 * Access will be ended immediately iff the grant entry is not in use,
94 * operations on reserved batches of grant references
/freebsd/sys/contrib/device-tree/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";
/freebsd/contrib/tcpdump/
H A Dprint-mpcp.c53 { 0x10, "Force Grant #1" },
54 { 0x20, "Force Grant #2" },
55 { 0x40, "Force Grant #3" },
56 { 0x80, "Force Grant #4" },
130 uint8_t grant_numbers, grant; in mpcp_print() local
163 for (grant = 1; grant <= grant_numbers; grant++) { in mpcp_print()
166 grant, in mpcp_print()
/freebsd/sys/dev/xen/grant_table/
H A Dgrant_table.c6 * 2. Accessing others' memory reservations via grant references.
7 * (i.e., mechanisms for both sender and recipient of grant references)
36 /* External tools reserve first few grant table entries. */
49 * for the grant table metainfo
130 * Public grant-issuing interface functions
276 * If a transfer is not even yet started, try to reclaim the grant in gnttab_end_foreign_transfer_ref()
298 KASSERT(frame != 0, ("grant table inconsistent")); in gnttab_end_foreign_transfer_ref()
576 ("Trying to attach grant-table device on non Xen domain")); in granttable_identify()
582 panic("unable to attach Xen Grant-table device"); in granttable_identify()
586 * \brief Probe for the existence of the Xen Grant-table device
[all …]
/freebsd/sys/contrib/xen/io/
H A Dtpmif.h27 * Grant table support: Mahadevan Gomathisankaran
41 grant_ref_t ref; /* grant table access reference */
111 * 16 [optional] List of grant IDs
114 * If the TPM packet data extends beyond the end of a single page, the grant IDs
129 uint32_t extra_pages[0]; /* grant IDs; length is actually nr_extra_pages */
H A Dvscsiif.h73 * feature-sg-grant
77 * Specifies the maximum number of scatter/gather elements in grant pages
96 * The Xen grant reference granting permission for the backend to map
196 * If "feature-sg-grant" in the Xenstore is set it is possible to specify more
199 * of the "feature-sg-grant" entry from Xenstore. When using indirection the
235 * If "feature-sg-grant" is set, more scatter/gather elements can be specified
277 * flag in nr_segments: SG elements via grant page
280 * of grant pages containing SG elements. Usable if "feature-sg-grant" set.
H A Dnetif.h181 * where <gref> is the grant reference of the shared page used to
426 * A frontend may provide a fixed set of grant references to be mapped on
439 * | grant ref | flags | status |
442 * grant ref: grant reference (IN)
551 * data[0] = grant reference of page containing the key (assumed to
552 * start at beginning of grant)
573 * is also limited by the single grant reference.
574 * The grant reference may be read-only and must remain valid until
639 * data[0] = grant reference of page containing the mapping (sub-)table
640 * (assumed to start at beginning of grant)
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.memenable.ksh55 xdt:mem::page-grant-map,
56 xdt:mem::page-grant-unmap,
57 xdt:mem::page-grant-transfer
/freebsd/sys/dev/xen/gntdev/
H A Dgntdev.c74 MALLOC_DEFINE(M_GNTDEV, "gntdev", "Xen grant-table user-space device");
227 /*-------------------- Grant Allocation Methods -----------------------------*/
333 * Allocate required number of wired pages for the request, grant foreign
381 log(LOG_ERR, "Grant Table Hypercall failed."); in gntdev_alloc_gref()
422 * Remove grant allocation information from the per user private data, so
440 log(LOG_ERR, "Can't find requested grant-refs."); in gntdev_dealloc_gref()
464 /*-------------------- Grant Mapping Methods --------------------------------*/
494 * Traverse over the device-list of to-be-deleted grant mappings, and if
622 * Populate structures for mapping the grant reference in the per user
695 log(LOG_ERR, "Can't find requested grant-map."); in gntdev_unmap_grant_ref()
[all …]
/freebsd/sys/security/mac/
H A Dmac_priv.c10 * Laboratory with support from a grant from Google, Inc.
53 * may restrict the granting of privilege to a subject, and it may grant
81 * Grant access to a privilege for a credential. Return success if any
/freebsd/sys/netinet/khelp/
H A Dh_ertt.h11 * possible in part by a grant from the Cisco University Research Program Fund
46 * Australia, which was made possible in part by a grant from the Cisco
48 * Testing and development was further assisted by a grant from the FreeBSD
/freebsd/sys/dev/xen/netback/
H A Dnetback.c109 /* Default length for stack-allocated grant tables */
133 * Predefined array type of grant table copy descriptors. Used to pass around
336 * Grant table handles, one per-ring page, returned by the
346 * The grant references, one per-ring page, supplied by the
457 * Preallocated grant table copy descriptor for RX operations.
463 * Preallocated grant table copy descriptor for TX operations.
514 printf("NULL grant table pointer\n"); in xnb_dump_gnttab_copy()
672 KASSERT(error == 0, ("Grant table unmap op failed (%d)", error)); in xnb_disconnect()
677 * grant refs contained therein are no longer valid. in xnb_disconnect()
716 panic("netback: Ring page grant table op failed (%d)", error); in xnb_connect_ring()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Dmpc5xxx-mscan.txt5 Grant Likely <grant.likely@secretlab.ca>
/freebsd/sys/netinet/cc/
H A Dcc_module.h9 * possible in part by a grant from the Cisco University Research Program Fund
38 * possible in part by a grant from the Cisco University Research Program Fund
/freebsd/contrib/llvm-project/openmp/
H A DLICENSE.TXT70 2. Grant of Copyright License. Subject to the terms and conditions of
77 3. Grant of Patent License. Subject to the terms and conditions of
142 6. Trademarks. This License does not grant permission to use the trade
315 Software Grant License Agreement ("Agreement")
333 1. Grant of Copyright License. Subject to the terms and conditions of this
340 2. Grant of Patent License. Subject to the terms and conditions of this
/freebsd/tests/sys/cddl/zfs/tests/acl/cifs/
H A Dcifs_attr_001_pos.ksh44 # 3. Grant user has write_attributes permission or
133 # Grant the ace of write_attributes to the given user
149 # Only grant the user explicitly while it's not root neither owner.
/freebsd/sys/xen/xenbus/
H A Dxenbusvar.h125 * Grant access to the given ring_mfn to the peer of the given device.
128 * \param ring_mfn The guest machine page number of the page to grant
130 * \param refp[out] The grant reference for the page.
/freebsd/sys/contrib/openzfs/
H A DLICENSE36 1.8. "Licensable" means having the right to grant, to the maximum
37 extent possible, whether at the time of the initial grant or
80 2.1. The Initial Developer Grant.
111 2.2. Contributor Grant.
171 You have sufficient rights to grant the rights conveyed by this
/freebsd/sys/cddl/contrib/opensolaris/
H A DOPENSOLARIS.LICENSE36 1.8. "Licensable" means having the right to grant, to the maximum
37 extent possible, whether at the time of the initial grant or
80 2.1. The Initial Developer Grant.
111 2.2. Contributor Grant.
171 You have sufficient rights to grant the rights conveyed by this
/freebsd/cddl/contrib/opensolaris/
H A DOPENSOLARIS.LICENSE36 1.8. "Licensable" means having the right to grant, to the maximum
37 extent possible, whether at the time of the initial grant or
80 2.1. The Initial Developer Grant.
111 2.2. Contributor Grant.
171 You have sufficient rights to grant the rights conveyed by this
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-pxa-pci-ce4100.txt10 Grant Likely recommended to use the ranges property to map the PCI-Bar
42 /* as described by Grant, the first number in the group of
/freebsd/sys/contrib/openzfs/module/icp/asm-x86_64/modes/
H A DTHIRDPARTYLICENSE.openssl67 2. Grant of Copyright License. Subject to the terms and conditions of
74 3. Grant of Patent License. Subject to the terms and conditions of
139 6. Trademarks. This License does not grant permission to use the trade
/freebsd/crypto/openssl/
H A DLICENSE.txt67 2. Grant of Copyright License. Subject to the terms and conditions of
74 3. Grant of Patent License. Subject to the terms and conditions of
139 6. Trademarks. This License does not grant permission to use the trade

12345678910>>...18