/linux-6.12.1/drivers/media/platform/nvidia/tegra-vde/ |
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-6.12.1/tools/bpf/bpftool/Documentation/ |
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-6.12.1/drivers/dma-buf/heaps/ |
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 …]
|
D | system_heap.c | 83 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-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
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() 620 * @attachment: Virtual address attachment of the BO on accessing device 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 [all …]
|
D | amdgpu_dma_buf.c | 49 * @attach: attachment to add 51 * Add the attachment as user to the exported DMA-buf. 69 * @attach: attachment to pin down 85 * @attach: attachment to unpin 99 * @attach: DMA-buf attachment 173 * @attach: DMA-buf attachment 284 * described by the given DMA-buf attachment and scatter/gather table. 328 * @attach: the DMA-buf attachment 330 * Invalidate the DMA-buf attachment, making sure that the we re-create the
|
/linux-6.12.1/net/core/ |
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() 224 NL_SET_ERR_MSG(extack, "Failed to map dmabuf 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()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/ |
D | mock_dmabuf.c | 10 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-6.12.1/include/linux/ |
D | dma-buf.h | 41 * attachment. This avoids creating mappings for attachments multiple 457 * struct dma_buf_attach_ops - importer operations for an attachment 459 * Attachment operations implemented by the importer. 492 * struct dma_buf_attachment - holds device-buffer attachment data 493 * @dmabuf: buffer for this attachment. 499 * @priv: exporter specific attachment data. 500 * @importer_ops: importer operations for this attachment, if provided 502 * @importer_priv: importer specific attachment data. 504 * This structure holds the attachment information between the dma_buf buffer 505 * and its user device(s). The list contains one attachment struct per device [all …]
|
/linux-6.12.1/drivers/gpu/drm/omapdrm/ |
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-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | recursive_attach.c | 9 /* Test recursive attachment of tracing progs with more than one nesting level 10 * is not possible. Create a chain of attachment, verify that the last prog 47 /* Create an attachment chain with two fentry progs */ in test_recursive_fentry_chain() 82 * attachment of the following prog. in test_recursive_fentry_chain()
|
D | xdp_link.c | 43 /* set initial prog attachment */ in serial_test_xdp_link() 53 /* BPF link is not allowed to replace prog attachment */ in serial_test_xdp_link()
|
/linux-6.12.1/Documentation/devicetree/bindings/ata/ |
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.
|
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
|
/linux-6.12.1/security/apparmor/include/ |
D | policy.h | 178 /* struct aa_attachment - data and rules for a profiles attachment 180 * @xmatch_str: human readable attachment string 205 * @attach: attachment rules for the profile 214 * used to determine profile attachment against unconfined tasks. All other 222 * determining profile attachment on "unconfined" tasks.
|
/linux-6.12.1/Documentation/bpf/ |
D | prog_lsm.rst | 117 Attachment to LSM Hooks 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.
|
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
|
D | prog_sk_lookup.rst | 33 Attachment chapter 38 netns FD as attachment ``target_fd``.
|
/linux-6.12.1/fs/jffs2/ |
D | security.c | 25 /* ---- Initial Security Label(s) Attachment callback --- */ 42 /* ---- Initial Security Label(s) Attachment ----------- */
|
/linux-6.12.1/net/xfrm/ |
D | Kconfig | 68 where mobile nodes change their attachment point to the Internet. 132 change their attachment point to the Internet. Detail
|
/linux-6.12.1/drivers/dma-buf/ |
D | dma-buf.c | 884 * @importer_ops: [in] importer operations for the attachment 885 * @importer_priv: [in] importer private pointer for the attachment 887 * Returns struct dma_buf_attachment pointer for this attachment. Attachments 1007 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list 1009 * @attach: [in] attachment to be detached; is free'd after this call. 1011 * Clean up a device attachment obtained by calling dma_buf_attach(). 1042 * @attach: [in] attachment which should be pinned 1072 * @attach: [in] attachment which should be unpinned 1092 * dma_buf_map_attachment - Returns the scatterlist table of the attachment; 1095 * @attach: [in] attachment whose scatterlist is to be returned [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_dma_buf.c | 285 * Don't publish the bo until we have a valid attachment, and a in xe_gem_prime_import() 286 * valid attachment needs the bo address. So pre-create a bo before in xe_gem_prime_import() 287 * creating the attachment and publish. in xe_gem_prime_import()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | bad_struct_ops2.c | 9 * struct_ops map, which provides attachment information.
|
D | fentry_recursive.c | 9 /* Dummy fentry bpf prog for testing fentry attachment chains */
|
/linux-6.12.1/drivers/soundwire/ |
D | sysfs_local.h | 11 /* basic attributes to report status of Slave (attachment, dev_num) */
|