Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/vfio/
Dvfio_iommu_spapr_tce.c120 static long tce_iommu_mm_set(struct tce_container *container) in tce_iommu_mm_set() argument
122 if (container->mm) { in tce_iommu_mm_set()
123 if (container->mm == current->mm) in tce_iommu_mm_set()
128 container->mm = current->mm; in tce_iommu_mm_set()
129 atomic_inc(&container->mm->mm_count); in tce_iommu_mm_set()
134 static long tce_iommu_prereg_free(struct tce_container *container, in tce_iommu_prereg_free() argument
139 ret = mm_iommu_put(container->mm, tcemem->mem); in tce_iommu_prereg_free()
149 static long tce_iommu_unregister_pages(struct tce_container *container, in tce_iommu_unregister_pages() argument
159 mem = mm_iommu_find(container->mm, vaddr, size >> PAGE_SHIFT); in tce_iommu_unregister_pages()
163 list_for_each_entry(tcemem, &container->prereg_list, next) { in tce_iommu_unregister_pages()
[all …]
Dvfio.c78 struct vfio_container *container; member
293 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
295 kref_get(&container->kref); in vfio_container_get()
300 struct vfio_container *container; in vfio_container_release() local
301 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
303 kfree(container); in vfio_container_release()
306 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
308 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
1009 wait_event(group->container_q, !group->container); in vfio_del_group_dev()
1020 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
[all …]
/Linux-v4.19/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()
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-v4.19/drivers/scsi/aacraid/
Dcommsup.c1080 u32 channel, id, lun, container; in aac_handle_aif() local
1093 container = channel = id = lun = (u32)-1; in aac_handle_aif()
1105 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); in aac_handle_aif()
1106 if ((container >> 28)) { in aac_handle_aif()
1107 container = (u32)-1; in aac_handle_aif()
1110 channel = (container >> 24) & 0xF; in aac_handle_aif()
1112 container = (u32)-1; in aac_handle_aif()
1115 id = container & 0xFFFF; in aac_handle_aif()
1117 container = (u32)-1; in aac_handle_aif()
1120 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
/Linux-v4.19/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-v4.19/Documentation/
Dvfio.txt80 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-v4.19/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-v4.19/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-v4.19/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-v4.19/include/linux/
Dtransport_class.h41 struct attribute_container container; member
49 . container = { \
/Linux-v4.19/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()
937 struct list_head container; in recv_packet_completion() local
938 INIT_LIST_HEAD(&container); in recv_packet_completion()
939 list_add_tail(&packet->list, &container); in recv_packet_completion()
942 do_recv_completion(ep, &container); in recv_packet_completion()
1101 struct list_head container; in htc_flush_rx_queue() local
1123 INIT_LIST_HEAD(&container); in htc_flush_rx_queue()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dmscc-ocelot.txt23 - ethernet-ports: A container for child nodes representing switch ports.
25 The ethernet-ports container has the following properties
/Linux-v4.19/Documentation/networking/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-v4.19/sound/core/
Dcontrol.c1124 unsigned int *container; in replace_user_tlv() local
1133 container = vmemdup_user(buf, size); in replace_user_tlv()
1134 if (IS_ERR(container)) in replace_user_tlv()
1135 return PTR_ERR(container); in replace_user_tlv()
1139 change = memcmp(ue->tlv_data, container, size) != 0; in replace_user_tlv()
1141 kvfree(container); in replace_user_tlv()
1153 ue->tlv_data = container; in replace_user_tlv()
1495 unsigned int __user *container; in snd_ctl_tlv_ioctl() local
1512 container = buf->tlv; in snd_ctl_tlv_ioctl()
1524 return call_tlv_handler(file, op_flag, kctl, &id, container, in snd_ctl_tlv_ioctl()
[all …]
/Linux-v4.19/Documentation/driver-model/
Ddesign-patterns.txt21 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-v4.19/drivers/gpu/drm/amd/display/include/
Dvector.h30 uint8_t *container; member
/Linux-v4.19/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-v4.19/arch/s390/include/asm/
Dsysinfo.h174 struct topology_container container; member
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-iio-cros-ec28 layer (sensor HAL) through the Android container on ChromeOS.
/Linux-v4.19/lib/xz/
DKconfig6 the .xz file format as the container. For integrity checking,
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dti,da850-pupd.txt12 The controller node also acts as a container for pin group configuration nodes.
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/
Dbman-portals.txt38 The example below shows a (P4080) BMan portals container/bus node with two portals
/Linux-v4.19/Documentation/trace/
Dkprobetrace.rst68 kernel space. This means it will fail and store NULL if the string container
71 offset, and container-size (usually 32). The syntax is::
73 b<bit-width>@<bit-offset>/<container-size>

12345