Lines Matching refs:ESR_SUCCESS
70 * @return ESR_SUCCESS if success, otherwise a status code indicating the
82 * @return ESR_SUCCESS if success, otherwise a status code indicating the nature of the error.
131 * @return ESR_SUCCESS if success, otherwise a status code indicating the
157 * @return ESR_SUCCESS if success, otherwise a status code indicating the
171 * @return ESR_SUCCESS if success, otherwise a status code indicating the
182 * @return ESR_SUCCESS if success, otherwise a status code indicating the
194 * @return ESR_SUCCESS if success, otherwise a status code indicating the
205 * @return ESR_SUCCESS if success, otherwise a status code indicating the
216 * @return ESR_SUCCESS if success, otherwise a status code indicating the
230 * @return ESR_SUCCESS if success, otherwise a status code indicating the
243 * @return ESR_SUCCESS if success, otherwise a status code indicating the
257 #define CHKLOG(rc, function) do { rc = (function); if (rc != ESR_SUCCESS) { PLogError("%s in %s:%d", ESR_rc2str(rc), __FILE__, __LINE__); goto CLEANUP; } } while (0)
259 * Invokes the function with args and if it is not ESR_SUCCESS, logs and
266 #define PLOG_CHKRC_ARGS(rc, function, args) do { if((rc = (function args)) != ESR_SUCCESS) { PLogError(ESR_rc2str(rc)); return rc; } } while (0)
269 * Checks the function return-code and if it is not ESR_SUCCESS, logs and
272 #define PLOG_CHKRC(rc, function) do { rc = (function); if (rc != ESR_SUCCESS) { PLogError(rc); return rc; } } while (0)
300 if (rc==ESR_SUCCESS) \
315 if (rc2==ESR_SUCCESS) \