Searched refs:minSize (Results 1 – 3 of 3) sorted by relevance
251 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT32); in OsPLimitsPidsGet() local252 if ((plimits == NULL) || (pids == NULL) || (size < minSize)) { in OsPLimitsPidsGet()370 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT64) + sizeof(ProcMemLimiter); in OsPLimitsMemUsageGet() local373 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsMemUsageGet()415 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT64); in OsPLimitsSchedUsageGet() local416 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsSchedUsageGet()
111 UINT minSize; in los_set_virpartparam() local153 …minSize = dstNameSize < strlen(virtualinfo.devpartpath) ? dstNameSize : strlen(virtualinfo.devpart… in los_set_virpartparam()154 …t = strncpy_s(g_fatVirPart.virtualinfo.devpartpath, dstNameSize, virtualinfo.devpartpath, minSize); in los_set_virpartparam()
293 unsigned int minSize, dstNameSize; in VfsProcfsReaddir() local324 minSize = (dstNameSize < NAME_MAX) ? dstNameSize : NAME_MAX; in VfsProcfsReaddir()325 result = strncpy_s(dir->fd_dir[i].d_name, dstNameSize, buffer, minSize); in VfsProcfsReaddir()