Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v5.15/drivers/vfio/
Dvfio_iommu_spapr_tce.c48 * A container needs to remember which preregistered region it has
57 * The container descriptor supports only a single group per container.
58 * Required by the API as the container is not supplied with the IOMMU group
73 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()
[all …]
Dvfio.c75 struct vfio_container *container; member
350 * Container objects - containers are created when /dev/vfio/vfio is
352 * it's freed via kref. Must support container/group/device being
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()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/basics/
Dvector.c37 vector->container = NULL; in dal_vector_construct()
40 /* Container must be non-zero size*/ 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()
67 /* Container must be non-zero size*/ 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()
[all …]
/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/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-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/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-v5.15/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-v5.15/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-v5.15/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.h14 /* container for configuration view */
20 /* container for feature view */
26 /* container for parameter view */
33 /* container for preset view */
/Linux-v5.15/drivers/bus/fsl-mc/
Dfsl-mc-private.h75 * Data Path Resource Container (DPRC) API
275 /* IRQ event - Indicates that a new object added to the container */
277 /* IRQ event - Indicates that an object was removed from the container */
281 * this container is destroyed
286 * IRQ event - Indicates that on one of the container's opened object is
291 /* Irq event - Indicates that object is created at the container */
337 * struct dprc_attributes - Container attributes
338 * @container_id: Container's ID
339 * @icid: Container's ICID
340 * @portal_id: Container's portal ID
[all …]
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 …]
/Linux-v5.15/drivers/misc/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-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/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/arch/x86/kernel/cpu/microcode/
Damd.c45 * This points to the current valid container of microcode patches which we will
61 * Microcode patch container file is prepended to the initrd in cpio
86 * Check whether there is a valid microcode container file at the beginning
95 pr_debug("Truncated microcode container header.\n"); in verify_container()
127 pr_debug("Wrong microcode container equivalence table type: %u.\n", in verify_equivalence_table()
174 pr_debug("Invalid type field (0x%x) in container file section header.\n", in __verify_patch_section()
289 * This scans the ucode blob for the proper container as we can have multiple
313 * doesn't contain a patch for the CPU, scan through the whole container in parse_container()
322 * Scan through the rest of the container to find where it ends. We do in parse_container()
334 * container, if there's one: in parse_container()
[all …]
/Linux-v5.15/drivers/acpi/
Dcontainer.c3 * container.c - ACPI Generic Container Driver
13 #include <linux/container.h>
113 acpi_scan_add_handler_with_hotplug(&container_handler, "container"); in acpi_container_init()
/Linux-v5.15/drivers/s390/scsi/
Dzfcp_fc.h58 * struct zfcp_fc_gid_pn_req - container for ct header plus gid_pn request
68 * struct zfcp_fc_gid_pn_rsp - container for ct header plus gid_pn response
78 * struct zfcp_fc_gpn_ft - container for ct header plus gpn_ft request
88 * struct zfcp_fc_gspn_req - container for ct header plus GSPN_ID request
98 * struct zfcp_fc_gspn_rsp - container for ct header plus GSPN_ID response
110 * struct zfcp_fc_rspn_req - container for ct header plus RSPN_ID request
122 * struct zfcp_fc_req - Container for FC ELS and CT requests sent from zfcp
/Linux-v5.15/Documentation/driver-api/driver-model/
Ddesign-patterns.rst9 1. State Container
13 1. State Container
21 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/include/linux/
Dtransport_class.h3 * transport_class.h - a generic container for all transport classes
40 struct attribute_container container; member
48 . container = { \
Dcontainer.h3 * Definitions for container bus type.
14 /* drivers/base/power/container.c */
/Linux-v5.15/drivers/gpu/drm/amd/display/include/
Dvector.h30 uint8_t *container; member
66 * reallocate container if necessary
68 * return if the container modified
69 * do not check that index belongs to container
/Linux-v5.15/drivers/gpu/drm/
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()
/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

12345678910>>...18