Home
last modified time | relevance | path

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

123

/Linux-v5.10/Documentation/ABI/testing/
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
Dsysfs-driver-xen-blkback24 How long a persistent grant is allowed to remain
36 cache any page not backed by a grant mapping.
Dsysfs-firmware-ofw3 Contact: Grant Likely <grant.likely@arm.com>, devicetree@vger.kernel.org
/Linux-v5.10/drivers/xen/
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.
334 memory regions, including grant maps and foreign pages. This avoids
Dxen-scsiback.c381 struct page **pg, grant_handle_t *grant, int cnt) in scsiback_gnttab_data_map_batch() argument
398 grant[i] = map[i].handle; in scsiback_gnttab_data_map_batch()
405 grant_handle_t *grant, int cnt, u32 flags) in scsiback_gnttab_data_map_list() argument
422 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list()
424 grant += mapcount; in scsiback_gnttab_data_map_list()
430 err = scsiback_gnttab_data_map_batch(map, pg, grant, mapcount); in scsiback_gnttab_data_map_list()
446 grant_handle_t *grant; in scsiback_gnttab_data_map() local
500 grant = pending_req->grant_handles + nr_sgl; in scsiback_gnttab_data_map()
504 pg, grant, nr_segments, flags); in scsiback_gnttab_data_map()
514 pg, grant, n_segs, flags); in scsiback_gnttab_data_map()
[all …]
DMakefile3 obj-y += grant-table.o features.o balloon.o manage.o time.o
/Linux-v5.10/arch/arm/xen/
DMakefile2 obj-y := enlighten.o hypercall.o grant-table.o p2m.o mm.o
/Linux-v5.10/arch/arm64/xen/
DMakefile2 xen-arm-y += $(addprefix ../../arm/xen/, enlighten.o grant-table.o p2m.o mm.o)
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Dxen.txt11 memory where the grant table should be mapped to, using an
13 the whole grant table (it is larger or equal to gnttab_max_grant_frames()).
/Linux-v5.10/drivers/block/
Dxen-blkfront.c85 struct grant { struct
101 struct grant **grants_used; argument
102 struct grant **indirect_grants;
303 struct grant *gnt_list_entry, *n; in fill_grant_buffer()
307 gnt_list_entry = kzalloc(sizeof(struct grant), GFP_NOIO); in fill_grant_buffer()
340 static struct grant *get_free_grant(struct blkfront_ring_info *rinfo) in get_free_grant()
342 struct grant *gnt_list_entry; in get_free_grant()
345 gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, in get_free_grant()
355 static inline void grant_foreign_access(const struct grant *gnt_list_entry, in grant_foreign_access()
364 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant()
[all …]
/Linux-v5.10/fs/xfs/
Dxfs_log.c153 xlog_assign_grant_head(&head->grant, 1, 0); in xlog_grant_head_init()
263 } while (xlog_space_left(log, &head->grant) < need_bytes); in xlog_grant_head_wait()
308 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
390 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_regrant()
449 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes); in xfs_log_reserve()
450 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_reserve()
1008 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1017 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1499 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
1843 xlog_grant_add_space(log, &log->l_reserve_head.grant, roundoff); in xlog_sync()
[all …]
Dxfs_sysfs.c357 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
371 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes); in write_grant_head_show()
Dxfs_log_priv.h375 atomic64_t grant; member
/Linux-v5.10/Documentation/userspace-api/
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-v5.10/fs/ceph/
Dcaps.c3249 struct ceph_mds_caps *grant, in handle_cap_grant() argument
3256 int seq = le32_to_cpu(grant->seq); in handle_cap_grant()
3257 int newcaps = le32_to_cpu(grant->caps); in handle_cap_grant()
3259 u64 size = le64_to_cpu(grant->size); in handle_cap_grant()
3260 u64 max_size = le64_to_cpu(grant->max_size); in handle_cap_grant()
3308 WARN_ON(cap->cap_id != le64_to_cpu(grant->cap_id)); in handle_cap_grant()
3323 inode->i_mode = le32_to_cpu(grant->mode); in handle_cap_grant()
3324 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid)); in handle_cap_grant()
3325 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid)); in handle_cap_grant()
3334 set_nlink(inode, le32_to_cpu(grant->nlink)); in handle_cap_grant()
[all …]
/Linux-v5.10/arch/x86/xen/
DMakefile18 obj-y += grant-table.o
/Linux-v5.10/Documentation/devicetree/bindings/net/can/
Dmpc5xxx-mscan.txt5 Grant Likely <grant.likely@secretlab.ca>
/Linux-v5.10/net/sunrpc/xprtrdma/
Drpc_rdma.c983 u32 grant) in __rpcrdma_update_cwnd_locked() argument
985 buf->rb_credits = grant; in __rpcrdma_update_cwnd_locked()
986 xprt->cwnd = grant << RPC_CWNDSHIFT; in __rpcrdma_update_cwnd_locked()
989 static void rpcrdma_update_cwnd(struct rpcrdma_xprt *r_xprt, u32 grant) in rpcrdma_update_cwnd() argument
994 __rpcrdma_update_cwnd_locked(xprt, &r_xprt->rx_buf, grant); in rpcrdma_update_cwnd()
/Linux-v5.10/Documentation/translations/zh_CN/
Dgpio.txt9 Maintainer: Grant Likely <grant.likely@secretlab.ca>
18 英文版维护者: Grant Likely <grant.likely@secretlab.ca>
/Linux-v5.10/arch/powerpc/boot/dts/
Dmedia5200.dts6 * Grant Likely <grant.likely@secretlab.ca>
Dlite5200b.dts6 * Grant Likely <grant.likely@secretlab.ca>
Damigaone.dts67 min-grant = <0>;
/Linux-v5.10/fs/ocfs2/dlm/
Ddlmconvert.c168 goto grant; in __dlmconvert_master()
189 grant: in __dlmconvert_master()
/Linux-v5.10/Documentation/locking/
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
316 - Because an rwlock_t writer cannot grant its priority to multiple
319 can grant their priority to a writer, a preempted low-priority writer
/Linux-v5.10/Documentation/arm/nwfpe/
Dnwfpe.rst64 provided by the National Science Foundation under grant MIP-9311980. The

123