Lines Matching full:negative

98  * non-negative on success, or a negative error code.  If an error is
243 * independently of whether res is negative as a machine error may
247 * service-specific, but the value shall be non-negative if the
248 * operation succeeded, and negative if the operation failed. If res
249 * is negative ONOFF_FLAG_ERROR will be set in state, but if res is
250 * non-negative ONOFF_FLAG_ERROR may still be set in state.
341 * @retval non-negative the observed state of the machine at the time
362 * @retval non-negative the observed state (ONOFF_STATE_ON) of the
392 * @retval non-negative the observed state of the machine at the time
433 * @retval negative other errors produced by onoff_release().
475 * @retval non-negative the observed state of the machine at the time
509 * service- and state-specific, but the value shall be non-negative if
510 * the operation succeeded, and negative if the operation failed.
546 * @return non-negative on successful addition, or a negative error
560 * @return non-negative on successful removal, or a negative error
580 /** Negative is error, non-negative is reference count. */
595 * @return negative if the service is in an error state, otherwise the
597 * is held on return regardless of whether a negative state is
611 * If the service was in an error state when locked, and @p res is non-negative
625 * @param res the result of the transition. A negative value places the service
626 * into an error state. A non-negative value increments or decrements the
629 * @param on Only when @p res is non-negative, the service reference count will
632 * @return negative if the service is left or put into an error state, otherwise