Lines Matching defs:error
42 * @error: Optional, only valid if < 0, must be set before calling
43 * dma_fence_signal, indicates that the fence has completed with an error.
95 int error;
177 * &dma_fence.error may be set in enable_signaling, but only when false
204 * May set &dma_fence.error if returning true.
224 * timed out. Can also return other error values on custom implementations,
515 * Drivers can supply an optional error status condition before they signal
516 * the fence (to indicate whether the fence was completed due to an error
519 * the signal state before reporting the error status.
522 * been signaled without an error condition, or a negative error code
528 return fence->error ?: 1;
537 * dma_fence_set_error - flag an error condition on the fence
539 * @error: the error to store
541 * Drivers can supply an optional error status condition before they signal
542 * the fence, to indicate that the fence was completed due to an error
545 * helper exists to help catching erroneous setting of #dma_fence.error.
547 static inline void dma_fence_set_error(struct dma_fence *fence, int error)
550 WARN_ON(error >= 0 || error < -MAX_ERRNO);
552 fence->error = error;
565 * or 0 if the fence was signaled. Other error values may be