Lines Matching refs:result
21 if ((completion->result != VDO_SUCCESS) && (completion->error_handler != NULL)) {
29 void vdo_set_completion_result(struct vdo_completion *completion, int result);
40 completion->result = VDO_SUCCESS;
57 * @result: The current result (will not mask older errors).
59 * Continue processing a completion by setting the current result and calling
62 static inline void vdo_continue_completion(struct vdo_completion *completion, int result)
64 vdo_set_completion_result(completion, result);
71 * vdo_fail_completion() - Set the result of a completion if it does not already have an error,
74 static inline void vdo_fail_completion(struct vdo_completion *completion, int result)
76 vdo_set_completion_result(completion, result);