/Linux-v5.15/drivers/staging/media/tegra-vde/ |
D | dmabuf-cache.c | 67 struct dma_buf_attachment *attachment; in tegra_vde_dmabuf_cache_map() local 95 attachment = dma_buf_attach(dmabuf, dev); in tegra_vde_dmabuf_cache_map() 96 if (IS_ERR(attachment)) { in tegra_vde_dmabuf_cache_map() 98 err = PTR_ERR(attachment); in tegra_vde_dmabuf_cache_map() 102 sgt = dma_buf_map_attachment(attachment, dma_dir); in tegra_vde_dmabuf_cache_map() 139 entry->a = attachment; in tegra_vde_dmabuf_cache_map() 152 dma_buf_unmap_attachment(attachment, sgt, dma_dir); in tegra_vde_dmabuf_cache_map() 154 dma_buf_detach(dmabuf, attachment); in tegra_vde_dmabuf_cache_map()
|
/Linux-v5.15/tools/bpf/bpftool/Documentation/ |
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.
|
/Linux-v5.15/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-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 467 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_userptr() argument 473 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr() 474 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr() 520 kfd_mem_dmamap_dmabuf(struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_dmabuf() argument 523 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf() 531 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_attachment() argument 533 switch (attachment->type) { in kfd_mem_dmamap_attachment() 537 return kfd_mem_dmamap_userptr(mem, attachment); in kfd_mem_dmamap_attachment() 539 return kfd_mem_dmamap_dmabuf(attachment); in kfd_mem_dmamap_attachment() 548 struct kfd_mem_attachment *attachment) in kfd_mem_dmaunmap_userptr() argument [all …]
|
D | amdgpu_dma_buf.c | 49 * @attach: attachment to add 51 * Add the attachment as user to the exported DMA-buf. 81 * @dmabuf: DMA-buf where we remove the attachment from 82 * @attach: the attachment to remove 84 * Called when an attachment is removed from the DMA-buf. 100 * @attach: attachment to pin down 128 * @attach: attachment to unpin 142 * @attach: DMA-buf attachment 217 * @attach: DMA-buf attachment 329 * described by the given DMA-buf attachment and scatter/gather table. [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/ |
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-v5.15/include/linux/ |
D | dma-buf.h | 41 * attachment. This avoids creating mappings for attachments multiple 452 * struct dma_buf_attach_ops - importer operations for an attachment 454 * Attachment operations implemented by the importer. 487 * struct dma_buf_attachment - holds device-buffer attachment data 488 * @dmabuf: buffer for this attachment. 494 * @priv: exporter specific attachment data. 495 * @importer_ops: importer operations for this attachment, if provided 497 * @importer_priv: importer specific attachment data. 499 * This structure holds the attachment information between the dma_buf buffer 500 * and its user device(s). The list contains one attachment struct per device [all …]
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_gem_dmabuf.c | 19 struct dma_buf_attachment *attachment, in omap_gem_map_dma_buf() argument 22 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_map_dma_buf() 56 static void omap_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in omap_gem_unmap_dma_buf() argument 59 struct drm_gem_object *obj = attachment->dmabuf->priv; in omap_gem_unmap_dma_buf()
|
/Linux-v5.15/drivers/gpu/drm/i915/gem/ |
D | i915_gem_dmabuf.c | 22 static struct sg_table *i915_gem_map_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_map_dma_buf() argument 25 struct drm_i915_gem_object *obj = dma_buf_to_obj(attachment->dmabuf); in i915_gem_map_dma_buf() 49 ret = dma_map_sgtable(attachment->dev, st, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_map_dma_buf() 63 static void i915_gem_unmap_dma_buf(struct dma_buf_attachment *attachment, in i915_gem_unmap_dma_buf() argument 67 dma_unmap_sgtable(attachment->dev, sg, dir, DMA_ATTR_SKIP_CPU_SYNC); in i915_gem_unmap_dma_buf()
|
/Linux-v5.15/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-v5.15/Documentation/bpf/ |
D | bpf_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-v5.15/fs/jffs2/ |
D | security.c | 25 /* ---- Initial Security Label(s) Attachment callback --- */ 42 /* ---- Initial Security Label(s) Attachment ----------- */
|
/Linux-v5.15/net/xfrm/ |
D | Kconfig | 67 where mobile nodes change their attachment point to the Internet. 131 change their attachment point to the Internet. Detail
|
/Linux-v5.15/drivers/dma-buf/ |
D | dma-buf.c | 716 * @importer_ops: [in] importer operations for the attachment 717 * @importer_priv: [in] importer private pointer for the attachment 719 * Returns struct dma_buf_attachment pointer for this attachment. Attachments 841 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list 843 * @attach: [in] attachment to be detached; is free'd after this call. 845 * Clean up a device attachment obtained by calling dma_buf_attach(). 878 * @attach: [in] attachment which should be pinned 908 * @attach: [in] attachment which should be unpinned 928 * dma_buf_map_attachment - Returns the scatterlist table of the attachment; 931 * @attach: [in] attachment whose scatterlist is to be returned [all …]
|
/Linux-v5.15/security/apparmor/include/ |
D | policy.h | 100 * @attach: human readable attachment string 119 * used to determine profile attachment against unconfined tasks. All other 127 * determining profile attachment on "unconfined" tasks.
|
/Linux-v5.15/drivers/soundwire/ |
D | sysfs_local.h | 11 /* basic attributes to report status of Slave (attachment, dev_num) */
|
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_link.c | 42 /* set initial prog attachment */ in test_xdp_link() 52 /* BPF link is not allowed to replace prog attachment */ in test_xdp_link()
|
/Linux-v5.15/include/drm/ |
D | drm_gem.h | 270 * dma-buf attachment backing this object. 273 * attachment point for the device. This is invariant over the lifetime 277 * cleaning up the dma_buf attachment and references acquired at import
|
/Linux-v5.15/include/linux/usb/ |
D | isp116x.h | 20 by attachment/detachment or by device activity
|
/Linux-v5.15/drivers/media/dvb-frontends/ |
D | ix2505v.h | 15 * struct ix2505v_config - ix2505 attachment configuration
|
/Linux-v5.15/drivers/base/power/ |
D | common.c | 89 * As attachment succeeds, the ->detach() callback in the struct dev_pm_domain 123 * provider creates a virtual device to attach instead. If attachment succeeds,
|