Home
last modified time | relevance | path

Searched refs:container (Results 1 – 25 of 120) sorted by relevance

12345

/linux-6.12.1/drivers/vfio/
Dcontainer.c80 static bool vfio_iommu_driver_allowed(struct vfio_container *container, in vfio_iommu_driver_allowed() argument
85 return container->noiommu == (driver->ops == &vfio_noiommu_ops); in vfio_iommu_driver_allowed()
148 struct vfio_container *container; in vfio_container_release() local
149 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
151 kfree(container); in vfio_container_release()
154 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
156 kref_get(&container->kref); in vfio_container_get()
159 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
161 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
167 device->group->container->iommu_driver; in vfio_device_container_register()
[all …]
Dvfio_iommu_spapr_tce.c75 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument
77 if (container->mm) { in tce_iommu_mm_set()
78 if (container->mm == current->mm) in tce_iommu_mm_set()
83 container->mm = current->mm; in tce_iommu_mm_set()
84 mmgrab(container->mm); in tce_iommu_mm_set()
89 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument
94 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free()
104 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument
115 mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages()
119 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages()
[all …]
Dgroup.c65 WARN_ON(!group->container != !group->container_users); in vfio_group_has_iommu()
67 return group->container || group->iommufd; in vfio_group_has_iommu()
85 if (group->container) { in vfio_group_ioctl_unset_container()
105 struct vfio_container *container; in vfio_group_ioctl_set_container() local
128 container = vfio_container_from_file(fd_file(f)); in vfio_group_ioctl_set_container()
129 if (container) { in vfio_group_ioctl_set_container()
130 ret = vfio_container_attach_group(container, group); in vfio_group_ioctl_set_container()
493 if (group->container) in vfio_group_fops_release()
763 if (group->container) in vfio_device_remove_group()
795 if (WARN_ON(!group->container)) in vfio_device_group_use_iommu()
[all …]
Dvfio.h82 struct vfio_container *container; member
242 int vfio_container_attach_group(struct vfio_container *container,
274 static inline int vfio_container_attach_group(struct vfio_container *container, in vfio_container_attach_group() argument
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c35 vector->container = NULL; in dal_vector_construct()
43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
44 if (vector->container == NULL) in dal_vector_construct()
61 vector->container = NULL; in dal_vector_presized_costruct()
69 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
71 if (vector->container == NULL) in dal_vector_presized_costruct()
80 vector->container + i * struct_size, in dal_vector_presized_costruct()
132 kfree(vector->container); in dal_vector_destruct()
157 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index()
159 return vector->container + (index * vector->struct_size); in dal_vector_at_index()
[all …]
/linux-6.12.1/drivers/scsi/aacraid/
Dcommsup.c1066 u32 channel, id, lun, container; in aac_handle_aif() local
1079 container = channel = id = lun = (u32)-1; in aac_handle_aif()
1091 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1092 if ((container >> 28)) { in aac_handle_aif()
1093 container = (u32)-1; in aac_handle_aif()
1096 channel = (container >> 24) & 0xF; in aac_handle_aif()
1098 container = (u32)-1; in aac_handle_aif()
1101 id = container & 0xFFFF; in aac_handle_aif()
1103 container = (u32)-1; in aac_handle_aif()
1106 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
/linux-6.12.1/Documentation/security/tpm/
Dtpm_vtpm_proxy.rst15 container. This allows programs to interact with a TPM in a container
17 container gets its own unique, emulated, software TPM.
22 To make an emulated software TPM available to each container, the container
25 descriptor. The former is moved into the container by creating a character
27 is passed to the TPM emulator. Software inside the container can then send
/linux-6.12.1/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c327 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument
329 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container()
337 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local
343 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages()
347 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
362 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local
364 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string()
365 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
936 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local
938 size = sizeof(*container); in ast_vhub_str_container_alloc()
[all …]
/linux-6.12.1/Documentation/driver-api/
Dvfio.rst80 a container class, which may hold one or more groups. A container
83 On its own, the container provides little functionality, with all
85 The user needs to add a group into the container for the next level
99 Once the group is ready, it may be added to the container by opening
102 previously opened container file. If desired and if the IOMMU driver
104 be set to the same container. If a group fails to set to a container
105 with existing groups, a new empty container will need to be used
108 With a group (or groups) attached to a container, the remaining
169 int container, group, device, i;
176 /* Create a new container */
[all …]
/linux-6.12.1/drivers/gpu/drm/tests/
Ddrm_kunit_helpers.c65 void *container; in __drm_kunit_helper_alloc_drm_device_with_driver() local
68 container = __devm_drm_dev_alloc(dev, driver, size, offset); in __drm_kunit_helper_alloc_drm_device_with_driver()
69 if (IS_ERR(container)) in __drm_kunit_helper_alloc_drm_device_with_driver()
70 return ERR_CAST(container); in __drm_kunit_helper_alloc_drm_device_with_driver()
72 drm = container + offset; in __drm_kunit_helper_alloc_drm_device_with_driver()
/linux-6.12.1/kernel/trace/
Dtrace_export.c46 #define __field_desc(type, container, item) type item; argument
49 #define __field_packed(type, container, item) type item; argument
58 #define __array_desc(type, container, item, size) type item[size]; argument
150 #define __field_desc(type, container, item) argument
153 #define __field_packed(type, container, item) argument
162 #define __array_desc(type, container, item, len) argument
/linux-6.12.1/drivers/base/
Dtransport_class.c94 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
95 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register()
96 error = attribute_container_register(&atc->container); in anon_transport_class_register()
115 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
/linux-6.12.1/tools/testing/selftests/net/
Dsrv6_end_next_csid_l3vpn_test.sh663 local container
674 container="${LCBLOCK_ADDR}"
680 container="${container}${lcnfunc}"
686 container="${container}${dt}"
688 policy="$(build_ipv6_addr "${container}")"
691 container="${LCBLOCK_ADDR}${dt}"
692 decapsid="$(build_ipv6_addr "${container}")"
697 policy="$(build_ipv6_addr "${container}"),${decapsid}"
Dsrv6_end_x_next_csid_l3vpn_test.sh723 local container
734 container="${LCBLOCK_ADDR}"
740 container="${container}${lcnfunc}"
746 container="${container}${dt}"
748 policy="$(build_ipv6_addr "${container}")"
751 container="${LCBLOCK_ADDR}${dt}"
752 decapsid="$(build_ipv6_addr "${container}")"
757 policy="$(build_ipv6_addr "${container}"),${decapsid}"
/linux-6.12.1/drivers/gpu/drm/
Ddrm_encoder.c248 void *container; in __drmm_encoder_alloc() local
253 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_encoder_alloc()
254 if (!container) in __drmm_encoder_alloc()
257 encoder = container + offset; in __drmm_encoder_alloc()
265 return container; in __drmm_encoder_alloc()
Ddrm_managed.c129 void drmm_add_final_kfree(struct drm_device *dev, void *container) in drmm_add_final_kfree() argument
132 WARN_ON(dev < (struct drm_device *) container); in drmm_add_final_kfree()
133 WARN_ON(dev + 1 > (struct drm_device *) (container + ksize(container))); in drmm_add_final_kfree()
134 dev->managed.final_kfree = container; in drmm_add_final_kfree()
Ddrm_drv.c721 void *container; in __devm_drm_dev_alloc() local
725 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc()
726 if (!container) in __devm_drm_dev_alloc()
729 drm = container + offset; in __devm_drm_dev_alloc()
732 kfree(container); in __devm_drm_dev_alloc()
735 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc()
737 return container; in __devm_drm_dev_alloc()
Ddrm_plane.c545 void *container; in __drmm_universal_plane_alloc() local
553 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_universal_plane_alloc()
554 if (!container) in __drmm_universal_plane_alloc()
557 plane = container + offset; in __drmm_universal_plane_alloc()
572 return container; in __drmm_universal_plane_alloc()
584 void *container; in __drm_universal_plane_alloc() local
592 container = kzalloc(size, GFP_KERNEL); in __drm_universal_plane_alloc()
593 if (!container) in __drm_universal_plane_alloc()
596 plane = container + offset; in __drm_universal_plane_alloc()
606 return container; in __drm_universal_plane_alloc()
[all …]
/linux-6.12.1/drivers/iommu/iommufd/
DKconfig16 bool "IOMMUFD provides the VFIO container /dev/vfio/vfio"
25 IOMMUFD VFIO container emulation is known to lack certain features
26 of the native VFIO container, such as peer-to-peer
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dsky81452.txt8 - backlight : container node for backlight following the binding
10 - regulator : container node for regulators following the binding
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c3945 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_show() local
3946 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_show()
3956 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_store() local
3957 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_store()
4003 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_show() local
4004 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_show()
4014 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_store() local
4015 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_store()
4063 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_show() local
4064 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_show()
[all …]
/linux-6.12.1/include/linux/
Dtransport_class.h40 struct attribute_container container; member
48 . container = { \
/linux-6.12.1/sound/soc/qcom/qdsp6/
Daudioreach.c351 struct audioreach_container *container, in apm_populate_module_list_obj() argument
358 obj->container_id = container->container_id; in apm_populate_module_list_obj()
359 obj->num_modules = container->num_modules; in apm_populate_module_list_obj()
361 list_for_each_entry(module, &container->modules_list, node) { in apm_populate_module_list_obj()
380 struct audioreach_container *container; in audioreach_populate_graph() local
405 list_for_each_entry(container, &sg->container_list, node) { in audioreach_populate_graph()
408 apm_populate_container_config(cobj, container); in audioreach_populate_graph()
409 apm_populate_module_list_obj(mlobj, container, sg->sub_graph_id); in audioreach_populate_graph()
411 list_for_each_entry(module, &container->modules_list, node) { in audioreach_populate_graph()
435 container->num_modules); in audioreach_populate_graph()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c81 struct list_head container; in send_packet_completion() local
84 INIT_LIST_HEAD(&container); in send_packet_completion()
85 list_add_tail(&packet->list, &container); in send_packet_completion()
88 do_send_completion(ep, &container); in send_packet_completion()
933 struct list_head container; in recv_packet_completion() local
934 INIT_LIST_HEAD(&container); in recv_packet_completion()
935 list_add_tail(&packet->list, &container); in recv_packet_completion()
938 do_recv_completion(ep, &container); in recv_packet_completion()
1097 struct list_head container; in htc_flush_rx_queue() local
1119 INIT_LIST_HEAD(&container); in htc_flush_rx_queue()
[all …]
/linux-6.12.1/drivers/gpu/drm/ci/
Dbuild.sh9 . .gitlab-ci/container/container_pre_build.sh
138 . .gitlab-ci/container/container_post_build.sh

12345