Home
last modified time | relevance | path

Searched full:container (Results 1 – 25 of 521) sorted by relevance

12345678910>>...21

/linux-6.12.1/drivers/vfio/
Dcontainer.c5 * VFIO container (/dev/vfio/vfio)
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()
141 * Container objects - containers are created when /dev/vfio/vfio is
143 * it's freed via kref. Must support container/group/device being
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()
[all …]
Dvfio_iommu_spapr_tce.c50 * A container needs to remember which preregistered region it has
59 * The container descriptor supports only a single group per container.
60 * Required by the API as the container is not supplied with the IOMMU group
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()
[all …]
Dgroup.c62 * There can only be users if there is a container, and if there is a in vfio_group_has_iommu()
63 * container there must be users. in vfio_group_has_iommu()
65 WARN_ON(!group->container != !group->container_users); in vfio_group_has_iommu()
67 return group->container || group->iommufd; in vfio_group_has_iommu()
72 * if there was no container to unset. Since the ioctl is called on
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(fd_file(f)); 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()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c35 vector->container = NULL; in dal_vector_construct()
38 /* Container must be non-zero size*/ 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()
64 /* Container must be non-zero size*/ 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()
[all …]
/linux-6.12.1/include/uapi/sound/
Dsnd_ar_tokens.h19 /* container capability ID Pre/Post Processing (PP) */
21 /* container capability ID Compression/Decompression (CD) */
23 /* container capability ID End Point(EP) */
25 /* container capability ID Offload (OLC) */
28 /* container graph position Stream */
30 /* container graph position Per Stream Per Device*/
32 /* container graph position Stream-Device */
34 /* container graph position Global Device */
75 * %AR_TKN_U32_CONTAINER_INSTANCE_ID: Container Instance ID
77 * %AR_TKN_U32_CONTAINER_CAPABILITY_ID: Container capability ID
[all …]
/linux-6.12.1/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-6.12.1/drivers/scsi/aacraid/
Dcommsup.c1066 u32 channel, id, lun, container; in aac_handle_aif() local
1075 /* Sniff for container changes */ in aac_handle_aif()
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()
[all …]
/linux-6.12.1/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-6.12.1/net/batman-adv/
Dtvlv.c47 * batadv_tvlv_handler_put() - decrement the tvlv container refcounter and
106 * batadv_tvlv_container_put() - decrement the tvlv container refcounter and
108 * @tvlv: the tvlv container to free
119 * batadv_tvlv_container_get() - retrieve tvlv container from the tvlv container
122 * @type: tvlv container type to look for
123 * @version: tvlv container version to look for
128 * Return: tvlv container if found or NULL otherwise.
153 * batadv_tvlv_container_list_size() - calculate the size of the tvlv container
178 * batadv_tvlv_container_remove() - remove tvlv container from the tvlv
179 * container list
[all …]
/linux-6.12.1/drivers/base/
Dattribute_container.c3 * attribute_container.c - implementation of a simple container for classes
24 * container .. it should never be visible outside this file */
47 * attribute_container_classdev_to_container - given a classdev, return the container
51 * Returns the container associated with this classdev.
67 * attribute_container_register - register an attribute container
69 * @cont: The container to register. This must be allocated by the
88 * attribute_container_unregister - remove a container registration
90 * @cont: previously registered container to remove
123 * attribute_container_add_device - see if any container is interested in dev
160 dev_err(dev, "failed to allocate class container\n"); in attribute_container_add_device()
[all …]
Dtransport_class.c21 * transport class<-----attribute container<----class device
23 * Usually the attribute container is per-HBA, but the design doesn't
85 * container. The idea of an anonymous class is that it never
87 * saves on container storage). So it can only be used for triggering
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.12.1/drivers/gpu/drm/omapdrm/
Dtcm.h2 * TILER container manager specification and support functions for TI
57 u16 width, height; /* container dimensions */
76 BASIC TILER CONTAINER MANAGER INTERFACE
86 * width and height fits within container
87 * number of pages is more than the size of the container
95 * Deinitialize tiler container manager.
97 * @param tcm Pointer to container manager.
111 * Reserves a 2D area in the container.
113 * @param tcm Pointer to container manager.
117 * all values may be supported by the container manager,
[all …]
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.h14 /* container for configuration view */
22 /* container for feature view */
28 /* container for parameter view */
35 /* container for preset view */
/linux-6.12.1/drivers/bus/fsl-mc/
Ddprc.c23 * @container_id: Container ID to open
84 * dprc_reset_container - Reset child container.
88 * @child_container_id: ID of the container to reset
90 * - 0 (no bits set) - all the objects inside the container are
94 * - bit 0 set - all the objects inside the container are reset.
98 * may wish to reset its resources container before the software context is
101 * This routine informs all objects assigned to the child container that the
102 * container is being reset, so they may perform any cleanup operations that are
103 * needed. All objects handles that were owned by the child container shall be
333 * dprc_get_attributes() - Obtains container attributes
[all …]
Dfsl-mc-private.h74 * Data Path Resource Container (DPRC) API
273 /* IRQ event - Indicates that a new object added to the container */
275 /* IRQ event - Indicates that an object was removed from the container */
279 * this container is destroyed
284 * IRQ event - Indicates that on one of the container's opened object is
289 /* Irq event - Indicates that object is created at the container */
335 * struct dprc_attributes - Container attributes
336 * @container_id: Container's ID
337 * @icid: Container's ICID
338 * @portal_id: Container's portal ID
[all …]
/linux-6.12.1/drivers/accel/habanalabs/common/
Dstate_dump.c60 * @size: pointer to the size container
158 * @size: pointer to the size container
159 * @offset: pointer to the offset container
302 * @size: pointer to the size container
303 * @offset: pointer to the offset container
388 * @size: pointer to the size container
389 * @offset: pointer to the offset container
505 * @size: pointer to the size container
506 * @offset: pointer to the offset container
556 * @size: pointer to the size container
[all …]
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_drv.h76 * @_dest_obj: The destination container object in kernel space.
77 * @_usr_size: The size of the source container in user space.
78 * @_src_usr_ptr: __u64 raw pointer to the source container in user space.
89 * @_dest_usr_ptr: __u64 raw pointer to the destination container in user space.
90 * @_usr_size: The size of the destination container in user space.
91 * @_src_obj: The source container object in kernel space.
/linux-6.12.1/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c327 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.12.1/include/linux/
Dposix-timers_types.h37 * posix_cputimer_base - Container per posix CPU clock
47 * posix_cputimers - Container for posix CPU timer related data
48 * @bases: Base container for posix CPU clocks
63 * posix_cputimers_work - Container for task work based posix CPU timer expiry
/linux-6.12.1/kernel/trace/
Dtrace_export.c46 #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.12.1/tools/testing/selftests/net/
Dsrv6_end_next_csid_l3vpn_test.sh24 # Compressed SID (C-SID) container. In this way, the length of the SID
116 # contained in a single Compressed SID (C-SID) container. Therefore the
121 # (C-SID) container, followed by a regular (non compressed) SID. The resulting
123 # SID when all the C-SIDs in a C-SID container have been processed. Using the
146 # C-SID container carrying several C-SIDs (e.g. 0400, 0300, etc).
150 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container
220 # Since the Argument of the C-SID container is zero, the behavior can not
274 # ID of the router used for testing the C-SID container cfgs
276 # Routing table used for testing the C-SID container cfgs
279 # C-SID container configurations to be tested
[all …]
Dsrv6_end_x_next_csid_l3vpn_test.sh26 # Compressed SID (C-SID) container. In this way, the length of the SID
119 # contained in a single Compressed SID (C-SID) container. Therefore the
124 # (C-SID) container, followed by a regular (non compressed) SID. The resulting
126 # SID when all the C-SIDs in a C-SID container have been processed. Using the
149 # C-SID container carrying several C-SIDs (e.g. 0300, 0200, etc).
153 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container
220 # Since the Argument of the C-SID container is zero, the behavior can not
254 # analyzes the IPv6 DA and checks whether the Argument of the C-SID container
275 # Since the Argument of the C-SID container is zero, the behavior can not
316 # ID of the router used for testing the C-SID container cfgs
[all …]
/linux-6.12.1/arch/x86/kernel/cpu/microcode/
Damd.c118 * This points to the current valid container of microcode patches which we will
130 * Microcode patch container file is prepended to the initrd in cpio
185 * Check whether there is a valid microcode container file at the beginning
193 pr_debug("Truncated microcode container header.\n"); in verify_container()
224 pr_debug("Wrong microcode container equivalence table type: %u.\n", in verify_equivalence_table()
264 pr_debug("Invalid type field (0x%x) in container file section header.\n", in __verify_patch_section()
382 * This scans the ucode blob for the proper container as we can have multiple
406 * doesn't contain a patch for the CPU, scan through the whole container in parse_container()
415 * Scan through the rest of the container to find where it ends. We do in parse_container()
426 * Patch verification failed, skip to the next container, if in parse_container()
[all …]
/linux-6.12.1/drivers/acpi/
Dcontainer.c3 * container.c - ACPI Generic Container Driver
13 #include <linux/container.h>
114 acpi_scan_add_handler_with_hotplug(&container_handler, "container"); in acpi_container_init()
/linux-6.12.1/sound/soc/qcom/qdsp6/
Daudioreach.c37 /* container config */
45 /* Container graph Position */
49 /* Container Stack size */
53 /* Container proc domain id */
290 /* Container Config */ in apm_populate_container_config()
351 struct audioreach_container *container, in apm_populate_module_list_obj() argument
358 obj->container_id = container->container_id; in apm_populate_module_list_obj()
359 obj->num_modules = container->num_modules; in apm_populate_module_list_obj()
361 list_for_each_entry(module, &container->modules_list, node) { in apm_populate_module_list_obj()
380 struct audioreach_container *container; in audioreach_populate_graph() local
[all …]

12345678910>>...21