Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 3 of 3) sorted by relevance

/kernel/liteos_a/kernel/extended/plimit/
Dlos_plimits.c251 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT32); in OsPLimitsPidsGet() local
252 if ((plimits == NULL) || (pids == NULL) || (size < minSize)) { in OsPLimitsPidsGet()
370 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT64) + sizeof(ProcMemLimiter); in OsPLimitsMemUsageGet() local
373 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsMemUsageGet()
415 UINT32 minSize = LOS_GetSystemProcessMaximum() * sizeof(UINT64); in OsPLimitsSchedUsageGet() local
416 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsSchedUsageGet()
/kernel/liteos_a/fs/fat/virpart/src/
Dvirpart.c111 UINT minSize; in los_set_virpartparam() local
153minSize = 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()
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c293 unsigned int minSize, dstNameSize; in VfsProcfsReaddir() local
324 minSize = (dstNameSize < NAME_MAX) ? dstNameSize : NAME_MAX; in VfsProcfsReaddir()
325 result = strncpy_s(dir->fd_dir[i].d_name, dstNameSize, buffer, minSize); in VfsProcfsReaddir()