search for: ddrescue_load

Displaying 1 result from an estimated 1 matches for "ddrescue_load".

Did you mean: ddrescue_unload
2020 May 01
1
[PATCH] WIP: ddrescue mapfile filter
...length; + map.ranges[i].status = status; + } + + nbdkit_debug ("%s: range: 0x%" PRIx64 " 0x%" PRIx64 " '%c'", filename, offset, length, status); + } + } + + ret = 0; + + out: + if (fp) + fclose (fp); + return ret; +} + + +static void +ddrescue_load (void) +{ +} + +/* On unload, free the sparse array. */ +static void +ddrescue_unload (void) +{ + free (map.ranges); + map.ranges = NULL; + map.ranges_count = 0; +} + +static int +ddrescue_config (nbdkit_next_config *next, void *nxdata, + const char *key, const char *value) +{ +...