| /linux-6.15/drivers/xen/ |
| H 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 …]
|
| H 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
|
| H 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.
|
| H 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-6.15/Documentation/devicetree/bindings/iommu/ |
| H 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-6.15/Documentation/ABI/testing/ |
| H 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
|
| H 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.
|
| H 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
|
| H A D | sysfs-firmware-ofw | 3 Contact: Grant Likely <grant[email protected]>, [email protected]
|
| /linux-6.15/arch/arm/xen/ |
| H A D | Makefile | 2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
|
| /linux-6.15/arch/arm64/xen/ |
| H A D | Makefile | 2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
|
| /linux-6.15/drivers/block/ |
| H 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() 1209 struct grant *persistent_gnt, *n; in blkif_free_ring() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/arm/ |
| H 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-6.15/Documentation/userspace-api/ |
| H 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-6.15/fs/ceph/ |
| H A D | caps.c | 3487 struct ceph_mds_caps *grant, in handle_cap_grant() argument 3495 int seq = le32_to_cpu(grant->seq); in handle_cap_grant() 3496 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant() 3498 u64 size = le64_to_cpu(grant->size); in handle_cap_grant() 3499 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant() 3573 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant() 3606 grant->xattr_len) { in handle_cap_grant() 3607 int len = le32_to_cpu(grant->xattr_len); in handle_cap_grant() 3629 le32_to_cpu(grant->time_warp_seq), in handle_cap_grant() 3656 le32_to_cpu(grant->truncate_seq), in handle_cap_grant() [all …]
|
| /linux-6.15/arch/x86/xen/ |
| H A D | Makefile | 17 obj-y += grant-table.o
|
| /linux-6.15/Documentation/devicetree/bindings/net/can/ |
| H A D | mpc5xxx-mscan.txt | 5 Grant Likely <grant[email protected]>
|
| /linux-6.15/net/sunrpc/xprtrdma/ |
| H 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-6.15/arch/powerpc/boot/dts/ |
| H A D | media5200.dts | 6 * Grant Likely <grant[email protected]>
|
| H A D | lite5200b.dts | 6 * Grant Likely <grant[email protected]>
|
| H A D | amigaone.dts | 67 min-grant = <0>;
|
| /linux-6.15/Documentation/devicetree/bindings/hwmon/pmbus/ |
| H A D | isil,isl68137.yaml | 11 - Grant Peltier <grant[email protected]>
|
| /linux-6.15/Documentation/security/ |
| H A D | landlock.rst | 78 hierarchy doesn't grant that access right. The following sequences of 120 grant access to an object, at least one rule of each layer must allow the
|
| /linux-6.15/fs/ocfs2/dlm/ |
| H A D | dlmconvert.c | 166 goto grant; in __dlmconvert_master() 187 grant: in __dlmconvert_master()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
| H A D | mcu.c | 145 struct mt7921_roc_grant_tlv *grant; in mt7921_mcu_uni_roc_event() local 150 grant = (struct mt7921_roc_grant_tlv *)(rxd->tlv + 4); in mt7921_mcu_uni_roc_event() 153 WARN_ON_ONCE((le16_to_cpu(grant->tag) != UNI_EVENT_ROC_GRANT)); in mt7921_mcu_uni_roc_event() 155 if (grant->reqtype == MT7921_ROC_REQ_ROC) in mt7921_mcu_uni_roc_event() 160 duration = le32_to_cpu(grant->max_interval); in mt7921_mcu_uni_roc_event()
|