Lines Matching +full:current +full:- +full:limit
4 * SPDX-License-Identifier: Apache-2.0
37 int limit; member
66 .limit = _count_limit \
90 * @param limit Maximum permitted semaphore count.
93 * @retval -EINVAL Bad parameters, the value of limit should be located in
94 * (0, INT_MAX] and initial_count shouldn't be greater than limit.
97 unsigned int limit);
108 * @retval -EINVAL Parameter address not recognized.
109 * @retval -EACCES Caller does not have enough access.
110 * @retval -EAGAIN Count reached Maximum permitted count and try again.
124 * @retval -EINVAL Parameter address not recognized.
125 * @retval -ETIMEDOUT Waiting period timed out.
126 * @retval -EACCES Caller does not have enough access.
133 * This routine returns the current value of @a sem.
137 * @return Current value of sys_sem.