Lines Matching defs:error_out
237 static int ubd_setup_common(char *str, int *index_out, char **error_out)
259 *error_out = "Couldn't parse device number";
263 *error_out = "Device number out of range";
272 *error_out = "Device is already configured";
301 *error_out = "Expected '=' or flag letter "
309 *error_out = "Too many flags specified";
311 *error_out = "Missing '='";
328 *error_out = "Can't specify both 'd' and a cow file";
882 static int ubd_add(int n, char **error_out)
893 *error_out = "Couldn't determine size of device's file";
935 static int ubd_config(char *str, char **error_out)
945 *error_out = "Failed to allocate memory";
949 ret = ubd_setup_common(str, &n, error_out);
959 ret = ubd_add(n, error_out);
972 static int ubd_get_config(char *name, char *str, int size, char **error_out)
979 *error_out = "ubd_get_config : device number out of range";
1014 static int ubd_remove(int n, char **error_out)