Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gpuvm.c600 switch (attachment->type) { in kfd_mem_dmamap_attachment()
697 switch (attachment->type) { in kfd_mem_dmaunmap_attachment()
790 attachment[i] = kzalloc(sizeof(*attachment[i]), GFP_KERNEL); in kfd_mem_attach()
857 attachment[i]->va = va; in kfd_mem_attach()
859 attachment[i]->adev = adev; in kfd_mem_attach()
869 if (!attachment[i]) in kfd_mem_attach()
871 if (attachment[i]->bo_va) { in kfd_mem_attach()
879 kfree(attachment[i]); in kfd_mem_attach()
889 attachment->va, attachment); in kfd_mem_detach()
890 amdgpu_vm_bo_del(attachment->adev, attachment->bo_va); in kfd_mem_detach()
[all …]
A Damdgpu_object.c1544 struct dma_buf_attachment *attachment; in amdgpu_bo_print_info() local
1574 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_bo_print_info()
1576 if (attachment) in amdgpu_bo_print_info()
/linux-6.3-rc2/tools/bpf/bpftool/Documentation/
A Dbpftool-perf.rst33 List all raw_tracepoint, tracepoint, kprobe attachment in the system.
36 followed by bpf program id, attachment information, and attachment point.
37 The attachment point for raw_tracepoint/tracepoint is the trace probe name.
38 The attachment point for k[ret]probe is either symbol name and offset,
40 The attachment point for u[ret]probe is the file name and the file offset.
/linux-6.3-rc2/drivers/media/platform/nvidia/tegra-vde/
A Ddmabuf-cache.c69 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map() local
98 attachment = dma_buf_attach(dmabuf, dev); in tegra_vde_dmabuf_cache_map()
99 if (IS_ERR(attachment)) { in tegra_vde_dmabuf_cache_map()
101 err = PTR_ERR(attachment); in tegra_vde_dmabuf_cache_map()
105 sgt = dma_buf_map_attachment_unlocked(attachment, dma_dir); in tegra_vde_dmabuf_cache_map()
142 entry->a = attachment; in tegra_vde_dmabuf_cache_map()
155 dma_buf_unmap_attachment_unlocked(attachment, sgt, dma_dir); in tegra_vde_dmabuf_cache_map()
157 dma_buf_detach(dmabuf, attachment); in tegra_vde_dmabuf_cache_map()
/linux-6.3-rc2/drivers/dma-buf/heaps/
A Dcma_heap.c52 struct dma_buf_attachment *attachment) in cma_heap_attach() argument
71 a->dev = attachment->dev; in cma_heap_attach()
75 attachment->priv = a; in cma_heap_attach()
85 struct dma_buf_attachment *attachment) in cma_heap_detach() argument
88 struct dma_heap_attachment *a = attachment->priv; in cma_heap_detach()
98 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_map_dma_buf() argument
101 struct dma_heap_attachment *a = attachment->priv; in cma_heap_map_dma_buf()
105 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
112 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_unmap_dma_buf() argument
116 struct dma_heap_attachment *a = attachment->priv; in cma_heap_unmap_dma_buf()
[all …]
A Dsystem_heap.c85 struct dma_buf_attachment *attachment) in system_heap_attach() argument
102 a->dev = attachment->dev; in system_heap_attach()
106 attachment->priv = a; in system_heap_attach()
116 struct dma_buf_attachment *attachment) in system_heap_detach() argument
119 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach()
130 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument
133 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf()
137 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
145 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument
149 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/selftests/
A 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()
/linux-6.3-rc2/drivers/gpu/drm/omapdrm/
A Domap_gem_dmabuf.c21 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf() argument
24 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_map_dma_buf()
33 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf() argument
36 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
/linux-6.3-rc2/Documentation/devicetree/bindings/ata/
A Dpata-common.yaml7 title: Common Properties for Parallel AT attachment (PATA) controllers
14 ATA (PATA, also known as IDE) AT attachment storage devices.
A Dsata-common.yaml7 title: Common Properties for Serial AT attachment (SATA) controllers
14 AT attachment (SATA) storage devices. It doesn't constitute a device tree
/linux-6.3-rc2/net/xfrm/
A DKconfig67 where mobile nodes change their attachment point to the Internet.
131 change their attachment point to the Internet. Detail
/linux-6.3-rc2/Documentation/bpf/
A 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
A Dprog_lsm.rst120 The LSM allows attachment of eBPF programs as LSM hooks using :manpage:`bpf(2)`
128 ``my_prog__attach`` for attachment and ``my_prog__destroy`` for cleaning up.
A Dprog_sk_lookup.rst38 netns FD as attachment ``target_fd``.
/linux-6.3-rc2/drivers/accel/habanalabs/common/
A Dmemory.c1700 struct dma_buf_attachment *attachment) in hl_dmabuf_attach() argument
1709 rc = pci_p2pdma_distance(hdev->pdev, attachment->dev, true); in hl_dmabuf_attach()
1712 attachment->peer2peer = false; in hl_dmabuf_attach()
1716 static struct sg_table *hl_map_dmabuf(struct dma_buf_attachment *attachment, in hl_map_dmabuf() argument
1719 struct dma_buf *dma_buf = attachment->dmabuf; in hl_map_dmabuf()
1729 if (!attachment->peer2peer) { in hl_map_dmabuf()
1740 attachment->dev, in hl_map_dmabuf()
1748 attachment->dev, in hl_map_dmabuf()
1757 static void hl_unmap_dmabuf(struct dma_buf_attachment *attachment, in hl_unmap_dmabuf() argument
1772 dma_unmap_resource(attachment->dev, sg_dma_address(sg), in hl_unmap_dmabuf()
/linux-6.3-rc2/drivers/misc/
A Dfastrpc.c649 fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, in fastrpc_map_dma_buf() argument
652 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_map_dma_buf()
658 ret = dma_map_sgtable(attachment->dev, table, dir, 0); in fastrpc_map_dma_buf()
679 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_attach() argument
697 a->dev = attachment->dev; in fastrpc_dma_buf_attach()
699 attachment->priv = a; in fastrpc_dma_buf_attach()
709 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_detatch() argument
711 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_dma_buf_detatch()
/linux-6.3-rc2/drivers/sbus/char/
A DKconfig29 events, and can also notice the attachment/detachment of external
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-firmware-ofw11 have no attachment to the system tree and will appear in a
/linux-6.3-rc2/tools/testing/selftests/bpf/
A DDENYLIST.aarch6451 ringbuf # skel_attach skeleton attachment failed: -1
/linux-6.3-rc2/Documentation/networking/device_drivers/fddi/
A Ddefza.rst12 model 200 workstation. The board is a single attachment station and
/linux-6.3-rc2/Documentation/devicetree/bindings/leds/
A Dleds-qcom-lpg.yaml57 - description: flags for the attachment
/linux-6.3-rc2/Documentation/bpf/libbpf/
A Dprogram_types.rst200 .. [#lsm] The ``lsm`` attachment format is ``lsm[.s]/<hook>``.
/linux-6.3-rc2/Documentation/admin-guide/LSM/
A DYama.rst31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
/linux-6.3-rc2/Documentation/admin-guide/media/
A Dfimc.rst31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC
/linux-6.3-rc2/Documentation/process/
A 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

Completed in 32 milliseconds

12