Home
last modified time | relevance | path

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

123456789

/openbmc/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()
/openbmc/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,
40 The attachment point for u[ret]probe is the file name and the file offset.
/openbmc/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c51 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 …]
H A Dsystem_heap.c83 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 …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c515 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_userptr() argument
521 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_userptr()
522 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr()
565 kfd_mem_dmamap_dmabuf(struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_dmabuf() argument
568 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_dmabuf()
583 * @attachment: Virtual address attachment of the BO on accessing device
608 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_sg_bo() argument
611 struct amdgpu_bo *bo = attachment->bo_va->base.bo; in kfd_mem_dmamap_sg_bo()
612 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo()
663 struct kfd_mem_attachment *attachment) in kfd_mem_dmamap_attachment() argument
[all …]
H A Damdgpu_dma_buf.c50 * @attach: attachment to add
52 * Add the attachment as user to the exported DMA-buf.
79 * @dmabuf: DMA-buf where we remove the attachment from
80 * @attach: the attachment to remove
82 * Called when an attachment is removed from the DMA-buf.
98 * @attach: attachment to pin down
114 * @attach: attachment to unpin
128 * @attach: DMA-buf attachment
203 * @attach: DMA-buf attachment
315 * described by the given DMA-buf attachment and scatter/gather table.
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_dmabuf.c9 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()
/openbmc/linux/include/linux/
H A Ddma-buf.h41 * 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 …]
/openbmc/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()
/openbmc/linux/Documentation/devicetree/bindings/ata/
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.
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
/openbmc/linux/security/apparmor/include/
H A Dpolicy.h152 /* struct aa_attachment - data and rules for a profiles attachment
154 * @xmatch_str: human readable attachment string
179 * @attach: attachment rules for the profile
188 * used to determine profile attachment against unconfined tasks. All other
196 * determining profile attachment on "unconfined" tasks.
/openbmc/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``.
/openbmc/u-boot/drivers/ata/
H A DKconfig15 Attachment), a serial bus standard for connecting to hard drives and
19 Attachment, where AT refers to an IBM AT (Advanced Technology)
/openbmc/linux/fs/jffs2/
H A Dsecurity.c25 /* ---- Initial Security Label(s) Attachment callback --- */
42 /* ---- Initial Security Label(s) Attachment ----------- */
/openbmc/linux/net/xfrm/
H A DKconfig67 where mobile nodes change their attachment point to the Internet.
131 change their attachment point to the Internet. Detail
/openbmc/openbmc/poky/meta/recipes-extended/xdg-utils/xdg-utils/
H A DCVE-2022-4055.patch5 xdg-email 'mailto:test@example.com?subject=Test,attachment=~/.thunderbird/profiles.ini,message=/hom…
9 thunderbird -compose to='test@example.com,',subject=Test,attachment=~/.thunderbird/profiles.ini,mes…
11 with working attachment and message. (And, yes, ~ expands to the home directory.)
H A D1f199813e0eb0246f63b54e9e154970e609575af.patch4 Subject: [PATCH] xdg-email: remove attachment handling from mailto
50 - NEWMAILTO="${NEWMAILTO},attachment='${ATTACH}'"
/openbmc/linux/drivers/dma-buf/
H A Ddma-buf.c870 * @importer_ops: [in] importer operations for the attachment
871 * @importer_priv: [in] importer private pointer for the attachment
873 * Returns struct dma_buf_attachment pointer for this attachment. Attachments
993 * dma_buf_detach - Remove the given attachment from dmabuf's attachments list
995 * @attach: [in] attachment to be detached; is free'd after this call.
997 * Clean up a device attachment obtained by calling dma_buf_attach().
1028 * @attach: [in] attachment which should be pinned
1058 * @attach: [in] attachment which should be unpinned
1078 * dma_buf_map_attachment - Returns the scatterlist table of the attachment;
1081 * @attach: [in] attachment whose scatterlist is to be returned
[all …]
/openbmc/openbmc-test-automation/openpower/mpipl/
H A Dtest_mpipl_basic.robot122 … "AdditionalDataURI": "/redfish/v1/Managers/${MANAGER_ID}/LogServices/Dump/Entries/4/attachment",
138 … "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/Dump/Entries/System_1/attachment",
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
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()
/openbmc/linux/drivers/soundwire/
H A Dsysfs_local.h11 /* basic attributes to report status of Slave (attachment, dev_num) */
/openbmc/linux/include/linux/usb/
H A Disp116x.h20 by attachment/detachment or by device activity

123456789