Lines Matching full:grant
69 /* External tools reserve first few grant table entries. */
88 /*This is a structure of function pointers for grant table*/
91 * Version of the grant interface.
95 * Grant refs per grant frame.
99 * Mapping a list of frames for storing grant entries. Frames parameter
100 * is used to store grant table address when grant table being setup,
101 * nr_gframes is the number of frames to map grant table. Returning
106 * Release a list of frames which are mapped in map_frames for grant
111 * Introducing a valid entry into the grant table, granting the frame of
112 * this grant entry to domain for accessing or transfering. Ref
113 * parameter is reference of this introduced grant entry, domid is id of
115 * status of the grant entry to be updated.
120 * Stop granting a grant entry to domain for accessing. Ref parameter is
121 * reference of a grant entry whose grant access will be stopped,
122 * readonly is not in use in this function. If the grant entry is
124 * directly and don't tear down the grant access. Otherwise, stop grant
129 * Stop granting a grant entry to domain for transfer. Ref parameter is
130 * reference of a grant entry whose grant transfer will be stopped. If
131 * tranfer has not started, just reclaim the grant entry and return
137 * Read the frame number related to a given grant reference.
149 /* This reflects status of grant entries, so act as a global value. */
231 * Introducing a valid entry into the grant table:
259 * Public grant-issuing interface functions
487 * If a transfer is not even yet started, try to reclaim the grant in gnttab_end_foreign_transfer_ref_v1()
518 * If a transfer is not even yet started, try to reclaim the grant in gnttab_end_foreign_transfer_ref_v2()
803 * gnttab_alloc_pages - alloc pages suitable for grant mapping into
975 * gnttab_dma_alloc_pages - alloc DMAable pages suitable for grant mapping into
1069 /* Handling of paged out grant targets (GNTST_eagain) */
1084 pr_err("%s: %s eagain grant\n", func, current->comm); in gnttab_retry_eagain_gop()
1386 pr_warn("grant table add_to_physmap failed, err=%d\n", in gnttab_map()
1481 pr_info("Grant tables using version %d layout\n", in gnttab_request_version()
1525 pr_warn_ratelimited("xen/grant-table: max_grant_frames reached" in gnttab_expand()
1553 * grant reference free list on the current hypervisor. in gnttab_init()
1593 printk("Grant table initialized\n"); in gnttab_init()
1609 /* Delay grant-table initialization in the PV on HVM case */ in __gnttab_init()