Searched refs:limit (Results 1 – 2 of 2) sorted by relevance
64 unsigned int limit = UINT_MAX; in SemaphoreP_create() local69 limit = (params->mode == SemaphoreP_Mode_BINARY) ? 1 : UINT_MAX; in SemaphoreP_create()75 k_sem_init(sem, count, limit); in SemaphoreP_create()140 unsigned int limit = UINT_MAX; in SemaphoreP_construct() local145 limit = (params->mode == SemaphoreP_Mode_BINARY) ? 1 : UINT_MAX; in SemaphoreP_construct()151 k_sem_init(sem, count, limit); in SemaphoreP_construct()
65 unsigned int limit = UINT_MAX; in SemaphoreP_create() local69 limit = (params->mode == SemaphoreP_Mode_BINARY) ? in SemaphoreP_create()75 k_sem_init(sem, count, limit); in SemaphoreP_create()140 unsigned int limit = UINT_MAX; in SemaphoreP_construct() local144 limit = (params->mode == SemaphoreP_Mode_BINARY) ? in SemaphoreP_construct()150 k_sem_init(sem, count, limit); in SemaphoreP_construct()