Searched refs:mapMaxNum (Results 1 – 1 of 1) sorted by relevance
114 UINT16 mapMaxNum = idMap->mapCount; in GetFreeVid() local116 for (i = 0; i < mapMaxNum; i++) { in GetFreeVid()128 mapMaxNum++; in GetFreeVid()129 if (mapMaxNum > VID_MAP_MAX_NUM) { in GetFreeVid()134 tmp = (UINT32*)LOS_MemAlloc(m_aucSysMem0, mapMaxNum * sizeof(UINT32)); in GetFreeVid()140 … (void)memcpy_s(tmp, mapMaxNum * sizeof(UINT32), idMap->bitMap, (mapMaxNum - 1) * sizeof(UINT32)); in GetFreeVid()143 idMap->mapCount = mapMaxNum; in GetFreeVid()154 UINT16 mapMaxNum = idMap->mapCount; in ReleaseVid() local166 if (mapMaxNum > 1) { in ReleaseVid()167 if (idMap->bitMap[mapMaxNum - 1] == 0) { in ReleaseVid()[all …]