Searched refs:idMap (Results 1 – 2 of 2) sorted by relevance
113 TimerIdMap *idMap = &processCB->timerIdMap; in GetFreeVid() local114 UINT16 mapMaxNum = idMap->mapCount; in GetFreeVid()117 num = idMap->bitMap[i]; in GetFreeVid()121 idMap->bitMap[i] = num; in GetFreeVid()140 … (void)memcpy_s(tmp, mapMaxNum * sizeof(UINT32), idMap->bitMap, (mapMaxNum - 1) * sizeof(UINT32)); in GetFreeVid()141 LOS_MemFree(m_aucSysMem0, idMap->bitMap); in GetFreeVid()142 idMap->bitMap = tmp; in GetFreeVid()143 idMap->mapCount = mapMaxNum; in GetFreeVid()144 idMap->bitMap[i] = 1; in GetFreeVid()153 TimerIdMap *idMap = &processCB->timerIdMap; in ReleaseVid() local[all …]
216 STATIC INT32 InsertExtent(UidGidMap *idMap, UidGidExtent *extent) in InsertExtent() argument218 if (idMap->extentCount > UID_GID_MAP_MAX_EXTENTS) { in InsertExtent()222 UidGidExtent *dest = &idMap->extent[idMap->extentCount]; in InsertExtent()224 idMap->extentCount++; in InsertExtent()229 STATIC BOOL MappingsOverlap(UidGidMap *idMap, UidGidExtent *extent) in MappingsOverlap() argument237 for (idx = 0; idx < idMap->extentCount; idx++) { in MappingsOverlap()238 if (idMap->extentCount > UID_GID_MAP_MAX_EXTENTS) { in MappingsOverlap()241 UidGidExtent *prev = &idMap->extent[idx]; in MappingsOverlap()