Home
last modified time | relevance | path

Searched refs:grant (Results 1 – 25 of 51) 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"
146 bool "Add support for dma-buf grant access device driver extension"
151 dma-buf implementation. With this extension grant references to
153 use and grant references coming from a foreign domain can be
157 tristate "User-space grant reference allocator driver"
166 bool "Allow allocating DMA capable buffers with grant reference module"
169 Extends grant table module API to allow allocating DMA capable
170 buffers and mapping foreign grant references on top of it.
342 memory regions, including grant maps and foreign pages. This avoids
370 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
558 grant = pending_req->grant_handles + nr_sgl; in scsiback_gnttab_data_map()
562 pg, grant, nr_segments, flags); in scsiback_gnttab_data_map()
572 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-module70 Description: Read and write number of grant entries to attempt to free per iteration.
73 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_obj(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/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/arch/arm64/xen/
H A DMakefile2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
/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.c3488 struct ceph_mds_caps *grant, in handle_cap_grant() argument
3496 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3497 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3499 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3500 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3559 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3574 umode_t mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3581 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3582 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3601 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/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/Documentation/security/
H A Dlandlock.rst78 hierarchy doesn't grant that access right. The following sequences of
126 grant access to an object, at least one rule of each layer must allow the
/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_log.c88 atomic64_sub(bytes, &head->grant); in xlog_grant_sub_space()
96 atomic64_add(bytes, &head->grant); in xlog_grant_add_space()
103 atomic64_set(&head->grant, 0); in xlog_grant_head_init()
137 atomic64_read(&head->grant); in xlog_grant_space_left()
3165 atomic64_read(&log->l_write_head.grant), in xlog_verify_dump_tail()
3166 atomic64_read(&log->l_reserve_head.grant), in xlog_verify_dump_tail()
/linux/Documentation/translations/zh_CN/devicetree/
H A Dusage-model.rst19 :作者: Grant Likely <grant.likely@secretlab.ca>
/linux/Documentation/arch/arm/nwfpe/
H A Dnwfpe.rst64 provided by the National Science Foundation under grant MIP-9311980. The

123