Home
last modified time | relevance | path

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

12

/linux/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, or a
39 kernel virtual address. The attachment point for u[ret]probe is the file
/linux/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/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gpuvm.c702 switch (attachment->type) { in kfd_mem_dmamap_attachment()
798 switch (attachment->type) { in kfd_mem_dmaunmap_attachment()
904 attachment[i] = kzalloc(sizeof(*attachment[i]), GFP_KERNEL); in kfd_mem_attach()
977 attachment[i]->va = va; in kfd_mem_attach()
979 attachment[i]->adev = adev; in kfd_mem_attach()
989 if (!attachment[i]) in kfd_mem_attach()
991 if (attachment[i]->bo_va) { in kfd_mem_attach()
1000 kfree(attachment[i]); in kfd_mem_attach()
1010 attachment->va, attachment); in kfd_mem_detach()
1012 amdgpu_vm_bo_del(attachment->adev, attachment->bo_va); in kfd_mem_detach()
[all …]
A Damdgpu_object.c1482 struct dma_buf_attachment *attachment; in amdgpu_bo_print_info() local
1537 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_bo_print_info()
1539 if (attachment) in amdgpu_bo_print_info()
/linux/drivers/dma-buf/heaps/
A Dcma_heap.c51 struct dma_buf_attachment *attachment) in cma_heap_attach() argument
70 a->dev = attachment->dev; in cma_heap_attach()
74 attachment->priv = a; in cma_heap_attach()
84 struct dma_buf_attachment *attachment) in cma_heap_detach() argument
87 struct dma_heap_attachment *a = attachment->priv; in cma_heap_detach()
97 static struct sg_table *cma_heap_map_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_map_dma_buf() argument
100 struct dma_heap_attachment *a = attachment->priv; in cma_heap_map_dma_buf()
104 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in cma_heap_map_dma_buf()
111 static void cma_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in cma_heap_unmap_dma_buf() argument
115 struct dma_heap_attachment *a = attachment->priv; in cma_heap_unmap_dma_buf()
[all …]
A Dsystem_heap.c83 struct dma_buf_attachment *attachment) in system_heap_attach() argument
100 a->dev = attachment->dev; in system_heap_attach()
104 attachment->priv = a; in system_heap_attach()
114 struct dma_buf_attachment *attachment) in system_heap_detach() argument
117 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach()
128 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument
131 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf()
135 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf()
143 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument
147 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf()
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
A Dmock_dmabuf.c10 static struct sg_table *mock_map_dma_buf(struct dma_buf_attachment *attachment, in mock_map_dma_buf() argument
13 struct mock_dmabuf *mock = to_mock(attachment->dmabuf); in mock_map_dma_buf()
32 err = dma_map_sgtable(attachment->dev, st, dir, 0); in mock_map_dma_buf()
45 static void mock_unmap_dma_buf(struct dma_buf_attachment *attachment, in mock_unmap_dma_buf() argument
49 dma_unmap_sgtable(attachment->dev, st, dir, 0); in mock_unmap_dma_buf()
/linux/net/core/
A Ddevmem.c61 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free()
63 dma_buf_detach(binding->dmabuf, binding->attachment); in __net_devmem_dmabuf_binding_free()
213 binding->attachment = dma_buf_attach(binding->dmabuf, dev->dev.parent); in net_devmem_bind_dmabuf()
214 if (IS_ERR(binding->attachment)) { in net_devmem_bind_dmabuf()
215 err = PTR_ERR(binding->attachment); in net_devmem_bind_dmabuf()
220 binding->sgt = dma_buf_map_attachment_unlocked(binding->attachment, in net_devmem_bind_dmabuf()
292 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in net_devmem_bind_dmabuf()
295 dma_buf_detach(dmabuf, binding->attachment); in net_devmem_bind_dmabuf()
A Ddevmem.h17 struct dma_buf_attachment *attachment; member
/linux/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/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/net/xfrm/
A DKconfig68 where mobile nodes change their attachment point to the Internet.
132 change their attachment point to the Internet. Detail
/linux/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/drivers/accel/habanalabs/common/
A Dmemory.c1708 struct dma_buf_attachment *attachment) in hl_dmabuf_attach() argument
1717 rc = pci_p2pdma_distance(hdev->pdev, attachment->dev, true); in hl_dmabuf_attach()
1720 attachment->peer2peer = false; in hl_dmabuf_attach()
1724 static struct sg_table *hl_map_dmabuf(struct dma_buf_attachment *attachment, in hl_map_dmabuf() argument
1728 struct dma_buf *dma_buf = attachment->dmabuf; in hl_map_dmabuf()
1737 if (!attachment->peer2peer) { in hl_map_dmabuf()
1757 attachment->dev, dir); in hl_map_dmabuf()
1764 static void hl_unmap_dmabuf(struct dma_buf_attachment *attachment, in hl_unmap_dmabuf() argument
1779 dma_unmap_resource(attachment->dev, sg_dma_address(sg), in hl_unmap_dmabuf()
/linux/drivers/sbus/char/
A DKconfig29 events, and can also notice the attachment/detachment of external
/linux/Documentation/ABI/testing/
A Dsysfs-firmware-ofw11 have no attachment to the system tree and will appear in a
/linux/Documentation/networking/device_drivers/fddi/
A Ddefza.rst12 model 200 workstation. The board is a single attachment station and
/linux/drivers/misc/
A Dfastrpc.c652 fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, in fastrpc_map_dma_buf() argument
655 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_map_dma_buf()
661 ret = dma_map_sgtable(attachment->dev, table, dir, 0); in fastrpc_map_dma_buf()
682 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_attach() argument
700 a->dev = attachment->dev; in fastrpc_dma_buf_attach()
702 attachment->priv = a; in fastrpc_dma_buf_attach()
712 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_detatch() argument
714 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_dma_buf_detatch()
/linux/Documentation/admin-guide/LSM/
A DYama.rst31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
/linux/Documentation/bpf/libbpf/
A Dprogram_types.rst226 .. [#lsm] The ``lsm`` attachment format is ``lsm[.s]/<hook>``.
/linux/Documentation/devicetree/bindings/leds/
A Dleds-qcom-lpg.yaml69 - description: flags for the attachment
/linux/Documentation/admin-guide/media/
A Dfimc.rst31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC

Completed in 52 milliseconds

12