/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_amdkfd_gpuvm.c | 535 switch (attachment->type) { in kfd_mem_dmamap_attachment() 586 switch (attachment->type) { in kfd_mem_dmaunmap_attachment() 685 attachment[i] = kzalloc(sizeof(*attachment[i]), GFP_KERNEL); in kfd_mem_attach() 746 attachment[i]->va = va; in kfd_mem_attach() 748 attachment[i]->adev = adev; in kfd_mem_attach() 758 if (!attachment[i]) in kfd_mem_attach() 760 if (attachment[i]->bo_va) { in kfd_mem_attach() 768 kfree(attachment[i]); in kfd_mem_attach() 778 attachment->va, attachment); in kfd_mem_detach() 779 amdgpu_vm_bo_rmv(attachment->adev, attachment->bo_va); in kfd_mem_detach() [all …]
|
A D | amdgpu_object.c | 1504 struct dma_buf_attachment *attachment; in amdgpu_bo_print_info() local 1534 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_bo_print_info() 1536 if (attachment) in amdgpu_bo_print_info()
|
/linux/tools/bpf/bpftool/Documentation/ |
A D | bpftool-perf.rst | 29 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.
|
A D | bpftool-gen.rst | 126 programs of types supported by libbpf for auto-attachment
|
/linux/drivers/staging/media/tegra-vde/ |
A D | dmabuf-cache.c | 70 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(attachment, dma_dir); in tegra_vde_dmabuf_cache_map() 142 entry->a = attachment; in tegra_vde_dmabuf_cache_map() 155 dma_buf_unmap_attachment(attachment, sgt, dma_dir); in tegra_vde_dmabuf_cache_map() 157 dma_buf_detach(dmabuf, attachment); in tegra_vde_dmabuf_cache_map()
|
/linux/drivers/dma-buf/heaps/ |
A D | cma_heap.c | 51 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 D | system_heap.c | 84 struct dma_buf_attachment *attachment) in system_heap_attach() argument 101 a->dev = attachment->dev; in system_heap_attach() 105 attachment->priv = a; in system_heap_attach() 115 struct dma_buf_attachment *attachment) in system_heap_detach() argument 118 struct dma_heap_attachment *a = attachment->priv; in system_heap_detach() 129 static struct sg_table *system_heap_map_dma_buf(struct dma_buf_attachment *attachment, in system_heap_map_dma_buf() argument 132 struct dma_heap_attachment *a = attachment->priv; in system_heap_map_dma_buf() 136 ret = dma_map_sgtable(attachment->dev, table, direction, 0); in system_heap_map_dma_buf() 144 static void system_heap_unmap_dma_buf(struct dma_buf_attachment *attachment, in system_heap_unmap_dma_buf() argument 148 struct dma_heap_attachment *a = attachment->priv; in system_heap_unmap_dma_buf() [all …]
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | mock_dmabuf.c | 9 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/drivers/gpu/drm/omapdrm/ |
A D | omap_gem_dmabuf.c | 21 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() 58 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf() argument 61 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_dmabuf.c | 27 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf() argument 30 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_map_dma_buf() 54 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf() 68 static void i915_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_unmap_dma_buf() argument 72 dma_unmap_sgtable(attachment->dev, sg, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_unmap_dma_buf()
|
/linux/Documentation/devicetree/bindings/ata/ |
A D | sata-common.yaml | 7 title: Common Properties for Serial AT attachment (SATA) controllers 14 AT attachment (SATA) storage devices. It doesn't constitute a device tree
|
A D | pata-common.yaml | 7 title: Common Properties for Parallel AT attachment (PATA) controllers 14 ATA (PATA, also known as IDE) AT attachment storage devices.
|
/linux/net/xfrm/ |
A D | Kconfig | 67 where mobile nodes change their attachment point to the Internet. 131 change their attachment point to the Internet. Detail
|
/linux/Documentation/bpf/ |
A D | map_cgroup_storage.rst | 130 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 D | bpf_lsm.rst | 120 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 D | prog_sk_lookup.rst | 38 netns FD as attachment ``target_fd``.
|
/linux/drivers/misc/habanalabs/common/ |
A D | memory.c | 1654 struct dma_buf_attachment *attachment) in hl_dmabuf_attach() argument 1663 rc = pci_p2pdma_distance_many(hdev->pdev, &attachment->dev, 1, true); in hl_dmabuf_attach() 1666 attachment->peer2peer = false; in hl_dmabuf_attach() 1670 static struct sg_table *hl_map_dmabuf(struct dma_buf_attachment *attachment, in hl_map_dmabuf() argument 1673 struct dma_buf *dma_buf = attachment->dmabuf; in hl_map_dmabuf() 1683 if (!attachment->peer2peer) { in hl_map_dmabuf() 1693 attachment->dev, in hl_map_dmabuf() 1700 attachment->dev, in hl_map_dmabuf() 1709 static void hl_unmap_dmabuf(struct dma_buf_attachment *attachment, in hl_unmap_dmabuf() argument 1724 dma_unmap_resource(attachment->dev, sg_dma_address(sg), in hl_unmap_dmabuf()
|
/linux/drivers/misc/ |
A D | fastrpc.c | 518 fastrpc_map_dma_buf(struct dma_buf_attachment *attachment, in fastrpc_map_dma_buf() argument 521 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_map_dma_buf() 527 ret = dma_map_sgtable(attachment->dev, table, dir, 0); in fastrpc_map_dma_buf() 548 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_attach() argument 566 a->dev = attachment->dev; in fastrpc_dma_buf_attach() 568 attachment->priv = a; in fastrpc_dma_buf_attach() 578 struct dma_buf_attachment *attachment) in fastrpc_dma_buf_detatch() argument 580 struct fastrpc_dma_buf_attachment *a = attachment->priv; in fastrpc_dma_buf_detatch()
|
/linux/drivers/sbus/char/ |
A D | Kconfig | 29 events, and can also notice the attachment/detachment of external
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-firmware-ofw | 11 have no attachment to the system tree and will appear in a
|
/linux/Documentation/networking/device_drivers/fddi/ |
A D | defza.rst | 12 model 200 workstation. The board is a single attachment station and
|
/linux/Documentation/admin-guide/LSM/ |
A D | Yama.rst | 31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
|
/linux/Documentation/process/ |
A D | email-clients.rst | 157 them as text, right click on the attachment and select :menuselection:`properties`, 158 and highlight :menuselection:`Suggest automatic display` to make the attachment
|
A D | submitting-patches.rst | 314 Do not attach the patch as a MIME attachment, compressed or not. 316 attachment as plain text, making it impossible to comment on your 317 code. A MIME attachment also takes Linus a bit more time to process,
|
/linux/Documentation/admin-guide/media/ |
A D | fimc.rst | 31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC
|