static int32_t rmemwrite(Chan*_, void *a, int32_t n, int64_t off) { return rmemrw(0, a, n, off); }
static long rmemwrite(struct chan *unused, void *a, long n, int64_t off) { return rmemrw(0, a, n, off); }
static int32_t rmemread(Chan*_, void *a, int32_t n, int64_t off) { return rmemrw(1, a, n, off); }
static long rmemread(struct chan *unused, void *a, long n, int64_t off) { return rmemrw(1, a, n, off); }