Home
last modified time | relevance | path

Searched refs:utsContainer (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/kernel/extended/container/
Dlos_uts_container.c71 UtsContainer *utsContainer = (UtsContainer *)LOS_MemAlloc(m_aucSysMem1, size); in CreateNewUtsContainer() local
72 if (utsContainer == NULL) { in CreateNewUtsContainer()
75 (VOID)memset_s(utsContainer, sizeof(UtsContainer), 0, sizeof(UtsContainer)); in CreateNewUtsContainer()
77 utsContainer->containerID = OsAllocContainerID(); in CreateNewUtsContainer()
79 LOS_AtomicSet(&utsContainer->rc, 1); in CreateNewUtsContainer()
80 return utsContainer; in CreateNewUtsContainer()
82 LOS_AtomicSet(&utsContainer->rc, 3); /* 3: Three system processes */ in CreateNewUtsContainer()
83 ret = InitUtsContainer(&utsContainer->utsName); in CreateNewUtsContainer()
85 (VOID)LOS_MemFree(m_aucSysMem1, utsContainer); in CreateNewUtsContainer()
88 return utsContainer; in CreateNewUtsContainer()
[all …]
Dlos_container.c219 (VOID)OsInitRootUtsContainer(&g_rootContainer.utsContainer); in OsInitRootContainer()
488 return OsGetUtsContainerID(container->utsContainer); in OsGetContainerID()
/kernel/liteos_a/kernel/base/include/
Dlos_uts_container_pri.h49 UINT32 OsInitRootUtsContainer(UtsContainer **utsContainer);
61 UINT32 OsGetUtsContainerID(UtsContainer *utsContainer);
Dlos_container_pri.h79 struct UtsContainer *utsContainer; member