Home
last modified time | relevance | path

Searched refs:attachment (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
Dheap-helpers.c94 struct dma_buf_attachment *attachment) in dma_heap_attach() argument
113 a->dev = attachment->dev; in dma_heap_attach()
116 attachment->priv = a; in dma_heap_attach()
126 struct dma_buf_attachment *attachment) in dma_heap_detach() argument
128 struct dma_heaps_attachment *a = attachment->priv; in dma_heap_detach()
140 struct sg_table *dma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in dma_heap_map_dma_buf() argument
143 struct dma_heaps_attachment *a = attachment->priv; in dma_heap_map_dma_buf()
147 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in dma_heap_map_dma_buf()
153 static void dma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in dma_heap_unmap_dma_buf() argument
157 dma_unmap_sgtable(attachment->dev, table, direction, 0); in dma_heap_unmap_dma_buf()
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/
Dbpftool-perf.rst29 List all raw_tracepoint, tracepoint, kprobe attachment in the system.
32 followed by bpf program id, attachment information, and attachment point.
33 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
34 The attachment point for k[ret]probe is either symbol name and offset,
36 The attachment point for u[ret]probe is the file name and the file offset.
Dbpftool-gen.rst101 programs of types supported by libbpf for auto-attachment
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Ddmabuf-cache.c67 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map() local
95 attachment = dma_buf_attach(dmabuf, dev); in tegra_vde_dmabuf_cache_map()
96 if (IS_ERR(attachment)) { in tegra_vde_dmabuf_cache_map()
98 err = PTR_ERR(attachment); in tegra_vde_dmabuf_cache_map()
102 sgt = dma_buf_map_attachment(attachment, dma_dir); in tegra_vde_dmabuf_cache_map()
139 entry->a = attachment; in tegra_vde_dmabuf_cache_map()
152 dma_buf_unmap_attachment(attachment, sgt, dma_dir); in tegra_vde_dmabuf_cache_map()
154 dma_buf_detach(dmabuf, attachment); in tegra_vde_dmabuf_cache_map()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dmock_dmabuf.c9 static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, in mock_map_dma_buf() argument
12 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); in mock_map_dma_buf()
31 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
44 static void mock_unmap_dma_buf(struct dma_buf_attachment *attachment, in mock_unmap_dma_buf() argument
48 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_dmabuf.c20 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf() argument
23 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_map_dma_buf()
51 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf()
67 static void i915_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_unmap_dma_buf() argument
71 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_unmap_dma_buf()
73 dma_unmap_sgtable(attachment->dev, sg, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_unmap_dma_buf()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c19 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf() argument
22 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_map_dma_buf()
56 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf() argument
59 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion.c182 struct dma_buf_attachment *attachment) in ion_dma_buf_attach() argument
199 a->dev = attachment->dev; in ion_dma_buf_attach()
202 attachment->priv = a; in ion_dma_buf_attach()
212 struct dma_buf_attachment *attachment) in ion_dma_buf_detach() argument
214 struct ion_dma_buf_attachment *a = attachment->priv; in ion_dma_buf_detach()
225 static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, in ion_map_dma_buf() argument
228 struct ion_dma_buf_attachment *a = attachment->priv; in ion_map_dma_buf()
234 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in ion_map_dma_buf()
241 static void ion_unmap_dma_buf(struct dma_buf_attachment *attachment, in ion_unmap_dma_buf() argument
245 dma_unmap_sgtable(attachment->dev, table, direction, 0); in ion_unmap_dma_buf()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch709 + struct dma_buf_attachment *attachment)
728 + a->dev = attachment->dev;
732 + attachment->priv = a;
742 + struct dma_buf_attachment *attachment)
745 + struct dma_heap_attachment *a = attachment->priv;
755 +static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment,
761 + struct dma_heap_attachment *a = attachment->priv;
763 + int attrs = attachment->dma_map_attrs;
766 + ret = dma_map_sgtable(attachment->dev, table, direction, attrs);
773 +static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment,
[all …]
/kernel/linux/linux-5.10/net/xfrm/
DKconfig67 where mobile nodes change their attachment point to the Internet.
131 change their attachment point to the Internet. Detail
/kernel/linux/linux-5.10/Documentation/bpf/
Dmap_cgroup_storage.rst130 Prior to Linux 5.9, the lifetime of a storage is precisely per-attachment, and
146 the old storage is reused for the new attachment. If the map is attach type
160 APIs to read or update the storage for a given attachment. For Linux 5.9
Dbpf_lsm.rst119 The LSM allows attachment of eBPF programs as LSM hooks using :manpage:`bpf(2)`
127 ``my_prog__attach`` for attachment and ``my_prog__destroy`` for cleaning up.
Dprog_sk_lookup.rst38 netns FD as attachment ``target_fd``.
/kernel/linux/linux-5.10/drivers/misc/
Dfastrpc.c527 fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, in fastrpc_map_dma_buf() argument
530 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_map_dma_buf()
536 ret = dma_map_sgtable(attachment->dev, table, dir, 0); in fastrpc_map_dma_buf()
557 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_attach() argument
575 a->dev = attachment->dev; in fastrpc_dma_buf_attach()
577 attachment->priv = a; in fastrpc_dma_buf_attach()
587 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_detatch() argument
589 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_dma_buf_detatch()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c854 struct dma_buf_attachment *attachment; in amdgpu_debugfs_gem_bo_info() local
881 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_debugfs_gem_bo_info()
883 if (attachment) in amdgpu_debugfs_gem_bo_info()
885 attachment->peer2peer ? " P2P" : ""); in amdgpu_debugfs_gem_bo_info()
/kernel/linux/linux-5.10/drivers/sbus/char/
DKconfig29 events, and can also notice the attachment/detachment of external
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-firmware-ofw11 have no attachment to the system tree and will appear in a
/kernel/linux/linux-5.10/Documentation/networking/device_drivers/fddi/
Ddefza.rst12 model 200 workstation. The board is a single attachment station and
/kernel/linux/linux-5.10/Documentation/admin-guide/LSM/
DYama.rst31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
/kernel/linux/linux-5.10/Documentation/process/
Demail-clients.rst157 them as text, right click on the attachment and select :menuselection:`properties`,
158 and highlight :menuselection:`Suggest automatic display` to make the attachment
Dsubmitting-patches.rst299 Do not attach the patch as a MIME attachment, compressed or not.
301 attachment as plain text, making it impossible to comment on your
302 code. A MIME attachment also takes Linus a bit more time to process,
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dfimc.rst31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0017_linux_drivers_dma_dmabuf.patch18 + struct dma_buf_attachment *attachment = NULL;
31 + attachment = dma_buf_attach(dmabuf, &dev);
32 + if (!attachment || IS_ERR(attachment)) {
36 + sgt = dma_buf_map_attachment(attachment, DMA_BIDIRECTIONAL);
39 + dma_buf_unmap_attachment(attachment, sgt,
42 + dma_buf_detach(dmabuf, attachment);
/kernel/linux/linux-5.10/Documentation/s390/
D3270.rst5 This file describes the driver that supports local channel attachment
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Dcgroups.rst260 The attachment of each task, automatically inherited at fork by any
640 post-attachment activity that requires memory allocations or blocking.

12