| /Linux-v6.1/drivers/vfio/ |
| D | vfio_iommu_spapr_tce.c | 74 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument 76 if (container->mm) { in tce_iommu_mm_set() 77 if (container->mm == current->mm) in tce_iommu_mm_set() 82 container->mm = current->mm; in tce_iommu_mm_set() 83 mmgrab(container->mm); in tce_iommu_mm_set() 88 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument 93 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free() 103 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument 114 mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages() 118 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages() [all …]
|
| D | container.c | 87 static bool vfio_iommu_driver_allowed(struct vfio_container *container, in vfio_iommu_driver_allowed() argument 92 return container->noiommu == (driver->ops == &vfio_noiommu_ops); in vfio_iommu_driver_allowed() 155 struct vfio_container *container; in vfio_container_release() local 156 container = container_of(kref, struct vfio_container, kref); in vfio_container_release() 158 kfree(container); in vfio_container_release() 161 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument 163 kref_get(&container->kref); in vfio_container_get() 166 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument 168 kref_put(&container->kref, vfio_container_release); in vfio_container_put() 174 device->group->container->iommu_driver; in vfio_device_container_register() [all …]
|
| D | vfio.h | 53 struct vfio_container *container; member 117 int vfio_container_attach_group(struct vfio_container *container, 122 long vfio_container_ioctl_check_extension(struct vfio_container *container,
|
| D | vfio_main.c | 300 if (group->container) in vfio_device_remove_group() 689 if (!group->container) { in vfio_group_ioctl_unset_container() 707 struct vfio_container *container; in vfio_group_ioctl_set_container() local 720 if (group->container || WARN_ON(group->container_users)) { in vfio_group_ioctl_set_container() 729 container = vfio_container_from_file(f.file); in vfio_group_ioctl_set_container() 731 if (container) { in vfio_group_ioctl_set_container() 732 ret = vfio_container_attach_group(container, group); in vfio_group_ioctl_set_container() 895 if (group->container) in vfio_group_ioctl_get_status() 976 if (group->container) in vfio_group_fops_release() 1638 if (group->container) { in vfio_file_enforced_coherent() [all …]
|
| D | Makefile | 8 container.o
|
| /Linux-v6.1/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() 62 vector->container = NULL; in dal_vector_presized_costruct() 70 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct() 72 if (vector->container == NULL) in dal_vector_presized_costruct() 81 vector->container + i * struct_size, in dal_vector_presized_costruct() 133 kfree(vector->container); in dal_vector_destruct() 158 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index() 160 return vector->container + (index * vector->struct_size); in dal_vector_at_index() [all …]
|
| /Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/usb/gadget/udc/aspeed-vhub/ |
| D | hub.c | 328 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument 330 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container() 338 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local 344 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages() 348 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages() 363 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local 365 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string() 366 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string() 937 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local 939 size = sizeof(*container); in ast_vhub_str_container_alloc() [all …]
|
| /Linux-v6.1/sound/soc/qcom/qdsp6/ |
| D | audioreach.c | 336 struct audioreach_container *container) in audioreach_get_container_last_module() argument 340 list_for_each_entry(module, &container->modules_list, node) { in audioreach_get_container_last_module() 349 static bool is_module_in_container(struct audioreach_container *container, int module_iid) in is_module_in_container() argument 353 list_for_each_entry(module, &container->modules_list, node) { in is_module_in_container() 362 struct audioreach_container *container) in audioreach_get_container_first_module() argument 367 list_for_each_entry(module, &container->modules_list, node) { in audioreach_get_container_first_module() 369 !is_module_in_container(container, module->src_mod_inst_id)) in audioreach_get_container_first_module() 377 struct audioreach_container *container, in audioreach_get_container_next_module() argument 383 list_for_each_entry(nmodule, &container->modules_list, node) { in audioreach_get_container_next_module() 393 struct audioreach_container *container, in apm_populate_module_list_obj() argument [all …]
|
| D | q6apm.c | 165 struct audioreach_container *container; in __q6apm_find_module_by_mid() local 170 list_for_each_entry(container, &sgs->container_list, node) { in __q6apm_find_module_by_mid() 171 list_for_each_entry(module, &container->modules_list, node) { in __q6apm_find_module_by_mid() 183 struct audioreach_container *container; in q6apm_graph_get_last_module() local 193 container = list_last_entry(&sg->container_list, struct audioreach_container, node); in q6apm_graph_get_last_module() 194 module = audioreach_get_container_last_module(container); in q6apm_graph_get_last_module() 201 struct audioreach_container *container; in q6apm_graph_get_first_module() local 211 container = list_first_entry(&sg->container_list, struct audioreach_container, node); in q6apm_graph_get_first_module() 212 module = audioreach_get_container_first_module(container); in q6apm_graph_get_first_module() 374 struct audioreach_container *container; in q6apm_graph_media_format_pcm() local [all …]
|
| D | audioreach.h | 668 struct audioreach_container *container; member 721 struct audioreach_container *container); 723 struct audioreach_container *container); 725 struct audioreach_container *container,
|
| /Linux-v6.1/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 55 #define __array_desc(type, container, item, size) type item[size]; argument 143 #define __field_desc(type, container, item) argument 146 #define __field_packed(type, container, item) argument 152 #define __array_desc(type, container, item, len) argument
|
| /Linux-v6.1/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-v6.1/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 | 690 void *container; in __devm_drm_dev_alloc() local 694 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc() 695 if (!container) in __devm_drm_dev_alloc() 698 drm = container + offset; in __devm_drm_dev_alloc() 701 kfree(container); in __devm_drm_dev_alloc() 704 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc() 706 return container; in __devm_drm_dev_alloc()
|
| D | drm_plane.c | 420 void *container; in __drmm_universal_plane_alloc() local 428 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_universal_plane_alloc() 429 if (!container) in __drmm_universal_plane_alloc() 432 plane = container + offset; in __drmm_universal_plane_alloc() 447 return container; in __drmm_universal_plane_alloc() 459 void *container; in __drm_universal_plane_alloc() local 467 container = kzalloc(size, GFP_KERNEL); in __drm_universal_plane_alloc() 468 if (!container) in __drm_universal_plane_alloc() 471 plane = container + offset; in __drm_universal_plane_alloc() 481 return container; in __drm_universal_plane_alloc() [all …]
|
| D | drm_crtc.c | 463 void *container; in __drmm_crtc_alloc_with_planes() local 471 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_crtc_alloc_with_planes() 472 if (!container) in __drmm_crtc_alloc_with_planes() 475 crtc = container + offset; in __drmm_crtc_alloc_with_planes() 484 return container; in __drmm_crtc_alloc_with_planes()
|
| /Linux-v6.1/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}"
|
| /Linux-v6.1/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-v6.1/include/linux/ |
| D | transport_class.h | 40 struct attribute_container container; member 48 . container = { \
|
| /Linux-v6.1/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 …]
|
| /Linux-v6.1/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
| D | overview.rst | 83 A DPRC is a container object that holds all the other 86 in the container. 124 All objects in a container share the same hardware "isolation context". 126 is at the DPRC (container) level, not at the individual object 269 same container/DPRC share the same 'device-id'. 280 As described previously, a DPRC is a container that holds the other 350 and handles interrupts for container events such as hot plug by
|