Lines Matching defs:error_out
271 static int ubd_setup_common(char *str, int *index_out, char **error_out)
293 *error_out = "Didn't parse major number";
299 *error_out = "Can't assign a fake major twice";
315 *error_out = "Couldn't parse device number";
319 *error_out = "Device number out of range";
328 *error_out = "Device is already configured";
357 *error_out = "Expected '=' or flag letter "
365 *error_out = "Too many flags specified";
367 *error_out = "Missing '='";
378 *error_out = "Can't specify both 'd' and a cow file";
914 static int ubd_add(int n, char **error_out)
924 *error_out = "Couldn't determine size of device's file";
954 *error_out = "Failed to register device";
980 static int ubd_config(char *str, char **error_out)
990 *error_out = "Failed to allocate memory";
994 ret = ubd_setup_common(str, &n, error_out);
1004 ret = ubd_add(n, error_out);
1017 static int ubd_get_config(char *name, char *str, int size, char **error_out)
1024 *error_out = "ubd_get_config : device number out of range";
1059 static int ubd_remove(int n, char **error_out)