/openbmc/linux/drivers/vfio/ |
H A D | container.c | 5 * 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 …]
|
H A D | vfio_iommu_spapr_tce.c | 50 * 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 …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Container_v1.xml | 4 <!--# Redfish Schema: Container v1.0.1 --> 40 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container"> 44 <EntityType Name="Container" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 45 …Annotation Term="OData.Description" String="The `Container` schema represents an instance of a con… 46 …LongDescription" String="This resource shall represent an instance of a container that is running … 72 <Annotation Term="OData.Description" String="This action resets the container."/> 73 <Annotation Term="OData.LongDescription" String="This action shall reset the container."/> 74 <Parameter Name="Container" Type="Container.v1_0_0.Actions"/> 77 …container. `GracefulShutdown` and `ForceOff` shall indicate requests to stop or disable the conta… 82 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Container.v1_0_0"> [all …]
|
H A D | ContainerImage_v1.xml | 35 <edmx:Include Namespace="Container"/> 45 …rm="OData.Description" String="The `ContainerImage` schema represents a container image available … 46 …<Annotation Term="OData.LongDescription" String="This resource shall represent a container image a… 81 <Annotation Term="OData.Description" String="OCI (Open Container Initiative)."/> 82 …ription" String="This value shall indicate an Open Container Specification-defined OCI (Open Conta… 98 <Annotation Term="OData.Description" String="The image type of this container image."/> 99 …iption" String="This property shall contain the supported image types for this container engine."/> 108 …<Annotation Term="OData.Description" String="The date and time when the container image was create… 109 …iption" String="This property shall indicate the date and time when the container image was create… 113 …nnotation Term="OData.Description" String="The programmatic identifier for this container image."/> [all …]
|
/openbmc/telemetry/src/utils/ |
H A D | contains.hpp | 12 requires(T container) { container.find(container.begin()->first); }; 16 requires(T container) { container.contains(*container.begin()); }; 21 inline bool contains(const T& container, in contains() argument 24 return container.find(key) != container.end(); in contains() 28 inline bool contains(const T& container, const typename T::value_type& key) in contains() argument 30 return container.contains(key); in contains() 34 inline bool contains(const T& container, const typename T::value_type& key) in contains() argument 36 return std::find(container.begin(), container.end(), key) != in contains() 37 container.end(); in contains()
|
H A D | transform.hpp | 16 template <template <class, class...> class R, class Container, class Functor> 17 inline auto transform(const Container& container, Functor&& f) in transform() argument 19 auto result = R<decltype(f(*container.begin()))>{}; in transform() 23 result.reserve(container.size()); in transform() 26 std::transform(container.begin(), container.end(), in transform() 33 template <template <class, class...> class Container, class Functor, 35 inline auto transform(const Container<Args...>& container, Functor&& f) in transform() argument 37 return transform<Container, Container<Args...>, Functor>( in transform() 38 container, std::forward<Functor>(f)); in transform()
|
/openbmc/qemu/.gitlab-ci.d/ |
H A D | container-cross.yml | 1 amd64-debian-cross-container: 7 amd64-debian-user-cross-container: 13 amd64-debian-legacy-cross-container: 19 arm64-debian-cross-container: 25 armhf-debian-cross-container: 31 hexagon-cross-container: 37 loongarch-debian-cross-container: 43 i686-debian-cross-container: 49 mips64el-debian-cross-container: 55 mipsel-debian-cross-container: [all …]
|
H A D | crossbuilds.yml | 7 job: armhf-debian-cross-container 14 job: arm64-debian-cross-container 21 job: arm64-debian-cross-container 28 job: arm64-debian-cross-container 38 job: i686-debian-cross-container 49 job: i686-debian-cross-container 60 job: i686-debian-cross-container 74 job: mipsel-debian-cross-container 81 job: mipsel-debian-cross-container 88 job: mips64el-debian-cross-container [all …]
|
H A D | containers.yml | 2 - local: '/.gitlab-ci.d/container-core.yml' 3 - local: '/.gitlab-ci.d/container-cross.yml' 5 amd64-alpine-container: 10 amd64-debian-container: 16 amd64-ubuntu2204-container: 21 amd64-opensuse-leap-container: 26 python-container: 31 amd64-fedora-rust-nightly-container:
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Container.v1_0_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Container.v1_0_1.json", 3 "$ref": "#/definitions/Container", 26 "#Container.Reset": { 37 "Container": { object 39 …"description": "The `Container` schema represents an instance of a container that is running on a … 40 …"longDescription": "This resource shall represent an instance of a container that is running on a … 86 …"description": "The link to the collection of Ethernet interfaces associated with this container.", 96 "description": "The resource limits allocated to this container.", 97 … "longDescription": "This property shall contain the resource limits allocated to this container." 105 "description": "The file system mount points configured for this container.", [all …]
|
H A D | ContainerImage.v1_0_1.json | 36 …"description": "The `ContainerImage` schema represents a container image available to a computer s… 37 …"longDescription": "This resource shall represent a container image available to a computer system… 71 "description": "The date and time when the container image was created.", 73 …gDescription": "This property shall indicate the date and time when the container image was create… 110 "description": "The programmatic identifier for this container image.", 111 …mmatic identifier for this container image. This is typically a hash string that represents the i… 119 "description": "The size of this container image in bytes.", 120 … "longDescription": "This property shall contain the size of this container image in bytes.", 142 "description": "The image type of this container image.", 143 …ngDescription": "This property shall contain the supported image types for this container engine.", [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | spapr.c | 28 VFIOContainer container; member 57 VFIOContainer *container = &scontainer->container; in vfio_prereg_listener_region_add() local 58 VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_prereg_listener_region_add() 93 ret = ioctl(container->fd, VFIO_IOMMU_SPAPR_REGISTER_MEMORY, ®); in vfio_prereg_listener_region_add() 97 * On the initfn path, store the first error in the container so we in vfio_prereg_listener_region_add() 117 VFIOContainer *container = &scontainer->container; in vfio_prereg_listener_region_del() local 150 ret = ioctl(container->fd, VFIO_IOMMU_SPAPR_UNREGISTER_MEMORY, ®); in vfio_prereg_listener_region_del() 198 static VFIOHostDMAWindow *vfio_find_hostwin(VFIOSpaprContainer *container, in vfio_find_hostwin() argument 204 QLIST_FOREACH(hostwin, &container->hostwin_list, hostwin_next) { in vfio_find_hostwin() 214 static int vfio_spapr_remove_window(VFIOContainer *container, in vfio_spapr_remove_window() argument [all …]
|
H A D | iommufd.c | 2 * iommufd container backend 33 const VFIOIOMMUFDContainer *container = in iommufd_cdev_map() local 36 return iommufd_backend_map_dma(container->be, in iommufd_cdev_map() 37 container->ioas_id, in iommufd_cdev_map() 45 const VFIOIOMMUFDContainer *container = in iommufd_cdev_unmap() local 49 return iommufd_backend_unmap_dma(container->be, in iommufd_cdev_unmap() 50 container->ioas_id, iova, size); in iommufd_cdev_unmap() 122 const VFIOIOMMUFDContainer *container = in iommufd_set_dirty_page_tracking() local 126 QLIST_FOREACH(hwpt, &container->hwpt_list, next) { in iommufd_set_dirty_page_tracking() 131 if (!iommufd_backend_set_dirty_tracking(container->be, in iommufd_set_dirty_page_tracking() [all …]
|
H A D | container.c | 39 static int vfio_ram_block_discard_disable(VFIOContainer *container, bool state) in vfio_ram_block_discard_disable() argument 41 switch (container->iommu_type) { in vfio_ram_block_discard_disable() 62 static int vfio_dma_unmap_bitmap(const VFIOContainer *container, in vfio_dma_unmap_bitmap() argument 66 const VFIOContainerBase *bcontainer = &container->bcontainer; in vfio_dma_unmap_bitmap() 100 ret = ioctl(container->fd, VFIO_IOMMU_UNMAP_DMA, unmap); in vfio_dma_unmap_bitmap() 122 const VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_legacy_dma_unmap() local 137 return vfio_dma_unmap_bitmap(container, iova, size, iotlb); in vfio_legacy_dma_unmap() 143 while (ioctl(container->fd, VFIO_IOMMU_UNMAP_DMA, &unmap)) { in vfio_legacy_dma_unmap() 157 container->iommu_type == VFIO_TYPE1v2_IOMMU) { in vfio_legacy_dma_unmap() 181 const VFIOContainer *container = container_of(bcontainer, VFIOContainer, in vfio_legacy_dma_map() local [all …]
|
/openbmc/u-boot/tools/ |
H A D | imx8image.c | 13 static int container = -1; variable 48 {CMD_APPEND, "APPEND", "append a container", }, 51 {CMD_CONTAINER, "CONTAINER", "new container", }, 152 fprintf(stdout, "New Container: \t%d\n", ++container); in parse_cfg_fld() 525 static void set_image_array_entry(flash_header_v3_t *container, in set_image_array_entry() argument 535 boot_img_t *img = &container->img[container->num_images]; in set_image_array_entry() 621 container->num_images++; in set_image_array_entry() 622 img = &container->img[container->num_images]; in set_image_array_entry() 639 container->num_images++; in set_image_array_entry() 642 void set_container(flash_header_v3_t *container, uint16_t sw_version, in set_container() argument [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | entity-example.md | 3 If your platform requires the entity container map, you can provide a json file 30 # Container Entity Id and Container Entity Instance = (0x13, 0x81) 35 # Container entity contains other entities 36 # Entity Id and entity Instance for the container entity 44 # entities within a container entity; this record is not linked 56 # Container Entity Id and Container Entity Instance = (0x18, 0x2) 66 # below record have the same container entity Id and container entity 84 # above record have the same container entity Id and container entity 97 # Container Entity Id and Container Entity Instance = (0x1E, 0x1) 117 # Container Entity Id and Container Entity Instance = (0x1E, 0x3) [all …]
|
/openbmc/qemu/include/hw/core/ |
H A D | resetcontainer.h | 2 * Reset container 14 * The "reset container" is an object which implements the Resettable 16 * implement Resettable. Resetting the reset container resets all the 22 #define TYPE_RESETTABLE_CONTAINER "resettable-container" 26 * resettable_container_add: Add a resettable object to the container 27 * @rc: container 28 * @obj: object to add to the container 39 * resettable_container_remove: Remove an object from the container 40 * @rc: container 41 * @obj: object to remove from the container [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | vector.c | 35 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 …]
|
/openbmc/linux/include/uapi/sound/ |
H A D | snd_ar_tokens.h | 19 /* 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 …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | portals.c | 17 void fdt_portal(void *blob, const char *compat, const char *container, in fdt_portal() argument 27 /* if non-zero assume we have a container */ in fdt_portal() 37 printf("ERROR: container for %s has no ranges", compat); in fdt_portal() 59 /* if we are given a container name check it in fdt_portal() 61 if (container && (memcmp(container, name, len))) { in fdt_portal() 62 printf("WARNING: container names didn't match %s %s\n", in fdt_portal() 63 container, name); in fdt_portal() 73 printf("ERROR: %s isn't in a container. Not supported\n", compat); in fdt_portal()
|
/openbmc/qemu/hw/misc/ |
H A D | mchp_pfsoc_ioscb.c | 209 memory_region_init(&s->container, OBJECT(s), in mchp_pfsoc_ioscb_realize() 211 sysbus_init_mmio(sbd, &s->container); in mchp_pfsoc_ioscb_realize() 217 memory_region_add_subregion(&s->container, IOSCB_LANE01_BASE, &s->lane01); in mchp_pfsoc_ioscb_realize() 221 memory_region_add_subregion(&s->container, IOSCB_LANE23_BASE, &s->lane23); in mchp_pfsoc_ioscb_realize() 225 memory_region_add_subregion(&s->container, IOSCB_CTRL_BASE, &s->ctrl); in mchp_pfsoc_ioscb_realize() 229 memory_region_add_subregion(&s->container, IOSCB_QSPIXIP_BASE, &s->qspixip); in mchp_pfsoc_ioscb_realize() 233 memory_region_add_subregion(&s->container, IOSCB_MAILBOX_BASE, &s->mailbox); in mchp_pfsoc_ioscb_realize() 237 memory_region_add_subregion(&s->container, IOSCB_CFG_BASE, &s->cfg); in mchp_pfsoc_ioscb_realize() 241 memory_region_add_subregion(&s->container, IOSCB_CCC_BASE, &s->ccc); in mchp_pfsoc_ioscb_realize() 245 memory_region_add_subregion(&s->container, IOSCB_PLL_MSS_BASE, &s->pll_mss); in mchp_pfsoc_ioscb_realize() [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | vfio.rst | 80 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 …]
|
/openbmc/qemu/docs/devel/ |
H A D | memory.rst | 58 - container: a container simply includes other memory regions, each at 63 A container's subregions are usually non-overlapping. In some cases it is 68 You initialize a pure container with memory_region_init(). 88 It is valid to add subregions to a region which is not a pure container 90 will act like a container, except that any addresses within the container's 92 container itself (ie by its MMIO callbacks or RAM backing). However 93 it is generally possible to achieve the same effect with a pure container 153 container with memory_region_add_subregion(), and removed using 189 object_unparent at any time for an alias or a container region. It is 190 therefore also okay to create or destroy alias and container regions [all …]
|
H A D | vfio-iommufd.rst | 5 (Same meaning for backend/container/BE) 12 To support both interfaces in the QEMU VFIO device, introduce a base container 13 to abstract the common part of VFIO legacy and iommufd container. So that the 14 generic VFIO code can use either container. 16 The base container implements generic functions such as memory_listener and 17 address space management whereas the derived container implements callbacks 18 specific to either legacy or iommufd. Each container has its own way to setup 39 | container | | container | 47 +---------------+ | group/container fd 64 - vfio legacy BE: uses group fd and container fd to setup secure context [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | commsup.c | 1066 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 …]
|