Lines Matching full:function
28 * - Separation of concerns: the function is responsible for detecting
31 * function should not examine it.
33 * - The function may pass @errp to functions it calls to pass on
37 * - On success, the function should not touch *errp. On failure, it
80 * Call a function ignoring errors:
87 * Call a function aborting on errors:
94 * Call a function treating errors as fatal:
119 * Call a function, receive an error from it, and pass it to the caller
120 * - when the function returns a value that indicates failure, say
125 * - when it does not, say because it is a void function:
152 * - when the function returns a value that indicates failure, say
158 * - when it does not, say because it is a void function:
214 * To use ERRP_GUARD(), add it right at the beginning of the function.
223 * To convert a function to use ERRP_GUARD():
229 * beginning of the function. This makes @errp safe to use.
331 * function call) will be preserved.
420 * Convenience function to report open() failure.
443 * Convenience function to assert that *@errp is set, then silently free it.
448 * Convenience function to warn_report() and free @err.
454 * Convenience function to error_report() and free @err.
460 * Convenience function to error_prepend(), warn_report() and free @err.
466 * Convenience function to error_prepend(), error_report() and free @err.
499 * This macro is for use right at the beginning of a function that
503 * It must be used when the function dereferences @errp or passes
510 * original @errp on function exit.