wd_trim
result = wd_trim(wd, bno + done, amount);
static int wd_trim(struct wd_softc *, daddr_t, long);