| /linux/drivers/xen/ |
| A D | grant-dma-ops.c | 33 static inline dma_addr_t grant_to_dma(grant_ref_t grant) in grant_to_dma() argument 85 grant_ref_t grant; in xen_grant_dma_alloc() local 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() 140 gnttab_free_grant_reference_seq(grant, n_pages); in xen_grant_dma_free() 175 grant_ref_t grant; in xen_grant_dma_map_page() local 197 dma_handle = grant_to_dma(grant) + dma_offset; in xen_grant_dma_map_page() 209 grant_ref_t grant; in xen_grant_dma_unmap_page() local 221 grant = dma_to_grant(dma_handle); in xen_grant_dma_unmap_page() [all …]
|
| A 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
|
| A 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.
|
| A D | xen-scsiback.c | 440 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 …]
|
| /linux/Documentation/devicetree/bindings/iommu/ |
| A 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/Documentation/ABI/testing/ |
| A 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
|
| A D | sysfs-driver-xen-blkback | 24 How long a persistent grant is allowed to remain 36 cache any page not backed by a grant mapping.
|
| A D | sysfs-module | 68 Description: Read and write number of grant entries to attempt to free per iteration. 71 interface for controlling the rate of deferred grant reclaim
|
| A D | sysfs-firmware-ofw | 3 Contact: Grant Likely <grant.likely@arm.com>, devicetree@vger.kernel.org
|
| /linux/arch/arm/xen/ |
| A D | Makefile | 2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
|
| /linux/arch/arm64/xen/ |
| A D | Makefile | 2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
|
| /linux/drivers/block/ |
| A D | xen-blkfront.c | 87 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() 352 struct grant *gnt_list_entry; in get_free_grant() 374 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant() 378 struct grant *gnt_list_entry = get_free_grant(rinfo); in get_grant() 402 struct grant *gnt_list_entry = get_free_grant(rinfo); in get_indirect_grant() 599 struct grant *gnt_list_entry; in blkif_setup_rw_req_grant() 1210 struct grant *persistent_gnt, *n; in blkif_free_ring() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/ |
| A D | xen.txt | 13 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
|
| /linux/Documentation/userspace-api/ |
| A D | no_new_privs.rst | 5 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
|
| /linux/fs/ceph/ |
| A D | caps.c | 3501 struct ceph_mds_caps *grant, in handle_cap_grant() argument 3509 int seq = le32_to_cpu(grant->seq); in handle_cap_grant() 3510 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant() 3512 u64 size = le64_to_cpu(grant->size); in handle_cap_grant() 3513 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant() 3587 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant() 3620 grant->xattr_len) { in handle_cap_grant() 3621 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant() 3643 le32_to_cpu(grant->time_warp_seq), in handle_cap_grant() 3670 le32_to_cpu(grant->truncate_seq), in handle_cap_grant() [all …]
|
| /linux/arch/x86/xen/ |
| A D | Makefile | 17 obj-y += grant-table.o
|
| /linux/Documentation/devicetree/bindings/net/can/ |
| A D | mpc5xxx-mscan.txt | 5 Grant Likely <grant.likely@secretlab.ca>
|
| /linux/net/sunrpc/xprtrdma/ |
| A D | rpc_rdma.c | 989 u32 grant) in __rpcrdma_update_cwnd_locked() argument 991 buf->rb_credits = grant; in __rpcrdma_update_cwnd_locked() 992 xprt->cwnd = grant << RPC_CWNDSHIFT; in __rpcrdma_update_cwnd_locked() 995 static void rpcrdma_update_cwnd(struct rpcrdma_xprt *r_xprt, u32 grant) in rpcrdma_update_cwnd() argument 1000 __rpcrdma_update_cwnd_locked(xprt, &r_xprt->rx_buf, grant); in rpcrdma_update_cwnd()
|
| /linux/Documentation/security/ |
| A D | landlock.rst | 74 hierarchy doesn't grant that access right. The following sequences of 116 grant access to an object, at least one rule of each layer must allow the
|
| /linux/arch/powerpc/boot/dts/ |
| A D | media5200.dts | 6 * Grant Likely <grant.likely@secretlab.ca>
|
| A D | lite5200b.dts | 6 * Grant Likely <grant.likely@secretlab.ca>
|
| A D | amigaone.dts | 67 min-grant = <0>;
|
| /linux/fs/ocfs2/dlm/ |
| A D | dlmconvert.c | 166 goto grant; in __dlmconvert_master() 187 grant: in __dlmconvert_master()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
| A D | mcu.c | 139 struct mt7921_roc_grant_tlv *grant; in mt7921_mcu_uni_roc_event() local 144 grant = (struct mt7921_roc_grant_tlv *)(rxd->tlv + 4); in mt7921_mcu_uni_roc_event() 147 WARN_ON_ONCE((le16_to_cpu(grant->tag) != UNI_EVENT_ROC_GRANT)); in mt7921_mcu_uni_roc_event() 149 if (grant->reqtype == MT7921_ROC_REQ_ROC) in mt7921_mcu_uni_roc_event() 154 duration = le32_to_cpu(grant->max_interval); in mt7921_mcu_uni_roc_event()
|
| /linux/Documentation/locking/ |
| A D | locktypes.rst | 150 Because an rw_semaphore writer cannot grant its priority to multiple 153 can grant their priority to a writer, a preempted low-priority writer will 313 - Because an rwlock_t writer cannot grant its priority to multiple 316 can grant their priority to a writer, a preempted low-priority writer
|