Home
last modified time | relevance | path

Searched full:attachment (Results 1 – 25 of 142) sorted by relevance

123456

/linux/drivers/media/platform/nvidia/tegra-vde/
H 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/
H A Damdgpu_amdkfd_gpuvm.c561 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_userptr() argument
567 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr()
568 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr()
611 kfd_mem_dmamap_dmabuf(struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_dmabuf() argument
614 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf()
623 * @attachment: Virtual address attachment of the BO on accessing device
648 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_sg_bo() argument
651 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_sg_bo()
652 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo()
703 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_attachment() argument
[all …]
H A Damdgpu_dma_buf.c49 * dma_buf_attach_adev - Helper to get adev of an attachment
51 * @attach: attachment
73 * @attach: attachment to add
75 * Add the attachment as user to the exported DMA-buf.
97 * @attach: attachment to pin down
110 * support if all attachments can do P2P. If any attachment can't do in amdgpu_dma_buf_pin()
137 * @attach: attachment to unpin
151 * @attach: DMA-buf attachment
227 * @attach: DMA-buf attachment
380 * described by the given DMA-buf attachment and scatter/gather table.
[all …]
/linux/tools/bpf/bpftool/Documentation/
H 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/net/core/
H A Ddevmem.c73 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in __net_devmem_dmabuf_binding_free()
75 dma_buf_detach(binding->dmabuf, binding->attachment); in __net_devmem_dmabuf_binding_free()
219 binding->attachment = dma_buf_attach(binding->dmabuf, dma_dev); in net_devmem_bind_dmabuf()
220 if (IS_ERR(binding->attachment)) { in net_devmem_bind_dmabuf()
221 err = PTR_ERR(binding->attachment); in net_devmem_bind_dmabuf()
226 binding->sgt = dma_buf_map_attachment_unlocked(binding->attachment, in net_devmem_bind_dmabuf()
230 NL_SET_ERR_MSG(extack, "Failed to map dmabuf attachment"); in net_devmem_bind_dmabuf()
321 dma_buf_unmap_attachment_unlocked(binding->attachment, binding->sgt, in net_devmem_bind_dmabuf()
324 dma_buf_detach(dmabuf, binding->attachment); in net_devmem_bind_dmabuf()
/linux/drivers/gpu/drm/omapdrm/
H 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/tools/testing/selftests/bpf/prog_tests/
H A Drecursive_attach.c9 /* 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()
H A Dxdp_link.c43 /* 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/security/apparmor/include/
H A Dpolicy.h182 /* struct aa_attachment - data and rules for a profiles attachment
184 * @xmatch_str: human readable attachment string
209 * @attach: attachment rules for the profile
224 * used to determine profile attachment against unconfined tasks. All other
232 * determining profile attachment on "unconfined" tasks.
/linux/Documentation/devicetree/bindings/ata/
H 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
H A Dpata-common.yaml7 title: Common Properties for Parallel AT attachment (PATA) controllers
14 ATA (PATA, also known as IDE) AT attachment storage devices.
/linux/Documentation/bpf/
H A Dprog_lsm.rst117 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.
H 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
H A Dprog_sk_lookup.rst33 Attachment chapter
38 netns FD as attachment ``target_fd``.
/linux/fs/jffs2/
H A Dsecurity.c25 /* ---- Initial Security Label(s) Attachment callback --- */
42 /* ---- Initial Security Label(s) Attachment ----------- */
/linux/drivers/dma-buf/
H A Ddma-buf.c930 * @importer_ops: [in] importer operations for the attachment
931 * @importer_priv: [in] importer private pointer for the attachment
933 * Returns struct dma_buf_attachment pointer for this attachment. Attachments
1006 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list
1008 * @attach: [in] attachment to be detached; is free'd after this call.
1010 * Clean up a device attachment obtained by calling dma_buf_attach().
1032 * @attach: [in] attachment which should be pinned
1062 * @attach: [in] attachment which should be unpinned
1082 * dma_buf_map_attachment - Returns the scatterlist table of the attachment;
1085 * @attach: [in] attachment whose scatterlist is to be returned
[all …]
/linux/sound/soc/fsl/
H A Dfsl_asrc_m2m.c411 static struct sg_table *fsl_asrc_m2m_map_dma_buf(struct dma_buf_attachment *attachment, in fsl_asrc_m2m_map_dma_buf() argument
414 struct snd_dma_buffer *dmab = attachment->dmabuf->priv; in fsl_asrc_m2m_map_dma_buf()
421 if (dma_get_sgtable(attachment->dev, sgt, dmab->area, dmab->addr, dmab->bytes) < 0) in fsl_asrc_m2m_map_dma_buf()
424 if (dma_map_sgtable(attachment->dev, sgt, direction, 0)) in fsl_asrc_m2m_map_dma_buf()
435 static void fsl_asrc_m2m_unmap_dma_buf(struct dma_buf_attachment *attachment, in fsl_asrc_m2m_unmap_dma_buf() argument
439 dma_unmap_sgtable(attachment->dev, table, direction, 0); in fsl_asrc_m2m_unmap_dma_buf()
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c320 * Don't publish the bo until we have a valid attachment, and a in xe_gem_prime_import()
321 * valid attachment needs the bo address. So pre-create a bo before in xe_gem_prime_import()
322 * creating the attachment and publish. in xe_gem_prime_import()
/linux/tools/testing/selftests/bpf/progs/
H A Dbad_struct_ops2.c9 * struct_ops map, which provides attachment information.
H A Dfentry_recursive.c9 /* Dummy fentry bpf prog for testing fentry attachment chains */
H A Dfentry_recursive_target.c9 /* Dummy fentry bpf prog for testing fentry attachment chains. It's going to be
/linux/include/linux/usb/
H A Disp116x.h20 by attachment/detachment or by device activity
/linux/drivers/media/dvb-frontends/
H A Dix2505v.h15 * struct ix2505v_config - ix2505 attachment configuration
/linux/drivers/sbus/char/
H A Dbbc_i2c.h74 /* Probing and attachment. */
H A DKconfig29 events, and can also notice the attachment/detachment of external

123456