Lines Matching defs:error_out
228 static int ubd_setup_common(char *str, int *index_out, char **error_out)
250 *error_out = "Couldn't parse device number";
254 *error_out = "Device number out of range";
263 *error_out = "Device is already configured";
292 *error_out = "Expected '=' or flag letter "
300 *error_out = "Too many flags specified";
302 *error_out = "Missing '='";
319 *error_out = "Can't specify both 'd' and a cow file";
844 static int ubd_add(int n, char **error_out)
866 *error_out = "Couldn't determine size of device's file";
929 static int ubd_config(char *str, char **error_out)
939 *error_out = "Failed to allocate memory";
943 ret = ubd_setup_common(str, &n, error_out);
953 ret = ubd_add(n, error_out);
966 static int ubd_get_config(char *name, char *str, int size, char **error_out)
973 *error_out = "ubd_get_config : device number out of range";
1008 static int ubd_remove(int n, char **error_out)