Lines Matching +full:non +full:- +full:shared
2 * Copyright (c) 2021-2022 EPAM Systems
4 * SPDX-License-Identifier: Apache-2.0
14 * @param domid - id of the domain you sharing gref with
15 * @param gfn - guest frame number of page, where grant will be located
16 * @param readonly - permit readonly access to shared grant
17 * @return - gref assigned to shared grant
23 * Finished access for previously shared grant. Does NOT
27 * @param gref - grant reference that need to be closed
28 * @return - zero on success, non-zero on failure
37 * @param map - double pointer to memory, where grant will be allocated
38 * @param readonly - permit readonly access to allocated grant
39 * @return - grant ref on success or negative errno on failure
48 * @return - pointer to page start address, that can be used as host_addr
57 * @param page_addr - pointer to start address of used page.
64 * @param map_ops - array of prepared gnttab_map_grant_ref's for mapping
65 * @param count - number of grefs in map_ops array
66 * @return - zero on success or negative errno on failure
67 * also per-page status will be set in map_ops[i].status (GNTST_*)
69 * To map foreign frame you need 4K-aligned 4K memory page, which will be
70 * used as host_addr for grant mapping - it should be acquired by gnttab_get_page()
79 * @param unmap_ops - array of prepared gnttab_map_grant_ref's for unmapping
80 * @param count - number of grefs in unmap_ops array
81 * @return - @count on success or negative errno on failure
82 * also per-page status will be set in unmap_ops[i].status (GNTST_*)
89 * @param status - negative GNTST_* code, that needs to be converted
90 * @return - constant pointer to text message, associated with @status