Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/vfio/
Dvfio_iommu_spapr_tce.c73 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument
75 if (container->mm) { in tce_iommu_mm_set()
76 if (container->mm == current->mm) in tce_iommu_mm_set()
81 container->mm = current->mm; in tce_iommu_mm_set()
82 mmgrab(container->mm); in tce_iommu_mm_set()
87 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument
92 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free()
102 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument
113 mem = mm_iommu_get(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages()
117 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages()
[all …]
Dvfio.c75 struct vfio_container *container; member
355 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
357 kref_get(&container->kref); in vfio_container_get()
362 struct vfio_container *container; in vfio_container_release() local
363 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
365 kfree(container); in vfio_container_release()
368 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
370 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
1011 wait_event(group->container_q, !group->container); in vfio_unregister_group_dev()
1021 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c37 vector->container = NULL; in dal_vector_construct()
45 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
46 if (vector->container == NULL) in dal_vector_construct()
64 vector->container = NULL; in dal_vector_presized_costruct()
72 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
74 if (vector->container == NULL) in dal_vector_presized_costruct()
83 vector->container + i * struct_size, in dal_vector_presized_costruct()
135 kfree(vector->container); in dal_vector_destruct()
160 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index()
162 return vector->container + (index * vector->struct_size); in dal_vector_at_index()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c299 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument
301 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container()
309 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local
315 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages()
319 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
334 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local
336 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string()
337 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
906 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local
908 size = sizeof(*container); in ast_vhub_str_container_alloc()
[all …]
/Linux-v5.15/kernel/trace/
Dtrace_export.c46 #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-v5.15/drivers/gpu/drm/
Ddrm_encoder.c219 void *container; in __drmm_encoder_alloc() local
227 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_encoder_alloc()
228 if (!container) in __drmm_encoder_alloc()
231 encoder = container + offset; in __drmm_encoder_alloc()
243 return container; in __drmm_encoder_alloc()
Ddrm_managed.c128 void drmm_add_final_kfree(struct drm_device *dev, void *container) in drmm_add_final_kfree() argument
131 WARN_ON(dev < (struct drm_device *) container); in drmm_add_final_kfree()
132 WARN_ON(dev + 1 > (struct drm_device *) (container + ksize(container))); in drmm_add_final_kfree()
133 dev->managed.final_kfree = container; in drmm_add_final_kfree()
Ddrm_drv.c686 void *container; in __devm_drm_dev_alloc() local
690 container = kzalloc(size, GFP_KERNEL); in __devm_drm_dev_alloc()
691 if (!container) in __devm_drm_dev_alloc()
694 drm = container + offset; in __devm_drm_dev_alloc()
697 kfree(container); in __devm_drm_dev_alloc()
700 drmm_add_final_kfree(drm, container); in __devm_drm_dev_alloc()
702 return container; in __devm_drm_dev_alloc()
Ddrm_crtc.c386 void *container; in __drmm_crtc_alloc_with_planes() local
394 container = drmm_kzalloc(dev, size, GFP_KERNEL); in __drmm_crtc_alloc_with_planes()
395 if (!container) in __drmm_crtc_alloc_with_planes()
398 crtc = container + offset; in __drmm_crtc_alloc_with_planes()
412 return container; in __drmm_crtc_alloc_with_planes()
/Linux-v5.15/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()
DMakefile8 topology.o container.o property.o cacheinfo.o \
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dsky81452.txt8 - backlight : container node for backlight following the binding
10 - regulator : container node for regulators following the binding
Dbrcm,bcm59056.txt16 - regulators: container node for regulators following the generic
/Linux-v5.15/include/linux/
Dtransport_class.h40 struct attribute_container container; member
48 . container = { \
/Linux-v5.15/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()
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-v5.15/Documentation/devicetree/bindings/net/
Dmscc-ocelot.txt24 - ethernet-ports: A container for child nodes representing switch ports.
26 The ethernet-ports container has the following properties
Dlpc-eth.txt14 - mdio : specifies the mdio bus, used as a container for phy nodes according to
/Linux-v5.15/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Doverview.rst83 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
268 same container/DPRC share the same 'device-id'.
279 As described previously, a DPRC is a container that holds the other
349 and handles interrupts for container events such as hot plug by
/Linux-v5.15/Documentation/driver-api/driver-model/
Ddesign-patterns.rst21 The most common way to achieve this is to use the state container design
41 called. This is our state container for this instance of the device driver.
/Linux-v5.15/sound/core/
Dcontrol.c1343 unsigned int *container; in replace_user_tlv() local
1355 container = vmemdup_user(buf, size); in replace_user_tlv()
1356 if (IS_ERR(container)) in replace_user_tlv()
1357 return PTR_ERR(container); in replace_user_tlv()
1361 change = memcmp(ue->tlv_data, container, size) != 0; in replace_user_tlv()
1363 kvfree(container); in replace_user_tlv()
1378 ue->tlv_data = container; in replace_user_tlv()
1722 unsigned int __user *container; in snd_ctl_tlv_ioctl() local
1739 container = buf->tlv; in snd_ctl_tlv_ioctl()
1751 return call_tlv_handler(file, op_flag, kctl, &id, container, in snd_ctl_tlv_ioctl()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/include/
Dvector.h30 uint8_t *container; member
/Linux-v5.15/arch/s390/include/asm/
Dsysinfo.h174 struct topology_container container; member

12345