Home
last modified time | relevance | path

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

12345

/Linux-v5.4/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 atomic_inc(&container->mm->mm_count); 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.c76 struct vfio_container *container; member
291 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
293 kref_get(&container->kref); in vfio_container_get()
298 struct vfio_container *container; in vfio_container_release() local
299 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
301 kfree(container); in vfio_container_release()
304 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
306 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
993 wait_event(group->container_q, !group->container); in vfio_del_group_dev()
1004 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
[all …]
/Linux-v5.4/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.4/drivers/scsi/aacraid/
Dcommsup.c1065 u32 channel, id, lun, container; in aac_handle_aif() local
1078 container = channel = id = lun = (u32)-1; in aac_handle_aif()
1090 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1091 if ((container >> 28)) { in aac_handle_aif()
1092 container = (u32)-1; in aac_handle_aif()
1095 channel = (container >> 24) & 0xF; in aac_handle_aif()
1097 container = (u32)-1; in aac_handle_aif()
1100 id = container & 0xFFFF; in aac_handle_aif()
1102 container = (u32)-1; in aac_handle_aif()
1105 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
/Linux-v5.4/kernel/trace/
Dtrace_export.c45 #define __field_desc(type, container, item) type item; argument
51 #define __array_desc(type, container, item, size) type item[size]; argument
92 #define __field_desc(type, container, item) \ argument
95 container.item), \
96 sizeof(field.container.item), \
115 #define __array_desc(type, container, item, len) \ argument
119 container.item), \
120 sizeof(field.container.item), \
156 #define __field_desc(type, container, item) argument
162 #define __array_desc(type, container, item, len) argument
/Linux-v5.4/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.4/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.4/drivers/base/
Dtransport_class.c90 atc->container.class = &atc->tclass.class; in anon_transport_class_register()
91 attribute_container_set_no_classdevs(&atc->container); in anon_transport_class_register()
92 error = attribute_container_register(&atc->container); in anon_transport_class_register()
111 if (unlikely(attribute_container_unregister(&atc->container))) in anon_transport_class_unregister()
DMakefile8 topology.o container.o property.o cacheinfo.o \
/Linux-v5.4/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.4/include/linux/
Dtransport_class.h40 struct attribute_container container; member
48 . container = { \
/Linux-v5.4/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.4/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
/Linux-v5.4/Documentation/networking/device_drivers/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.4/sound/core/
Dcontrol.c1093 unsigned int *container; in replace_user_tlv() local
1102 container = vmemdup_user(buf, size); in replace_user_tlv()
1103 if (IS_ERR(container)) in replace_user_tlv()
1104 return PTR_ERR(container); in replace_user_tlv()
1108 change = memcmp(ue->tlv_data, container, size) != 0; in replace_user_tlv()
1110 kvfree(container); in replace_user_tlv()
1122 ue->tlv_data = container; in replace_user_tlv()
1467 unsigned int __user *container; in snd_ctl_tlv_ioctl() local
1484 container = buf->tlv; in snd_ctl_tlv_ioctl()
1496 return call_tlv_handler(file, op_flag, kctl, &id, container, in snd_ctl_tlv_ioctl()
[all …]
/Linux-v5.4/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.4/arch/s390/kernel/
Dtopology.c189 drawer->id = tle->container.id; in tl_to_masks()
193 book->id = tle->container.id; in tl_to_masks()
197 socket->id = tle->container.id; in tl_to_masks()
/Linux-v5.4/drivers/gpu/drm/amd/display/include/
Dvector.h30 uint8_t *container; member
/Linux-v5.4/arch/s390/include/asm/
Dsysinfo.h174 struct topology_container container; member
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-iio-cros-ec28 HAL) through the Android container on ChromeOS.
/Linux-v5.4/Documentation/devicetree/bindings/net/dsa/
Ddsa.txt12 - ports : A container for child nodes representing switch ports.
22 The ports container has the following properties
/Linux-v5.4/Documentation/devicetree/bindings/soc/fsl/
Dbman-portals.txt38 The example below shows a (P4080) BMan portals container/bus node with two portals
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dti,da850-pupd.txt12 The controller node also acts as a container for pin group configuration nodes.
/Linux-v5.4/lib/xz/
DKconfig7 the .xz file format as the container. For integrity checking,

12345