Home
last modified time | relevance | path

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

123

/linux/drivers/xen/
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 …]
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-xfs23 The current state of the log reserve grant head. It
33 The current state of the log write grant head. It
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
H A Dsysfs-firmware-ofw3 Contact: Grant Likely <grant.likely@arm.com>, devicetree@vger.kernel.org
/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 …]
/linux/arch/arm/xen/
H A DMakefile2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
/linux/arch/arm64/xen/
H A DMakefile2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
/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
/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
/linux/fs/ceph/
H A Dcaps.c3487 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()
3558 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3573 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3580 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3581 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3600 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
[all …]
/linux/arch/x86/xen/
H A DMakefile17 obj-y += grant-table.o
/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c989 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/devicetree/bindings/net/can/
H A Dmpc5xxx-mscan.txt5 Grant Likely <grant.likely@secretlab.ca>
/linux/Documentation/security/
H A Dlandlock.rst74 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/
H A Dmedia5200.dts6 * Grant Likely <grant.likely@secretlab.ca>
H A Dlite5200b.dts6 * Grant Likely <grant.likely@secretlab.ca>
H A Damigaone.dts67 min-grant = <0>;
/linux/fs/ocfs2/dlm/
H A Ddlmconvert.c166 goto grant; in __dlmconvert_master()
187 grant: in __dlmconvert_master()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.c139 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/
H A Dlocktypes.rst150 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
/linux/LICENSES/dual/
H A Dcopyleft-next-0.3.122 Subject to the terms of this License, I grant You:
32 This License does not grant any rights in My name, trademarks, service
102 Copyleft-Next Project, then the license I grant You under section 1 is no
/linux/fs/xfs/
H A Dxfs_sysfs.c440 atomic64_read(&to_xlog(kobject)->l_reserve_head.grant)); in reserve_grant_head_bytes_show()
450 atomic64_read(&to_xlog(kobject)->l_write_head.grant)); in write_grant_head_bytes_show()

123