Home
last modified time | relevance | path

Searched refs:grant (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/openbmc/linux/drivers/xen/
H A Dgrant-dma-ops.c33 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()
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
130 grant = dma_to_grant(dma_handle); in xen_grant_dma_free()
133 if (unlikely(!gnttab_end_foreign_access_ref(grant + i))) { in xen_grant_dma_free()
140 gnttab_free_grant_reference_seq(grant, n_pages); in xen_grant_dma_free()
[all …]
H A DMakefile3 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
H A DKconfig137 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 Dxen-scsiback.c440 struct page **pg, grant_handle_t *grant, int cnt) in scsiback_gnttab_data_map_batch() argument
457 grant[i] = map[i].handle; in scsiback_gnttab_data_map_batch()
464 grant_handle_t *grant, int cnt, u32 flags) in scsiback_gnttab_data_map_list() argument
481 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list()
483 grant += mapcount; in scsiback_gnttab_data_map_list()
489 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list()
505 grant_handle_t *grant; in scsiback_gnttab_data_map() local
559 grant = pending_req->grant_handles + nr_sgl; in scsiback_gnttab_data_map()
563 pg, grant, nr_segments, flags); in scsiback_gnttab_data_map()
573 pg, grant, n_segs, flags); in scsiback_gnttab_data_map()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-fs-xfs23 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
H A Dsysfs-driver-xen-blkback24 How long a persistent grant is allowed to remain
36 cache any page not backed by a grant mapping.
H A Dsysfs-module68 Description: Read and write number of grant entries to attempt to free per iteration.
71 interface for controlling the rate of deferred grant reclaim
/openbmc/qemu/hw/xen/
H A Dxen-mapcache.c192 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
459 MapCache *mc = grant ? mapcache_grants : mapcache; in xen_map_cache()
[all …]
/openbmc/linux/arch/arm/xen/
H A DMakefile2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
/openbmc/linux/fs/xfs/
H A Dxfs_log.c203 xlog_assign_grant_head(&head->grant, 1, 0); in xlog_grant_head_init()
313 } while (xlog_space_left(log, &head->grant) < need_bytes); in xlog_grant_head_wait()
358 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
435 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_regrant()
491 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes); in xfs_log_reserve()
492 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_reserve()
1152 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1161 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1697 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
2056 xlog_grant_add_space(log, &log->l_reserve_head.grant, roundoff); in xlog_sync()
[all …]
/openbmc/linux/arch/arm64/xen/
H A DMakefile2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c87 struct grant { struct
104 struct grant **grants_used; argument
105 struct grant **indirect_grants;
313 struct grant *gnt_list_entry, *n; in fill_grant_buffer()
317 gnt_list_entry = kzalloc(sizeof(struct grant), GFP_NOIO); in fill_grant_buffer()
350 static struct grant *get_free_grant(struct blkfront_ring_info *rinfo) in get_free_grant()
352 struct grant *gnt_list_entry; in get_free_grant()
355 gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, in get_free_grant()
365 static inline void grant_foreign_access(const struct grant *gnt_list_entry, in grant_foreign_access()
374 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant()
[all …]
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DSWL1 The authors hereby grant permission to use, copy, modify, distribute, and license this software and…
5 …252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Governmen…
H A DTCL3 The authors hereby grant permission to use, copy, modify, distribute, and license this software and…
9 …252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Governmen…
H A D3D-Slicer-1.038 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
H A DSchemeReport1 We intend this report to belong to the entire Scheme community, and so we grant permission
H A DHaskellReport6 The authors intend this Report to belong to the entire Haskell community, and so we grant permissio…
H A DCMU-Mach21 any improvements or extensions that they make and grant Carnegie Mellon
H A DEUPL-1.266 The grant of the rights mentioned above is subject to some restrictions and obligations imposed on …
89 Legal Protection: This Licence does not grant permission to use the trade names, trademarks, servic…
95 licensed to him/her and that he/she has the power and authority to grant the Licence.
97 licensed to him/her and that he/she has the power and authority to grant the Licence.
98 Each time You accept the Licence, the original Licensor and subsequent Contributors grant You a lic…
108 This disclaimer of warranty is an essential part of the Licence and a condition for the grant of an…
H A DEUPL-1.068 The grant of the rights mentioned above is subject to some restrictions and obligations
90 Legal Protection: This Licence does not grant permission to use the trade names, trademarks,
95 owned by him/her or licensed to him/her and that he/she has the power and authority to grant
99 grant the Licence.
101 Contributors grant You a licence to their contributions to the Work, under the terms of this
110 …. This disclaimer of warranty is an essential part of the Licence and a condition for the grant of
H A DEUPL-1.175 The grant of the rights mentioned above is subject to some restrictions and obligations
102 Legal Protection: This Licence does not grant permission to use the trade names,
109 and authority to grant the Licence.
112 authority to grant the Licence.
114 grant You a licence to their contributions to the Work, under the terms of this
126 grant of any rights to the Work.
/openbmc/linux/Documentation/devicetree/bindings/arm/
H A Dxen.txt13 Region 0 is reserved for mapping grant table, it must be always present.
14 The memory region is large enough to map the whole grant table (it is larger
/openbmc/linux/Documentation/userspace-api/
H A Dno_new_privs.rst5 The execve system call can grant a newly-started program privileges that
26 promises not to grant the privilege to do anything that could not have
/openbmc/linux/fs/ceph/
H A Dcaps.c3412 struct ceph_mds_caps *grant, in handle_cap_grant() argument
3419 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3420 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3422 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3423 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3479 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3494 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3501 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3502 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3519 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
[all …]
/openbmc/linux/arch/x86/xen/
H A DMakefile17 obj-y += grant-table.o

12345678910>>...15