Home
last modified time | relevance | path

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

123456

/kernel/liteos_a/testsuites/unittest/container/
Dconfig.gni36 "$TEST_UNITTEST_DIR/container",
39 sources_entry = [ "$TEST_UNITTEST_DIR/container/It_container_test.cpp" ]
41 sources_smoke = [ "$TEST_UNITTEST_DIR/container/smoke/It_container_001.cpp" ]
47 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_023.cpp",
48 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_025.cpp",
49 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_026.cpp",
50 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_027.cpp",
51 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_028.cpp",
52 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_029.cpp",
53 "$TEST_UNITTEST_DIR/container/smoke/It_pid_container_030.cpp",
[all …]
/kernel/linux/linux-5.10/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 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()
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.c75 struct vfio_container *container; member
282 static void vfio_container_get(struct vfio_container *container) in vfio_container_get() argument
284 kref_get(&container->kref); in vfio_container_get()
289 struct vfio_container *container; in vfio_container_release() local
290 container = container_of(kref, struct vfio_container, kref); in vfio_container_release()
292 kfree(container); in vfio_container_release()
295 static void vfio_container_put(struct vfio_container *container) in vfio_container_put() argument
297 kref_put(&container->kref, vfio_container_release); in vfio_container_put()
958 wait_event(group->container_q, !group->container); in vfio_unregister_group_dev()
980 static long vfio_ioctl_check_extension(struct vfio_container *container, in vfio_ioctl_check_extension() argument
[all …]
/kernel/liteos_a/kernel/extended/container/
Dlos_time_container.c61 TimeContainer *newTimeContainer = parent->container->timeForChildContainer; in CreateTimeContainer()
64 child->container->timeContainer = newTimeContainer; in CreateTimeContainer()
65 child->container->timeForChildContainer = newTimeContainer; in CreateTimeContainer()
88 TimeContainer *currTimeContainer = parent->container->timeContainer; in OsCopyTimeContainer()
90 if (currTimeContainer == parent->container->timeForChildContainer) { in OsCopyTimeContainer()
93 child->container->timeContainer = currTimeContainer; in OsCopyTimeContainer()
94 child->container->timeForChildContainer = currTimeContainer; in OsCopyTimeContainer()
111 newContainer->timeContainer = curr->container->timeContainer; in OsUnshareTimeContainer()
112 newContainer->timeForChildContainer = curr->container->timeForChildContainer; in OsUnshareTimeContainer()
125 TimeContainer *timeForChild = CreateNewTimeContainer(curr->container->timeContainer); in OsUnshareTimeContainer()
[all …]
Dlos_container.c50 processCB->container = &g_rootContainer; in OsContainerInitSystemProcess()
54 LOS_AtomicInc(&processCB->container->rc); in OsContainerInitSystemProcess()
56 …(VOID)OsAllocSpecifiedVpidUnsafe(processCB->processID, processCB->container->pidContainer, process… in OsContainerInitSystemProcess()
243 Container *container = (Container *)LOS_MemAlloc(m_aucSysMem1, sizeof(Container)); in CreateContainer() local
244 if (container == NULL) { in CreateContainer()
248 (VOID)memset_s(container, sizeof(Container), 0, sizeof(Container)); in CreateContainer()
250 LOS_AtomicInc(&container->rc); in CreateContainer()
251 return container; in CreateContainer()
344 if (parent->container->pidContainer != parent->container->pidForChildContainer) { in OsCopyContainers()
349 if (parent->container->timeContainer != parent->container->timeForChildContainer) { in OsCopyContainers()
[all …]
Dlos_pid_container.c45 PidContainer *pidContainer = processCB->container->pidContainer; in FreeVpid()
63 if (pidContainer == processCB->container->pidContainer) { in FreeVpid()
64 processCB->container->pidContainer = NULL; in FreeVpid()
134 PidContainer *pidContainer = processCB->container->pidContainer; in OsAllocVpid()
189 PidContainer *pidContainer = processCB->container->pidContainer; in OsAllocVtid()
222 PidContainer *pidContainer = curr->container->pidContainer; in OsPidContainerDestroyAllProcess()
295 VOID OsPidContainerDestroy(Container *container, LosProcessCB *processCB) in OsPidContainerDestroy() argument
297 if (container == NULL) { in OsPidContainerDestroy()
301 PidContainer *pidContainer = container->pidContainer; in OsPidContainerDestroy()
310 …if ((container->pidForChildContainer != NULL) && (pidContainer != container->pidForChildContainer)… in OsPidContainerDestroy()
[all …]
Dlos_uts_container.c94 UtsContainer *parentContainer = parent->container->utsContainer; in CreateUtsContainer()
104 child->container->utsContainer = newUtsContainer; in CreateUtsContainer()
127 UtsContainer *currUtsContainer = parent->container->utsContainer; in OsCopyUtsContainer()
132 child->container->utsContainer = currUtsContainer; in OsCopyUtsContainer()
147 UtsContainer *parentContainer = curr->container->utsContainer; in OsUnshareUtsContainer()
175 UINT32 OsSetNsUtsContainer(UINT32 flags, Container *container, Container *newContainer) in OsSetNsUtsContainer() argument
178 newContainer->utsContainer = container->utsContainer; in OsSetNsUtsContainer()
179 LOS_AtomicInc(&container->utsContainer->rc); in OsSetNsUtsContainer()
183 newContainer->utsContainer = OsCurrProcessGet()->container->utsContainer; in OsSetNsUtsContainer()
188 VOID OsUtsContainerDestroy(Container *container) in OsUtsContainerDestroy() argument
[all …]
Dlos_mnt_container.c44 return &OsCurrProcessGet()->container->mntContainer->mountList; in GetContainerMntList()
67 MntContainer *parentContainer = parent->container->mntContainer; in CreateMntContainer()
75 child->container->mntContainer = newMntContainer; in CreateMntContainer()
117 MntContainer *currMntContainer = parent->container->mntContainer; in OsCopyMntContainer()
122 child->container->mntContainer = currMntContainer; in OsCopyMntContainer()
136 return CopyMountList(currMntContainer, child->container->mntContainer); in OsCopyMntContainer()
143 MntContainer *parentContainer = curr->container->mntContainer; in OsUnshareMntContainer()
175 UINT32 OsSetNsMntContainer(UINT32 flags, Container *container, Container *newContainer) in OsSetNsMntContainer() argument
178 newContainer->mntContainer = container->mntContainer; in OsSetNsMntContainer()
179 LOS_AtomicInc(&container->mntContainer->rc); in OsSetNsMntContainer()
[all …]
Dlos_ipc_container.c83 IpcContainer *parentContainer = parent->container->ipcContainer; in CreateIpcContainer()
91 child->container->ipcContainer = newIpcContainer; in CreateIpcContainer()
114 IpcContainer *currIpcContainer = parent->container->ipcContainer; in OsCopyIpcContainer()
119 child->container->ipcContainer = currIpcContainer; in OsCopyIpcContainer()
134 IpcContainer *parentContainer = curr->container->ipcContainer; in OsUnshareIpcContainer()
160 UINT32 OsSetNsIpcContainer(UINT32 flags, Container *container, Container *newContainer) in OsSetNsIpcContainer() argument
163 newContainer->ipcContainer = container->ipcContainer; in OsSetNsIpcContainer()
164 LOS_AtomicInc(&container->ipcContainer->rc); in OsSetNsIpcContainer()
168 newContainer->ipcContainer = OsCurrProcessGet()->container->ipcContainer; in OsSetNsIpcContainer()
173 VOID OsIpcContainerDestroy(Container *container) in OsIpcContainerDestroy() argument
[all …]
Dlos_net_container.c149 VOID OsNetContainerDestroy(Container *container) in OsNetContainerDestroy() argument
152 if (container == NULL) { in OsNetContainerDestroy()
157 NetContainer *netContainer = container->netContainer; in OsNetContainerDestroy()
172 container->netContainer = NULL; in OsNetContainerDestroy()
196 STATIC UINT32 CreateNetContainer(Container *container, NetContainer *parentContainer) in CreateNetContainer() argument
219 container->netContainer = newNetContainer; in CreateNetContainer()
227 NetContainer *currNetContainer = parent->container->netContainer; in OsCopyNetContainer()
232 child->container->netContainer = currNetContainer; in OsCopyNetContainer()
241 return CreateNetContainer(child->container, currNetContainer); in OsCopyNetContainer()
247 NetContainer *parentContainer = curr->container->netContainer; in OsUnshareNetContainer()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dcommsup.c1066 u32 channel, id, lun, container; in aac_handle_aif() local
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()
1106 lun = (container >> 16) & 0xFF; in aac_handle_aif()
[all …]
/kernel/liteos_a/kernel/base/include/
Dlos_pid_container_pri.h66 #define OS_PID_CONTAINER_FROM_PCB(processCB) ((processCB)->container->pidContainer)
71 ((processCB)->container->pidContainer != (currProcessCB)->container->pidContainer)
74 (((processCB)->container->pidContainer != (processCB)->container->pidForChildContainer) && \
75 ((processCB)->container->pidForChildContainer->referenced == FALSE))
82 VOID OsPidContainerDestroy(struct Container *container, LosProcessCB *processCB);
88 UINT32 OsSetNsPidContainer(UINT32 flags, struct Container *container, struct Container *newContaine…
Dlos_net_container_pri.h54 UINT32 OsSetNsNetContainer(UINT32 flags, struct Container *container, struct Container *newContaine…
56 VOID OsNetContainerDestroy(struct Container *container);
Dlos_uts_container_pri.h55 UINT32 OsSetNsUtsContainer(UINT32 flags, struct Container *container, struct Container *newContaine…
57 VOID OsUtsContainerDestroy(struct Container *container);
Dlos_mnt_container_pri.h58 UINT32 OsSetNsMntContainer(UINT32 flags, struct Container *container, struct Container *newContaine…
60 VOID OsMntContainerDestroy(struct Container *container);
Dlos_time_container_pri.h53 UINT32 OsSetNsTimeContainer(UINT32 flags, struct Container *container, struct Container *newContain…
55 VOID OsTimeContainerDestroy(struct Container *container);
/kernel/linux/linux-5.10/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
/kernel/liteos_a/kernel/extended/
DKconfig117 ######################### config options of container ####################
119 bool "Enable container Feature"
124 bool "Enable pid container Feature"
129 bool "Enable uts container Feature"
134 bool "Enable mnt container Feature"
144 bool "Enable ipc container Feature"
149 bool "Enable time container"
154 bool "Enable user container"
159 bool "Enable net container"
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c304 ast_vhub_str_of_container(struct usb_gadget_string_container *container) in ast_vhub_str_of_container() argument
306 return (struct usb_gadget_strings *)container->stash; in ast_vhub_str_of_container()
314 struct usb_gadget_string_container *container; in ast_vhub_collect_languages() local
320 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_collect_languages()
324 lang_str = ast_vhub_str_of_container(container); in ast_vhub_collect_languages()
339 struct usb_gadget_string_container *container; in ast_vhub_lookup_string() local
341 list_for_each_entry(container, &vhub->vhub_str_desc, list) { in ast_vhub_lookup_string()
342 lang_str = ast_vhub_str_of_container(container); in ast_vhub_lookup_string()
911 struct usb_gadget_string_container *container; in ast_vhub_str_container_alloc() local
913 size = sizeof(*container); in ast_vhub_str_container_alloc()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/base/
Dtransport_class.c94 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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dsky81452.txt8 - backlight : container node for backlight following the binding
10 - regulator : container node for regulators following the binding

123456