Home
last modified time | relevance | path

Searched refs:maxCount (Results 1 - 8 of 8) sorted by relevance

/kernel/liteos_a/arch/arm/arm/src/
H A Dstrncpy_from_user.c41 INT32 maxCount; in LOS_StrncpyFromUser() local
48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrncpyFromUser()
51 for (i = 0; i < maxCount; ++i) { in LOS_StrncpyFromUser()
H A Dstrnlen_user.c40 INT32 maxCount; in LOS_StrnlenUser() local
48 maxCount = (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)src, (size_t)count)) ? \ in LOS_StrnlenUser()
51 for (i = 0; i < maxCount; ++i) { in LOS_StrnlenUser()
/kernel/liteos_a/kernel/base/ipc/
H A Dlos_sem.c84 * maxCount --- Max number of available semaphores,
88 LITE_OS_SEC_TEXT_INIT UINT32 OsSemCreate(UINT16 count, UINT16 maxCount, UINT32 *semHandle) in OsSemCreate() argument
100 if (count > maxCount) { in OsSemCreate()
118 semCreated->maxSemCount = maxCount; in OsSemCreate()
/kernel/liteos_m/kernel/src/
H A Dlos_sem.c83 : maxCount --- Max semaphore count for check
87 LITE_OS_SEC_TEXT_INIT UINT32 OsSemCreate(UINT16 count, UINT16 maxCount, UINT32 *semHandle) in OsSemCreate() argument
99 if (count > maxCount) { in OsSemCreate()
115 semCreated->maxSemCount = maxCount; in OsSemCreate()
/kernel/liteos_m/kal/cmsis/
H A Dhos_cmsis_adp.h46 UINT32 maxCount; member
/kernel/liteos_m/kernel/include/
H A Dlos_sem.h375 * @param maxCount [IN]Type #UINT16 Max semaphore count.
383 UINT32 OsSemCreate(UINT16 count, UINT16 maxCount, UINT32 *semHandle);
/kernel/linux/linux-5.10/lib/zstd/
H A Dhuf_compress.c116 CHECK_V_F(maxCount, FSE_count_simple(count, &maxSymbolValue, weightTable, wtSize)); in HUF_compressWeights_wksp()
117 if (maxCount == wtSize) in HUF_compressWeights_wksp()
119 if (maxCount == 1) in HUF_compressWeights_wksp()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dhuf_compress.c105 { unsigned const maxCount = HIST_count_simple(wksp->count, &maxSymbolValue, weightTable, wtSize); /* never fails */ in HUF_compressWeights() local
106 if (maxCount == wtSize) return 1; /* only a single symbol in src : rle */ in HUF_compressWeights()
107 if (maxCount == 1) return 0; /* each symbol present maximum once => not compressible */ in HUF_compressWeights()

Completed in 7 milliseconds