/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 552 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_userptr() argument 558 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr() 559 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr() 602 kfd_mem_dmamap_dmabuf(struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_dmabuf() argument 605 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf() 645 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_sg_bo() argument 648 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_sg_bo() 649 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo() 700 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_attachment() argument 702 switch (attachment->type) { in kfd_mem_dmamap_attachment() [all …]
|
H A D | amdgpu_object.c | 1500 struct dma_buf_attachment *attachment; in amdgpu_bo_print_info() local 1555 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_bo_print_info() 1557 if (attachment) in amdgpu_bo_print_info()
|
/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | dmabuf-cache.c | 69 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/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-perf.rst | 33 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/dma-buf/heaps/ |
H 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 …]
|
/linux/net/core/ |
H A D | devmem.c | 61 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()
|
H A D | devmem.h | 17 struct dma_buf_attachment *attachment; member
|
/linux/drivers/gpu/drm/omapdrm/ |
H 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() 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/net/xfrm/ |
H A D | Kconfig | 68 where mobile nodes change their attachment point to the Internet. 132 change their attachment point to the Internet. Detail
|
/linux/Documentation/bpf/ |
H 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
|
H A D | prog_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.
|
H A D | prog_sk_lookup.rst | 38 netns FD as attachment ``target_fd``.
|
/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 1708 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/ |
H A D | Kconfig | 29 events, and can also notice the attachment/detachment of external
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-ofw | 11 have no attachment to the system tree and will appear in a
|
/linux/drivers/misc/ |
H A D | fastrpc.c | 652 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/networking/device_drivers/fddi/ |
H A D | defza.rst | 12 model 200 workstation. The board is a single attachment station and
|
/linux/Documentation/admin-guide/LSM/ |
H A D | Yama.rst | 31 specifically disallow such ptrace attachment (e.g. ssh-agent), but many
|
/linux/Documentation/bpf/libbpf/ |
H A D | program_types.rst | 226 .. [#lsm] The ``lsm`` attachment format is ``lsm[.s]/<hook>``.
|
/linux/Documentation/hid/ |
H A D | hid-bpf.rst | 155 HID-BPF has the following attachment types available: 248 For all HID-BPF attachment types except for :c:func:`hid_rdesc_fixup`, several eBPF 321 We now use standard struct_ops attachment through ``bpf_map__attach_struct_ops()``.
|
/linux/Documentation/process/ |
H 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
|
H A D | submitting-patches.rst | 298 Do not attach the patch as a MIME attachment, compressed or not. 300 attachment as plain text, making it impossible to comment on your 301 code. A MIME attachment also takes Linus a bit more time to process,
|
/linux/Documentation/admin-guide/media/ |
H A D | fimc.rst | 31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC
|
/linux/security/ |
H A D | Kconfig | 31 require actual active ptrace attachment.
|
/linux/Documentation/arch/s390/ |
H A D | 3270.rst | 5 This file describes the driver that supports local channel attachment
|