/linux-6.6.21/drivers/vfio/ |
D | container.c | 80 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 …]
|
D | vfio_iommu_spapr_tce.c | 75 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 …]
|
D | group.c | 65 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(f.file); 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() 486 if (group->container) in vfio_group_fops_release() 756 if (group->container) in vfio_device_remove_group() 788 if (WARN_ON(!group->container)) in vfio_device_group_use_iommu() [all …]
|
D | vfio.h | 82 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.6.21/drivers/gpu/drm/amd/display/dc/basics/ |
D | vector.c | 35 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.6.21/drivers/scsi/aacraid/ |
D | commsup.c | 1066 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.6.21/Documentation/security/tpm/ |
D | tpm_vtpm_proxy.rst | 15 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.6.21/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 327 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.6.21/drivers/gpu/drm/tests/ |
D | drm_kunit_helpers.c | 132 void *container; in __drm_kunit_helper_alloc_drm_device_with_driver() local 135 container = __devm_drm_dev_alloc(dev, driver, size, offset); in __drm_kunit_helper_alloc_drm_device_with_driver() 136 if (IS_ERR(container)) in __drm_kunit_helper_alloc_drm_device_with_driver() 137 return ERR_CAST(container); in __drm_kunit_helper_alloc_drm_device_with_driver() 139 drm = container + offset; in __drm_kunit_helper_alloc_drm_device_with_driver()
|
/linux-6.6.21/Documentation/driver-api/ |
D | vfio.rst | 80 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.6.21/kernel/trace/ |
D | trace_export.c | 46 #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.6.21/drivers/gpu/drm/ |
D | drm_managed.c | 129 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()
|
D | drm_encoder.c | 244 void *container; in __drmm_encoder_alloc() local 249 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_encoder_alloc() 250 if (!container) in __drmm_encoder_alloc() 253 encoder = container + offset; in __drmm_encoder_alloc() 261 return container; in __drmm_encoder_alloc()
|
D | drm_drv.c | 731 void *container; in __devm_drm_dev_alloc() local 735 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc() 736 if (!container) in __devm_drm_dev_alloc() 739 drm = container + offset; in __devm_drm_dev_alloc() 742 kfree(container); in __devm_drm_dev_alloc() 745 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc() 747 return container; in __devm_drm_dev_alloc()
|
D | drm_plane.c | 425 void *container; in __drmm_universal_plane_alloc() local 433 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_universal_plane_alloc() 434 if (!container) in __drmm_universal_plane_alloc() 437 plane = container + offset; in __drmm_universal_plane_alloc() 452 return container; in __drmm_universal_plane_alloc() 464 void *container; in __drm_universal_plane_alloc() local 472 container = kzalloc(size, GFP_KERNEL); in __drm_universal_plane_alloc() 473 if (!container) in __drm_universal_plane_alloc() 476 plane = container + offset; in __drm_universal_plane_alloc() 486 return container; in __drm_universal_plane_alloc() [all …]
|
/linux-6.6.21/drivers/base/ |
D | transport_class.c | 94 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.6.21/tools/testing/selftests/net/ |
D | srv6_end_next_csid_l3vpn_test.sh | 663 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}"
|
D | srv6_end_x_next_csid_l3vpn_test.sh | 723 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.6.21/drivers/iommu/iommufd/ |
D | Kconfig | 16 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.6.21/Documentation/devicetree/bindings/mfd/ |
D | sky81452.txt | 8 - backlight : container node for backlight following the binding 10 - regulator : container node for regulators following the binding
|
/linux-6.6.21/include/linux/ |
D | transport_class.h | 40 struct attribute_container container; member 48 . container = { \
|
/linux-6.6.21/sound/soc/qcom/qdsp6/ |
D | audioreach.c | 335 struct audioreach_container *container, in apm_populate_module_list_obj() argument 342 obj->container_id = container->container_id; in apm_populate_module_list_obj() 343 obj->num_modules = container->num_modules; in apm_populate_module_list_obj() 345 list_for_each_entry(module, &container->modules_list, node) { in apm_populate_module_list_obj() 364 struct audioreach_container *container; in audioreach_populate_graph() local 389 list_for_each_entry(container, &sg->container_list, node) { in audioreach_populate_graph() 392 apm_populate_container_config(cobj, container); in audioreach_populate_graph() 393 apm_populate_module_list_obj(mlobj, container, sg->sub_graph_id); in audioreach_populate_graph() 395 list_for_each_entry(module, &container->modules_list, node) { in audioreach_populate_graph() 419 container->num_modules); in audioreach_populate_graph() [all …]
|
/linux-6.6.21/drivers/gpu/drm/ci/ |
D | container.yml | 1 .container: 22 # Disable container jobs that we won't use
|
D | build.sh | 9 . .gitlab-ci/container/container_pre_build.sh 125 . .gitlab-ci/container/container_post_build.sh
|
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 81 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() 934 struct list_head container; in recv_packet_completion() local 935 INIT_LIST_HEAD(&container); in recv_packet_completion() 936 list_add_tail(&packet->list, &container); in recv_packet_completion() 939 do_recv_completion(ep, &container); in recv_packet_completion() 1098 struct list_head container; in htc_flush_rx_queue() local 1120 INIT_LIST_HEAD(&container); in htc_flush_rx_queue() [all …]
|